[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss + MS Sql server 2005: 'nvl' is not a recognized built-
Hi All, We have been trying to configure JBoss to use MS Sql server 2005 from our application. Technology we used in our application is hibernate. We are now able to access our application, but while loading some objects in one of screens, it is showing a error Caused by: java.sql.SQLException: 'nvl' is not a recognized built-in function name. what more need to be configured to make it use such functions. -- following is the ds config we used. local-tx-datasource jndi-nameapplDS/jndi-name connection-urljdbc:jtds:sqlserver://common:3403;instanceName=RESEARCH;databaseName=prdName/connection-url driver-classnet.sourceforge.jtds.jdbc.Driver/driver-class use-java-contextfalse/use-java-context user-namemyName/user-name myPwd type-mappingMS SQLSERVER2005/type-mapping /local-tx-datasource -- View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168353#4168353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Jboss Crash: AJP / mod_jk / Apache
Hi, I have a Problem with the AJP connector and Jboss. Everytime I restart Apache or one of my Cron-Jobs reconfigures and restarts Apache, Jboss shutsdown/crashes. With Jboss 4.2.0 jboss simply crashed (without any log-output), now with 4.2.3 I see the shutdown in the logs: | 06:25:05,462 INFO [Server] Runtime shutdown hook called, forceHalt: true | 06:25:05,463 INFO [Server] JBoss SHUTDOWN: Undeploying all packages | . | I tried it with and without the JBoss Natives, but it is always the same. Here is my configuration: Debian 4.0 Java 6.0 beta 6 Jboss 4.2.3 Apache 2.2.3-4+etch4 mod_jk 1.2.18-3etch1 Jboss Server.xml: | Listener className=org.apache.catalina.core.AprLifecycleListener SSLEngine=on / | Listener className=org.apache.catalina.core.JasperListener / |Service name=jboss.web | Connector port=8009 address=localhost maxThreads=250 minSpareThreads=25 maxSpareThreads=75 | emptySessionPath=true enableLookups=false redirectPort=8443 protocol=AJP/1.3 | / | Engine name=jboss.web defaultHost=localhost jvmRoute=jboss | ... | mod_jk configuration jk_load: anonymous wrote : | # Load mod_jk module | # Specify the filename of the mod_jk lib | LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so | | # Where to find workers.properties | JkWorkersFile /etc/apache2/worker.properties | | # Where to put jk logs | JkLogFile /var/log/apache2/mod_jk.log | | # Set the jk log level [debug/error/info] | JkLogLevel info | | # Select the log format | JkLogStampFormat [%a %b %d %H:%M:%S %Y] | | # JkOptions indicates to send SSK KEY SIZE | # Note: Changed from +ForwardURICompat. | # See http://tomcat.apache.org/security-jk.html | JkOptions +ForwardKeySize +ForwardURICompatUnparsed -ForwardDirectories | | # JkRequestLogFormat | JkRequestLogFormat %w %V %T | | # Mount your applications | | # You can use external file for mount points. | # It will be checked for updates each 60 seconds. | # The format of the file is: /url=worker | # /examples/*=loadbalancer | JkMountFile /etc/apache2/uriworkermap.properties | | # Add shared memory. | # This directive is present with 1.2.10 and | # later versions of mod_jk, and is needed for | # for load balancing to work properly | # Note: Replaced JkShmFile logs/jk.shm due to SELinux issues. Refer to | # https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225452 | JkShmFile run/jk.shm | | # Add jkstatus for managing runtime data | Location /jkstatus/ | JkMount status | Order deny,allow | Deny from all | Allow from 127.0.0.1 | | mod_jk workoer.properties: anonymous wrote : | worker.list=jboss,status | worker.jboss.port=8009 | worker.jboss.host=localhost | worker.jboss.type=ajp13 | #worker.jboss.lbfactor=1 | | # Status worker for managing load balancer | worker.status.type=status | mod_jk uiwrokermap: anonymous wrote : | /hai=jboss | /hai/*=jboss | /haim=jboss | /haim/*=jboss | ... | Hope anyone can help, thx in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168354#4168354 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss 4.2.0 SOAP Exception:Could not transmit message
11:56:56,671 ERROR [STDERR] javax.xml.soap.SOAPException: java.io.IOException: Could not transmit message 11:56:56,671 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:115) 11:56:56,671 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:66) 11:56:56,671 ERROR [STDERR] at com.osit.service.DIDXService.invokeDIDXServer(DIDXService.java:96) 11:56:56,671 ERROR [STDERR] at com.osit.service.DIDXService.getAvailableCountries(DIDXService.java:131) 11:56:56,671 ERROR [STDERR] at com.osit.delegate.DIDXDelegate.getAvailableCountries(DIDXDelegate.java:13) 11:56:56,671 ERROR [STDERR] at com.osit.controller.DIDXController.formBackingObject(DIDXController.java:34) 11:56:56,671 ERROR [STDERR] at org.springframework.web.servlet.mvc.AbstractFormController.getCommand(AbstractFormController.java:416) 11:56:56,671 ERROR [STDERR] at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:247) 11:56:56,671 ERROR [STDERR] at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) 11:56:56,671 ERROR [STDERR] at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48) 11:56:56,671 ERROR [STDERR] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:857) 11:56:56,671 ERROR [STDERR] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792) 11:56:56,671 ERROR [STDERR] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475) 11:56:56,671 ERROR [STDERR] at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:440) 11:56:56,671 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) 11:56:56,671 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) 11:56:56,671 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 11:56:56,671 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 11:56:56,671 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 11:56:56,671 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 11:56:56,671 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) 11:56:56,671 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) 11:56:56,671 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) 11:56:56,671 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) 11:56:56,687 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) 11:56:56,687 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) 11:56:56,687 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 11:56:56,687 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) 11:56:56,687 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) 11:56:56,687 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) 11:56:56,687 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) 11:56:56,687 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) 11:56:56,687 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) 11:56:56,687 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) 11:56:56,687 ERROR [STDERR] Caused by: java.io.IOException: Could not transmit message 11:56:56,687 ERROR [STDERR] at org.jboss.ws.core.client.RemotingConnectionImpl.invoke(RemotingConnectionImpl.java:204) 11:56:56,687 ERROR [STDERR] at org.jboss.ws.core.client.SOAPRemotingConnection.invoke(SOAPRemotingConnection.java:77) 11:56:56,687 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:106) 11:56:56,687 ERROR [STDERR] ... 33 more 11:56:56,687 ERROR [STDERR] Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker. 11:56:56,687 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:333) 11:56:56,687 ERROR [STDERR] at
[jboss-user] [Clustering/JBoss] - Re: Two-Node Cluster UDP OutOfMemoryError
Hi I think it might me useful, lets take a glance at this ï To solve âOutofMemoryException:Max GenSpace Exceptionâ in Jboss l server: http://www.innoq.com/blog/sp/2008/01/jboss_as_42x_and_javalangoutof.html see this link and edit the run.bat in windows of conf.run in Unix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168357#4168357 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Log: JBoss + MS Sql server 2005: 'nvl' is not a recognized b
Adding full log info: 2008-08-04 12:05:30,613 INFO [STDOUT] Caused by: org.hibernate.exception.GenericJDBCException: could not execute query 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.loader.Loader.doList(Loader.java:1565) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.loader.Loader.list(Loader.java:1545) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:271) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.impl.SessionImpl.list(SessionImpl.java:840) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74) 2008-08-04 12:05:30,613 INFO [STDOUT] at com.dcs.applications.service.LogicModuleServiceBean.getDisplayValueForValueObjectWithLocaleData(LogicModuleServiceBean.java:2228) 2008-08-04 12:05:30,613 INFO [STDOUT] at com.dcs.applications.service.LogicModuleServiceBean.getDisplayValueForValueObject(LogicModuleServiceBean.java:2157) 2008-08-04 12:05:30,613 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor298.invoke(Unknown Source) 2008-08-04 12:05:30,613 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2008-08-04 12:05:30,613 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.jboss.invocation.Invocation.performCall(Invocation.java:345) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:130) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) 2008-08-04 12:05:30,613 INFO [STDOUT] ... 59 more 2008-08-04 12:05:30,613 INFO [STDOUT] Caused by: java.sql.SQLException: 'nvl' is not a recognized built-in function name. 2008-08-04 12:05:30,613 INFO [STDOUT] at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:365) 2008-08-04 12:05:30,613 INFO [STDOUT] at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2781) 2008-08-04 12:05:30,613 INFO [STDOUT] at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2224) 2008-08-04 12:05:30,613 INFO [STDOUT] at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:628) 2008-08-04 12:05:30,613 INFO [STDOUT] at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:418) 2008-08-04 12:05:30,613 INFO [STDOUT] at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeQuery(JtdsPreparedStatement.java:693) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:296) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:118) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.loader.Loader.getResultSet(Loader.java:1239) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.loader.Loader.doQuery(Loader.java:374) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:210) 2008-08-04 12:05:30,613 INFO [STDOUT] at org.hibernate.loader.Loader.doList(Loader.java:1562) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168358#4168358 Reply to the post :
[jboss-user] [JBossWS] - Re: jbossws 1.2.1: wsconsume OutOfMemoryError
Hi see this ï To solve âOutofMemoryException:Max GenSpace Exceptionâ in Jboss portal server: http://www.innoq.com/blog/sp/2008/01/jboss_as_42x_and_javalangoutof.html see this link and edit the run.bat in windows of conf.run in Unix might be useful View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168359#4168359 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: All messages are not consumed in Clustered environment.
You already posted this here: http://www.jboss.com/index.html?module=bbop=viewtopict=139256 The last comment on the original thread was Please post a simple Java test that we can run that demonstrates the problem. We're still waiting for that. Do not repost/crosspost or I will delete your posts. You have been warned! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168362#4168362 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Problem with SPNEGO Negotiation
Hi Darran I checked again and indeed it was the wrong case. Now it works. what's weird: the principal is [EMAIL PROTECTED], but my windows login is hausberger which is lowercase h. where does the upper case come frome? Active Directoy? Claus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168363#4168363 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - WS-RM Exception: cannot be cast to org.jboss.ws.core.StubExt
Hi, I'm running the example found at: http://jbws.dyndns.org/mediawiki/index.php?title=Native_WS-ReliableMessaging_Tutorial I'm able to deploy the WS, but when I try to run the sample client: http://jbws.dyndns.org/mediawiki/index.php?title=Native_WS-ReliableMessaging_Tutorial#Updating_Client_Code_to_Reference_Custom_JAX-WS_Config_File_and_Close_the_Sequence I get the following exception: anonymous wrote : Exception in thread main java.lang.ClassCastException: $Proxy25 cannot be cast to org.jboss.ws.core.StubExt at the line: ((StubExt)proxy).setConfigName(Standard Anonymous WSRM Client, META-INF/wsrm-jaxws-client-config.xml); | FYI, when I run the client with this line commented out, I get a fault from the service that I'm not using WS-RM: anonymous wrote : Exception in thread main javax.xml.ws.soap.SOAPFaultException: java.lang.IllegalStateException: RM handler was not able to find WS-RM message in the payload So the service seems to be configured fine, but I am unable to get the client to add WS-RM appropriately. Any ideas? I'm using: -jboss-4.2.3.GA -jbossws-native-3.0.2.GA Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168364#4168364 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Problem with SPNEGO Negotiation
I found it. I blame Windows! My Windows username is Hausberger, but I can also login into Windows with all lowercase and so I thought this must be the right principal name. I had no idea that Windows is not case sensitive here. thanks again for all your help and your work in JBoss Negotiation. It's an awesome tool. Claus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168365#4168365 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
Can you copy/paste your client code here? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168368#4168368 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
Here is the full stack trace: anonymous wrote : Exception in thread main java.lang.ClassCastException: $Proxy25 cannot be cast to org.jboss.ws.core.StubExt | at org.jboss.test.ws.jaxws.samples.wsrm.client.SimpleServiceTestCase.main(SimpleServiceTestCase.java:30) | Line 30 is: ((StubExt)proxy).setConfigName(Standard Anonymous WSRM Client, META-INF/wsrm-jaxws-client-config.xml); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168380#4168380 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Problem with SPNEGO Negotiation
another question: Currently our systems works like this: We set an apache in front of JBoss and use Basic authentification. If the users goes straight to the JBoss Webserver without going over Apache, a login formular is presentet. To check this, the software checks the HTTP header if Basis authentification was done and if not presents the login formular. We now plan to to the same with SPNEGO. That is, if SPNEGO works, no login formular will be shown. If SPNEGO fails or is not available, the login formular should be shown. Is there a way to check in the HTTP Header if SPNEGO was successful or done at all? Claus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168370#4168370 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deploying ZIP/JAR files issue
The ZIP/JARS I try to deploy are valid formats and I can easily open it with other tools View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168371#4168371 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Jboss Crash: AJP / mod_jk / Apache
Run dmesg when jboss crashes. May be the oom-killer is killing your jboss due to memory usage. Chcek syslog View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168383#4168383 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - How to access EJB from Portlet
Hi all, i tried to access EJB from a portlet. I have had accessed ejb from servlet in jboss but with the similar code in portlet, it throws some errors as ClassCastException..as ERROR Cause: java.lang.ClassCastException: $Proxy287 cannot be cast to lesson.stateless.HelloWorld Message: $Proxy287 cannot be cast to lesson.stateless.HelloWorld StackTrace: java.lang.ClassCastException: $Proxy287 cannot be cast to lesson.stateless.HelloWorld at ejb.portlet.EJBPortlet.doView(EJBPortlet.java:30) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133) at javax.portlet.GenericPortlet.render(GenericPortlet.java:306) at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483) at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405) at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:80) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:46) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
Are you using jbossws only libs? What is your client classpath? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168385#4168385 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
I'm wondering if the wsconsume didn't run properly? I ran it twice: First with a non-WS-Policy wsdl Second with WS-Policy wsdl Both generated the same files. Is that correct? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168386#4168386 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Using DES with DatabaseServerLoginModule
Hi, is using DES with DatabaseServerLoginModule possible? I have DES encrypted passwords in a legacy database but its giving me NoSuchAlgorithmException when I specify DES. I tried adding BouncyCastle as provider to my JRE but I keep getting the same error message. thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168376#4168376 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168376 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: .ear priority deployment
Hi, I have 2 solutions for you : - you can easily extend the JBoss DeploymentSorter. Then declare the new class in jboss-service.xml in URLComparator. - you can define dependencies between jmx names. You can say for example that the war needs an ejb or an ear or a sar. There is only one limitation : you can't define a dependency deployement for an ear. But you can set a jmx-name so that others can depends on this ear. Example : in you war's jboss-web.xml, you can set jboss-web myservice:service=OwnService /jboss-web In this case, you war won't deploy until OwnService is deployed. Vincent View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168379#4168379 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
Sure: Here is my client code: package org.jboss.test.ws.jaxws.samples.wsrm.client; | | import java.net.URL; | import javax.xml.namespace.QName; | import javax.xml.ws.Service; | import org.jboss.ws.core.StubExt; | import org.jboss.ws.extensions.wsrm.api.RMProvider; | | import org.jboss.test.ws.jaxws.samples.wsrm.generated.SimpleService; | | | public final class SimpleServiceTestCase | { | |private static final String serviceURL = http://localhost:8080/jaxws-samples-wsrm/SimpleService;; | |public static void main(String[] args) throws Exception |{ | String url = null; | if ( args != null args.length 0 args[0] != null ) | url = args[0]; | else | url = serviceURL; | System.out.println(Calling wsdl); | QName serviceName = new QName(http://www.jboss.org/jbossws/ws-extensions/wsrm;, SimpleService); | QName portName = new QName(http://www.jboss.org/jbossws/ws-extensions/wsrm;, SimpleServicePort); | URL wsdlURL = new URL(url + ?wsdl); | Service service = Service.create(wsdlURL, serviceName); | SimpleService proxy = (SimpleService)service.getPort(SimpleService.class); | ((StubExt)proxy).setConfigName(Standard Anonymous WSRM Client, META-INF/wsrm-jaxws-client-config.xml); | | proxy.ping(); // one way call | proxy.echo(Hello World!); // request responce call | ((RMProvider)proxy).closeSequence(); |} | | } | It is directly from the client example on the page: http://jbws.dyndns.org/mediawiki/index.php?title=Native_WS-ReliableMessaging_Tutorial#Updating_Client_Code_to_Reference_Custom_JAX-WS_Config_File_and_Close_the_Sequence View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168369#4168369 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
moweis wrote : | I get the following exception: | anonymous wrote : Exception in thread main java.lang.ClassCastException: $Proxy25 cannot be cast to org.jboss.ws.core.StubExt | in advance! | And what is the full stack trace? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168378#4168378 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Web method memory leak?
Peter, Thank you for your reply! Increasing the heap size solved my problem. BP View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168372#4168372 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
I still get the same error :( anonymous wrote : /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java -classpath .:..:../wsconsume/generated/classes/:${JBOSS_WS_HOME}/deploy/lib/jbossws-native-core.jar org.jboss.test.ws.jaxws.samples.wsrm.client.SimpleServiceTestCase -Djava.endorsed.dirs=${JBOSS_HOME}/lib/endorsed | | Exception in thread main java.lang.ClassCastException: $Proxy25 cannot be cast to org.jboss.ws.core.StubExt | at org.jboss.test.ws.jaxws.samples.wsrm.client.SimpleServiceTestCase.main(SimpleServiceTestCase.java:30) | marw View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168393#4168393 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
OK, did you see: http://jbws.dyndns.org/mediawiki/index.php?title=Installation topic: Using JBossWS Native with JDK 6 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168395#4168395 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168395 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
This is absolute mystery to me :( I can't believe this is possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168382#4168382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - How to access EJB from Portlet
Hi all, I am unable to access EJB from portlet, successfully deployed and accessed EJB 3.0 from servlet on JBoss Portal 2.6.5 SP1 but similar code didnt produced the result for portlet...here is error as ERROR Cause: java.lang.ClassCastException: $Proxy287 cannot be cast to lesson.stateless.HelloWorld Message: $Proxy287 cannot be cast to lesson.stateless.HelloWorld StackTrace: java.lang.ClassCastException: $Proxy287 cannot be cast to lesson.stateless.HelloWorld at ejb.portlet.EJBPortlet.doView(EJBPortlet.java:30) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133) at javax.portlet.GenericPortlet.render(GenericPortlet.java:306) at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483) at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405) at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:80) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:46) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at
[jboss-user] [JBoss Portal] - How to access EJB from Portlet
Hi all, I have successfully deployed EJB in JBoss Portal 2.6.5 SP1 and accessed it through web module from servlet code..and i tried similar with portlet but there is ClassCastException Error as ERROR Cause: java.lang.ClassCastException: $Proxy287 cannot be cast to lesson.stateless.HelloWorld Message: $Proxy287 cannot be cast to lesson.stateless.HelloWorld StackTrace: java.lang.ClassCastException: $Proxy287 cannot be cast to lesson.stateless.HelloWorld at ejb.portlet.EJBPortlet.doView(EJBPortlet.java:30) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133) at javax.portlet.GenericPortlet.render(GenericPortlet.java:306) at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483) at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405) at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:80) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:46) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
You have to endorse JAXWS. Try to add: -Djava.endorsed.dirs=${JBOSS_HOME}/lib/endorsed to your client launch command. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168389#4168389 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
Yes, here is my command-line execution: anonymous wrote : | /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java -classpath .:../wsconsume/generated/classes/:${JBOSS_WS_HOME}/deploy/lib/jbossws-native-core.jar org.jboss.test.ws.jaxws.samples.wsrm.client.SimpleServiceTestCase View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168388#4168388 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
Yes I did...I copied the libs as stated. Question, if I run wsconsume on the wsdl with no WS-RM related info, and run it again with WS-RM configuration, should I see any difference in the generated source? Because looking at the generated service interface, it doesn't extend StubExt: | package org.jboss.test.ws.jaxws.samples.wsrm.generated; | | import javax.jws.Oneway; | import javax.jws.WebMethod; | import javax.jws.WebParam; | import javax.jws.WebResult; | import javax.jws.WebService; | import javax.xml.ws.RequestWrapper; | import javax.xml.ws.ResponseWrapper; | | | /** | * This class was generated by the JAX-WS RI. | * JAX-WS RI 2.1.3-b02- | * Generated source version: 2.0 | * | */ | @WebService(name = SimpleService, targetNamespace = http://www.jboss.org/jbossws/ws-extensions/wsrm;) | public interface SimpleService { | | | /** | * | * @param arg0 | * @return | * returns java.lang.String | */ | @WebMethod | @WebResult(targetNamespace = ) | @RequestWrapper(localName = echo, targetNamespace = http://www.jboss.org/jbossws/ws-extensions/wsrm;, className = org.jboss.test.ws.jaxws.samples.wsrm.generated.Echo) | @ResponseWrapper(localName = echoResponse, targetNamespace = http://www.jboss.org/jbossws/ws-extensions/wsrm;, className = org.jboss.test.ws.jaxws.samples.wsrm.generated.EchoResponse) | public String echo( | @WebParam(name = arg0, targetNamespace = ) | String arg0); | | /** | * | */ | @WebMethod | @Oneway | @RequestWrapper(localName = ping, targetNamespace = http://www.jboss.org/jbossws/ws-extensions/wsrm;, className = org.jboss.test.ws.jaxws.samples.wsrm.generated.Ping) | public void ping(); | | } | Thanks for your help Richard View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168398#4168398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Additional components to the jPDL-Designer
It is possible but not easy. You will need knowledge about writing Eclipse plugins and about Eclipse GEF. There are earlier entries in this forum that provide a little bit of info on how to do it. The main idea is that you have to look at the plugin.xml of the current GPD and mimic what is done for your own nodes. A good example to start is the ESB Service node implementation. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168400#4168400 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - JBoss Cache running in virtual server
Would there be any problem on JBoss Cache running in virtual server? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168397#4168397 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
No i still have the same error... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168402#4168402 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Jboss Crash: AJP / mod_jk / Apache
erasmomarciano wrote : Run dmesg when jboss crashes. | May be the oom-killer is killing your jboss due to memory usage. | | Chcek syslog | I couldn't find anything suspicious in the syslogs, but I'm not quit sure what I'm looking for, at least I couldn't find any error messages or indications that jboss will be killed due too heavy memory useage by the way what is the oom-killer? I think the problem has somehow to do with the connection between Apache and Jboss, because if I restart Apache, Jboss goes down. That shouldn't be. So I assumed it might be a bug or a miss-configuration. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168405#4168405 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
moweis wrote : | Question, if I run wsconsume on the wsdl with no WS-RM related info, and run it again with WS-RM configuration, should I see any difference in the generated source? | | Because looking at the generated service interface, it doesn't extend StubExt: No, the interface implementation is generated via Java proxies at runtime (behind the scenes) moweis wrote : Thanks for your help Richard Does the client work already? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168401#4168401 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: My experience to promote jBPM on a large scale project
Hi Francesco, Thanks for your feedback. We are aware of most of the things that you bring on the table and are working to ameliorate support for these in the next generation of the GPD. The idea is that nodes and figures are pluggable and can be easily contributed to the plugin by a user. This is a work in progress. In the meantime, you should realize that jBPM was indeed envisioned in the beginning as a developer tool with embeddability and extensibility as the main focuses. That in contrast with other vendors products which are more difficult to integrate in your own applications. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168406#4168406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - persistent setRenderParameters
Hello, When I call response.setRenderParameter() in processAction, they are not cleared on the next request, even though in the javadoc it is said These parameters will be accessible in all sub-sequent render calls via the PortletRequest.getParameter call until a request is targeted to the portlet. Is this the normal behaviour and I haven't correctly understood the javadoc, or it is a bug? If it is the normal behaviour, how can I clear them? I am using this method to pass parameters from processAction to doView, but I want to do it only once, meaning that I want the parameters to be cleared at the end of doView for example. Currently I am using the PortletSession to do that and I clear the attribute manually, but I don't think this is the right solution. Thank you very much in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168412#4168412 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Jboss Crash: AJP / mod_jk / Apache
oom-killer is a facility of linux kernel that kill processes when the system terminate memory(RAM). It seems that jboss is terminating correctly due to a clean shutdown. Check your start/shutdown scripts, may be that when you stop apache jboss get stopped too. try to grep -i oom on var/log/syslog View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168414#4168414 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
To recapitulate your problem is wrong client classpath. You didn't endorse jbossws client libraries properly. The last stupid question: is your JBOSS_HOME environment variable defined? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168417#4168417 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Jboss Crash: AJP / mod_jk / Apache
erasmomarciano wrote : oom-killer is a facility of linux kernel that kill processes when the system terminate memory(RAM). | | It seems that jboss is terminating correctly due to a clean shutdown. | | Check your start/shutdown scripts, may be that when you stop apache jboss get stopped too. | | | | try to grep -i oom on var/log/syslog I checked syslog now for oom and found nothing I also checked the apache2 init.d script, and found no inidication that it is somehow connected with jboss and might kill jboss the only connection between jboss and apache I can see is AJP View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168418#4168418 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
Yes JBOSS_HOME is set. What should my classpath be? All I currently have in my classpath are 4 locations 1) current directory so that I can access my Client 2) parent directory of META-INF/wsrm-jaxws-endpoint-config.xml 3) directory for my generated classes from wscompile 4) {$JBOSSWS_HOME}/deploy/lib/jbossws-native-core.jar Am I missing anything? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168420#4168420 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [The Lizzard's corner] - jboss start up error
hi, am new to jboss, version usage is 4.0.2...i have deployed the war file. But when i start up the server java.lang.NoClassDefFoundError: Files/jboss-4/0/2/binlib/endorsed Exception in thread main . this is the message i get. Any help appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168423#4168423 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - jboss 4.2.2.GA on AIX 5.3 performance problem
We're running an jboss 4.2.2.GA on an AIX 5.3 machine. Our webservice also runs but the performence is about 3 times worse than on a windows xp machine. The other problem is, that when we call the webservice around 40 times at on time we get some (503) Webservice temporarily unavailable, which never happens on the windows machine, even when we call it more than 120 times. Does anyone has a solution for this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168427#4168427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
Yes, you have to ensure (using proper endorsing setup) that jbossws jaxws api will be used instead of jaxws that is distributed with the JVM. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168430#4168430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Plz help me to Configure JBoss with Jbpm
Hi All, Because of my project requirement i have to use JBoss, jbpm eclipse combination.But i am not able to understand how to use jbpm and configure it on my machine to run any project. I have experience of Eclipse with JBoss but i am new to jbpm. Right now i am using : jboss-4.2.1.GA , jbpm-jpdl-3.2.2 Plz help me . Thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168431#4168431 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
Try to add this piece of code to your client source: URL jaxwsThatIsUsed = javax.xml.ws.Service.class.getProtectionDomain().getCodeSource().getLocation(); | System.out.println(JAXWS that is used: + jaxwsThatIsUsed); | and send me your console output. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168433#4168433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: newbie: jboss installation question
Thank you for replying me post. anonymous wrote : Which version of JBoss? Where did you download it from? The version is jboss-4.2.3.GA, and I download from jboss.org, i was redirected to souceforge.org. anonymous wrote : Is this a typo? The run.sh is in JBOSS_HOME/bin and not the lib folder. Yes, it is a typo. I am sorry I am a beginner. anonymous wrote : Please post the entire exception stacktrace. Also post the logs that you see on the console. [EMAIL PROTECTED]:~/jboss-4.2.3.GA/bin ./run.sh = JBoss Bootstrap Environment JBOSS_HOME: /home/reaverbrook/jboss-4.2.3.GA JAVA: /usr/java/jdk1.5.0_16/bin/java JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Djava.net.preferIPv4Stack=true CLASSPATH: /home/reaverbrook/jboss-4.2.3.GA/bin/run.jar:/usr/java/jdk1.5.0_16/lib/tools.jar = 08:04:38,171 INFO [Server] Starting JBoss (MX MicroKernel)... 08:04:38,213 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417) 08:04:38,214 INFO [Server] Home Dir: /home/reaverbrook/jboss-4.2.3.GA 08:04:38,214 INFO [Server] Home URL: file:/home/reaverbrook/jboss-4.2.3.GA/ 08:04:38,215 INFO [Server] Patch URL: null 08:04:38,215 INFO [Server] Server Name: default 08:04:38,215 INFO [Server] Server Home Dir: /home/reaverbrook/jboss-4.2.3.GA/server/default 08:04:38,216 INFO [Server] Server Home URL: file:/home/reaverbrook/jboss-4.2.3.GA/server/default/ 08:04:38,216 INFO [Server] Server Log Dir: /home/reaverbrook/jboss-4.2.3.GA/server/default/log 08:04:38,216 INFO [Server] Server Temp Dir: /home/reaverbrook/jboss-4.2.3.GA/server/default/tmp 08:04:38,216 INFO [Server] Root Deployment Filename: jboss-service.xml 08:04:38,889 INFO [ServerInfo] Java version: 1.5.0_16,Sun Microsystems Inc. 08:04:38,889 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_16-b02,Sun Microsystems Inc. 08:04:38,889 INFO [ServerInfo] OS-System: Linux 2.6.22.5-31-default,i386 08:04:39,757 INFO [Server] Core system initialized 08:04:41,776 ERROR [MainDeployer] Could not create deployment: file:/home/reaverbrook/jboss-4.2.3.GA/server/default/conf/jboss-service.xml org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.logging.Log4jService; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.logging.Log4jService) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) at org.jboss.system.ServiceController.install(ServiceController.java:226) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:251) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
getCodeSource is returning a null, so I'm unable to call getLocation I really appreciate your help. I'm trying to run the example now on my PC, to see if I run into the same problems (I currently running it on a mac). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168440#4168440 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How do I empty a JBoss queue?
timfox wrote : As previously mentioned, messages will get put back on the queue when the client gets timed out (not when another client reconnects). | | If you can produce a simple self contained test case that we can run that demonstrates otherwise we will be happy to investigate further. Well, I'm really sorry about it but I don't think I have time right now to make a self contained test to ascertain what the problem is. :( However, I can send you my client code for you to see, maybe my exception handling or my connection initialization is terribly wrong somewhere. The problem still persists, though. This weekend something happened (I really don't know why because the logs didn't report any exception at all) in all my clients and all of my server queues (I have 4 queues), because there were over 45000 messages in each. The few exceptions that were actually reported are recoverable ones in normal circumstances: Cannot find object in dispatcher with id b7px3-yixlxejf-1-ut6qicjf-woegd9-100j3 Cannot find object in dispatcher with id d7px3-3jxlxejf-1-ut6qicjf-woegd9-100j3 ... There were 6 messages like that over the weekend but as soon as the client gets one of these, they report and reinitialize themselves. In normal circumstances, as you said, the queue would receive all the messages back and the new client would them consume them in proper time. Unfortunately, that's not what happened. I also thought of updating jboss' remote library to the latest version (I was using jboss-remoting.jar version 2.2.2.SP4 - brewbuilder), but I'm not sure it was a good move - as soon as I started using version 2.4.0.GA a warning was reported in both the server's and client's log: WARN [org.jboss.remoting.transport.socket.MicroSocketClientInvoker] numberOfRetries is no longer used Well, I'm sorry to take up your time guys, I'll try to make a test sometime in the near future for you to use. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168448#4168448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Sun WebServer 7.0/jBoss 4.2.2 http connectors unresponsi
Further update: We snooped both the web server and the middle tiers and found that the web server is sending a SYN packet which is received on the middle tier but never ACKnowledged. So far we have only seen this on posts, but we are still examining the logs. I thought the operating system is responsible for the SYN,ACK back to the web server. Or does the operating system check to see if there is any listener and the sends the SYN,ACK? Trying to figure out if we are looking at an error at the operating level or with tomcat/jasper? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168452#4168452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: How do I empty a JBoss queue?
oops. I forgot to put the client code... here it goes (I have cut out the package and import sections, just for brevity): === public class PPMessageConsumer implements ServletContextListener { private static final int NUMBER_OF_LISTENERS = 5; AppListenerThread[] consumer = new AppListenerThread[NUMBER_OF_LISTENERS]; Properties context = new Properties(); private static final Logger log = Logger.getLogger(messaging); private static final String[] QUEUE_APPS = new String[] { /queue/messageIdQueueApp1, /queue/messageIdQueueApp2, /queue/messageIdQueueApp3, /queue/messageIdQueueApp4, /queue/messageIdQueueApp5 }; public void contextDestroyed(ServletContextEvent sce) { for (int i = 0; i NUMBER_OF_LISTENERS; i++) { consumer.should_die = true; consumer.interrupt(); } } public void contextInitialized(ServletContextEvent sce) { InetAddress addr; BufferedInputStream fs = new BufferedInputStream(this.getClass().getResourceAsStream(/parperfeito/service/locator/jndi.properties)); int app = 0; try { context.load(fs); addr = InetAddress.getLocalHost(); log.debug(Host addr = + addr.getHostAddress()); log.debug(Host name = + addr.getHostName()); if (addr != null) { String name = addr.getHostName(); //String name = pp5.parperfeito.com.br; int pos = name.indexOf(.); name = name.substring(pos -1 , pos); app = Integer.parseInt(name) - 1; } for (int i = 0; i NUMBER_OF_LISTENERS; i++) { consumer = new AppListenerThread(QUEUE_APPS[app]); consumer.start(); } } catch (UnknownHostException ex) { log.error(ex); } catch (IOException ex) { log.error(ex); } catch (NumberFormatException ex) { log.error(ex); } finally { if (fs != null) { try { fs.close(); } catch (IOException ex) {} } } } public void testHost() { InetAddress addr; try { addr = InetAddress.getLocalHost(); System.out.println(Host addr = + addr.getHostAddress()); System.out.println(Host name = + addr.getHostName()); for (int i = 0; i NUMBER_OF_LISTENERS; i++) { consumer = new AppListenerThread(QUEUE_APPS[0]); consumer.start(); } } catch (UnknownHostException e) { e.printStackTrace(); } } private class AppListenerThread extends Thread implements ExceptionListener { private static final String CONNECTION_FACTORY_NAME = /ConnectionFactory; public boolean should_die = false; private boolean recycle = false; private boolean initialised = false; private String queue_name = null; public AppListenerThread(String app_queue) { queue_name = app_queue; } public void run() { InitialContext ic = null; ConnectionFactory factory = null; Connection connection = null; Queue message_queue = null; Session session = null; MessageConsumer consumer = null; log.info([Message Consumer] Destination queue is + queue_name); if (queue_name != null) { while (!should_die) { if (!initialised) { // finding factory to create a connection and the queue to listen to try { ic = new InitialContext(context); factory = (ConnectionFactory) ic.lookup(CONNECTION_FACTORY_NAME); message_queue = (Queue) ic.lookup(queue_name); } catch (NamingException e) { log.error(e); } finally { if (ic != null) { try { ic.close(); } catch (NamingException e) { } } } // setting listener up try { if (message_queue != null) { connection = factory.createConnection(); connection.setExceptionListener(this); session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); consumer = session.createConsumer(message_queue); // this must be asynchronous, so we need to implement a message listener
[jboss-user] [EJB 3.0] - jaas not bound
Hello, I'm trying to use EJB3 embeddable to test my ejb3 components. When I deploy the app I get jaas not bound. My beans are annotated with @SecurityDomain. Which files need to be configured to make jaas work? Thanks Kelly View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168456#4168456 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deploying ZIP/JAR files issue
Post the output of jar -tf 1996_update.zip View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168460#4168460 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: jaas not bound
I just figured out I need security-beans.xml file that should be in conf dir. I downloaded jboss-EJB-3.0_Embeddable_ALPHA.zip and this file is not in the conf dir. Isn't this the file I should download to use ejb3 embeddable? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168461#4168461 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss + MS Sql server 2005: 'nvl' is not a recognized bu
Can you post the query that is being fired, which runs into this error? You might have to enable show_sql on hibernate to see those queries in the logs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168463#4168463 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Annoying log warning:
anonymous wrote : This caused me to think that maybe there is something on the local file system that JBoss creates and perhaps the problem stems from bad/corrupt data that happened while doing initial development and testing. By default, JBoss uses HSQLDB to store JMS related data. The data will be stored in %JBOSS_HOME%\server\ serverName\data folder. If at all you want to delete the JMS related data (and if it solves your original issue), then you can delete this data folder instead of deleting the entire profile. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168464#4168464 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - reopen a process instance ?
Is it conceptually correct (and if so, technically possible) to reopen a closed process instance ? Consider next situation : you have an insurance dossier that is functionally 'closed' (all payments done, everyone happy, etc...) But ... there is always the option that new data pops up and this dossier has to be 'reopened'. Let's say that this can happen within 5 years after 'closing' the dossier. How do you put this in a process ? You could eg. create a time for five years and after that, close the process instance (but even then it seems to be functionally possible to have the need to reopen a dossier). or you could leave the process instance open (but all process instances would stay alive then :s). What is the normal way of doing this ? It appears to me that this kind of process occurs a lot (medical files, accountancy, law suit, ...) Btw, I consider the correct concept more important than the technical jbpm possible solutions. Sincerely, Dieter D'haeyere. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168471#4168471 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - javax.naming.Name is an interface, and JAXB can't handle int
Hi, I have a single POJO with 2 methods, first method accesses filesystem, and second - invokes SLSB. When I deploy it to JBoss 5.0.0CR1 (jre 1.6.0_07, Windows Vista SP1), I am getting the following error message: 10:16:02,418 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/java/jboss-5.0.0.CR1/server/cpportal2/deploy/cpportal2-ear.ear state=PreReal mode=Manual requiredState=Real org.jboss.deployers.spi.DeploymentException: Error during deploy: vfszip:/C:/java/jboss-5.0.0.CR1/server/cpportal2/deploy/cpportal2-ear.ear/statements-web.war at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:180) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1023) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source) at java.util.concurrent.FutureTask.runAndReset(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.IllegalStateException: Cannot build JAXB context at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:955) at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:156) at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:52) at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:63) at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.start(UnifiedMetaDataDeploymentAspect.java:67) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.start(DeploymentAspectManagerImpl.java:146) at org.jboss.wsf.container.jboss50.BareWSFRuntime.start(BareWSFRuntime.java:66) at org.jboss.wsf.container.jboss50.deployer.JAXWSDeployerHookPostJSE.deploy(JAXWSDeployerHookPostJSE.java:54) at org.jboss.wsf.container.jboss50.deployer.AbstractWebServiceDeployer.internalDeploy(AbstractWebServiceDeployer.java:62) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174) ... 23 more Caused by: org.jboss.ws.WSException: Failed to create JAXBContext at org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory.createContext(CustomizableJAXBContextFactory.java:116) at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:951) ... 33 more Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 3 counts of IllegalAnnotationExceptions javax.naming.Name is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at javax.naming.Name at private
[jboss-user] [JBossWS] - Re: javax.naming.Name is an interface, and JAXB can't handle
Here is my POJO definition: @WebService(name = Statements, targetNamespace = http://www.mysite.com/;, serviceName = StatementsService, portName = StatementsPort) @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) @BindingType(value = http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true;) @WebContext(secureWSDLAccess = false) // @WebContext(secureWSDLAccess = true, transportGuarantee = CONFIDENTIAL, authMethod = CLIENT-CERT) // @SecurityDomain(Statements) // @RolesAllowed(consumer) public class StatementHandler ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168482#4168482 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: javax.naming.Name is an interface, and JAXB can't handle
I resolved the issue by marking it as resource: @Resource InitialContext ctx; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168490#4168490 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss Messaging 2.0.0 alpha released
Will the deployment allow for both AS and standalone? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168491#4168491 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM on GlassFish - HTTP status 500
naruszef wrote : Hm... gd is a jboss gravel tag... So maybe try add gravel.jar to the project - maybe it will help... | | link to jboss gravel page http://www.jboss.org/gravel/ Good thought, but gravel.jar is already in the deployed pacakge, here: jbpm-enterprise.ear/jbpm-console.war/WEB-INF/lib/gravel.jar The problem seems to come from the EL processor trying to interpret the expressions in the attributes of the gd: tags... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168493#4168493 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss SSO: App with multiple style sheets/javascript fil
Thanks for the information. Do you know if this new version will support SSL communication between Federation components? Our configuration requires SSL. Thanks! Walt Barrow View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168495#4168495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168495 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Application Error - Resource not Found
If the application.xml, jboss-app.xml and jboss-web.xml files appear in the tmp directory, then they must be in the EAR and WAR war files. Therefore, your ant script is placing them in the those files as part of the build. Since it is your ant script and your build, you should know where those files are coming from. When you find them, post the jboss-web.xml file that gets packaged inside the csa.war. Also, is your build placing both the csa.war and csa-turtle.ear files into the deploy directory? Or is the csa.war file embedded within csa-turtle.ear? I ask because based on your third post (where you gave the full path) the war is embedded within the ear but your latest post claims that the war is not in embedded within the ear (you said the war appears in the deploy directory). Run an ls -al on the deploy directory and post the results. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168499#4168499 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss API usage examples
Sounds like the app server is using the binding service in which case all of the port binding are in a single file, in which case the settings in other locations, like in jboss-service.xml, are ignored. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168501#4168501 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
Hi Richard, You were right. I went ahead and added all the jboss/jbossws jars to my classpath, and I no longer get the cannot be cast exception. However, I get a new exception now: anonymous wrote : Exception in thread main org.jboss.ws.extensions.wsrm.api.RMException: Unable to create WSRM sequence | at org.jboss.ws.core.jaxws.client.ClientImpl.createSequence(ClientImpl.java:563) | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170) | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152) | at $Proxy16.ping(Unknown Source) | at org.jboss.test.ws.jaxws.samples.wsrm.client.SimpleServiceTestCase.main(SimpleServiceTestCase.java:33) | Caused by: javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage | at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:410) | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:316) | at org.jboss.ws.core.jaxws.client.ClientImpl.createSequence(ClientImpl.java:550) | ... 4 more | Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage | at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441) | at org.jboss.ws.core.soap.SOAPMessageImpl.(SOAPMessageImpl.java:84) | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171) | at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59) | at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:158) | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:292) | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:304) | ... 5 more | Here is my client code: package org.jboss.test.ws.jaxws.samples.wsrm.client; | | import java.net.URL; | import javax.xml.namespace.QName; | import javax.xml.ws.Service; | import org.jboss.ws.core.StubExt; | import org.jboss.ws.extensions.wsrm.api.RMProvider; | | import org.jboss.test.ws.jaxws.samples.wsrm.generated.SimpleService; | | | public final class SimpleServiceTestCase | { | |private static final String serviceURL = http://localhost:8080/jaxws-samples-wsrm/SimpleService;; | |public static void main(String[] args) throws Exception |{ | String url = null; | if ( args != null args.length 0 args[0] != null ) | url = args[0]; | else | url = serviceURL; | System.out.println(Calling wsdl); | QName serviceName = new QName(http://www.jboss.org/jbossws/ws-extensions/wsrm;, SimpleService); | QName portName = new QName(http://www.jboss.org/jbossws/ws-extensions/wsrm;, SimpleServicePort); | URL wsdlURL = new URL(url + ?wsdl); | Service service = Service.create(wsdlURL, serviceName); | SimpleService proxy = (SimpleService)service.getPort(SimpleService.class); | | ((StubExt)proxy).setConfigName(Standard Anonymous WSRM Client, META-INF/wsrm-jaxws-client-config.xml); | | proxy.ping(); // one way call | proxy.echo(Hello World!); // request responce call | ((RMProvider)proxy).closeSequence(); |} | | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168502#4168502 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168502 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss 3.2 on JRockit 1.5
The class com/sabre/blackbeard/engine/AsyncExecutor does not appear in JBossAS 3.2.7, so apparently you have an app deployed. Will JBossAS run on JRockit without that app deployed? If so, then you will have to contact the owner of that app to figure out why it will not run on JRockit. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168505#4168505 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168505 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBoss Cache running in virtual server
Not that I know of. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168506#4168506 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBoss Cache in virtual server
Not that I know of. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168507#4168507 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: UDP Reliability
What is your cache loader configuration like? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168508#4168508 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168508 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Calling datasource.getConnection() after sessionContext.
You might consider posting this in the JBossTM forum, the experts there might have a better idea on what the issue is. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168509#4168509 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168509 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss SSO: App with multiple style sheets/javascript fil
Its already supporting SSL. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168510#4168510 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168510 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBOSS application access issue
I have not seen this before, and we run JBoss Portal on JBossAS in Windows 2003. Are there any log entries made in server.log during the time the user fails to log in? And what do you mean by it does not allow you back in but then eventually you can access it. I more accurate description of the behavior would be helpful. (In other words, is the user getting errors, or do the page simply refresh with the login request, or does the page just not refresh?) Also, what type of login module are you using? Also, what version of JBossAS and what JDK? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168511#4168511 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss + MS Sql server 2005: 'nvl' is not a recognized bu
Also, in your hibernate configuration file, what dialect are you using? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168512#4168512 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Can I use any character other than '/' for namespace sep
I'm guessing that you are using a FileCacheLoader then. :-) Try encoding the / character - URLEncoder and URLDecoder are your friends. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168513#4168513 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168513 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: No route to host / failed sending message to null
Looks like your local environment has a flaky network connection. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168514#4168514 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-RM Exception: cannot be cast to org.jboss.ws.core.Stu
Richard, Ok, got it working. You were right all long regarding the classpath. Thanks for your help and patience! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168516#4168516 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Compensation for network latency of sync'd DB
How does your implementation know which messages to delay? Or do you simply delay all messages? You'd want to be careful here since the only way I can think of to tell which messages to delay on a JGroups level is to deserialize everything and then look at the method ids. And delaying everything is not good since join/leave messages could be delayed as well. Your best bet may be to write an Interceptor and add this to the start of the chain. You could create a Queue to hold all InvalidateCommands (2.2.0 and above) or MethodCalls containing the invalidate methodId (pre-2.2.0), add them to a DelayQueue and don't pass the call up the interceptor stack any further. You could then have another Thread that polls the delay queue grab stuff off the queue as they mature, and then pass them up the interceptor stack. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168517#4168517 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Stress Tests
lovelyliatroim wrote : Just back to this question | | anonymous wrote : | | I would have thought that having an ISOLATION level of NONE would turn out to be quicker but apparently not. What goes on behind the scenes when its set to NONE?. | | | | Any ideas as to why it would perform better with an isolation level set compared to NONE?? | | Thanks, | LL I suspect this has to do with the error levels you are seeing. With NONE, all access to the cache is unguarded. Which is good for memory (no lock objects, CHM segments, etc.) and *possibly* good for performance (if there is no contention). The moment there is contention you will start to see concurrent modification exceptions and this is possibly what JMeter is seeing as an error. You also need to look at how JMeter calculates this throughput - e.g., if it doesn't count erroneous connections as successful (i.e., remove from numerator), doesn't count them at all (remove from numerator and denominator) or adds the time taken to generate and throw an exception. :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168521#4168521 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Stress Tests
[EMAIL PROTECTED] wrote : The major memory increase is because of JBCACHE-1383, which creates 16 CHM segments and 17 locks per node. We have not yet done a 2.2 release that includes the fix, which is reducing it to 4. You could build the latest 2.2.x branch to try it. 2.2.0.CR7 is now available which does have JBCACHE-1383. You should see your heap size drop. [EMAIL PROTECTED] wrote : The 3.0.0 Alpha release completely eliminates the problem (when using the MVCC locking mode). Perhaps you want to give that a try? While you may not have the time to play with this, I would advise to at least keep it on your radar. It is _significantly_ faster than 2.X, and has a smaller memory footprint as well. I expect to release Alpha2 this evening/tomorrow morning, and my goal is to have this in GA by the end of September. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168522#4168522 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Disable Eviction in JBoss Cache 1.4.1 Sp9
Remove all the eviction elements in your cfg. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168526#4168526 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: CacheException while getting object from CacheLoader
I'm hoping end-sept. I'm about to cut another alpha this evening, please try it out and provide feedback! :-) Make sure you set your NodeLockingScheme to MVCC, which is new in 3.0. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168525#4168525 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Hibernate/Writes but does not loads
Have you enabled the query cache? [urlhttp://www.hibernate.org/hib_docs/v3/reference/en/html/performance.html#performance-cache[/url] - see section 19.4 on the QueryCache. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168528#4168528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: newbie: jboss installation question
I would suggest downloading the jboss-4.2.3.GA.zip file again. And validate the download using the provided m5sum or sha-256 value. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168529#4168529 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Eviction Policy Config not working
In your logs - do you see the eviction thread kicking in and attempting to evict stuff every 3 seconds? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168530#4168530 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168530 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: The type Fqn is not generic; it cannot be parameterized
Could eclipse (or MyEclipse) be bundling JBC perhaps? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168531#4168531 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: treecache in hibernate takes too much cpu
you could disable eviction if you don't need it. Otherwise you should just have the eviction thread run more frequently. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168533#4168533 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Google Weather portlet stopped working?
Hi there, It seem like Google Weather portlet from Simple-portal.War is no more working / rendering correctly. Any ideas? Did Google make any changes? So, do we have any other alternative sample portlets? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168534#4168534 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Expiring empty cache regions
It depends how deep your tree structure is. There is some overhead in having structural nodes sat around unnecessarily, but as long as these don't number in the thousands, you should be ok. At the end of the day, put your data in leaf nodes so they can be cleared up by eviction. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168535#4168535 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168535 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBC2.1.1.CR2 evenQueue Bug?
Have you tried this with 2.1.1.GA or 2.2.0.CR7? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168537#4168537 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Caching JSP output does JBoss cache support this
There is nothing out of the box at the moment, but it sounds very straightforward to develop - as a filter, as you suggested. I know that SEAM uses JBoss Cache to cache fragments generated by JSF components but I don't know if there is anything you could/would want to reuse there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168539#4168539 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168539 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Google Weather portlet stopped working?
Sorry, i forgot to mention that its JBoss PC2.0 - Simple-Portal demo app. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168538#4168538 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168538 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Jboss Cluster with Window NLB
You probably want FLUSH in your JGroups protocol stack, and set use_flush to true in your STATE_TRANSFER element. See sample cfgs for more details. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168540#4168540 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Google Weather portlet stopped working?
I'll look into it but since it relies on scraping, it's possible that a change on Google's page broke it... :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168541#4168541 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Eviction Policy Config not working
Well it was firing. I think the issue though I am testing now is that I thought the objects within the FQN were nodes. They don't seem to be though. So I had a FQN which I put a bunch of objects inside. It is all one node though. I was confused here. My question would now be what is the best way to handle this? Do I need a separate node for every object? That seems kind of dumb as all my nodes and keys would be the same. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168543#4168543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Compensation for network latency of sync'd DB
Hi Manik, I also thought that GMS messages shouldn't be delayed. My assumption from browsing through the source and debugging was that JGroups messages don't use the Message's buffer, but JBC messages do. So my condition for delaying is if (msg.getBuffer()!=null msg.getBuffer().length0) Would that be safe? If it is not, I'll have to use the Interceptor as you proposed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168544#4168544 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168544 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Application Error - Resource not Found
Here is the application.xml file: | ?xml version=1.0 encoding=UTF-8? | | !DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd' | | application | display-nameTrufinaCSA/display-name | module | web | web-uricsa.war/web-uri | context-rootturtle/context-root | /web | /module | /application | Here is the jboss-app.xml file: | ?xml version=1.0 encoding=UTF-8? | | !-- | Document : jboss-app.xml | Created on : April 11, 2005, 1:27 PM | Author : Administrator | Description: | Purpose of the document follows. | -- | | jboss-app | loader-repositorywww.trufina.com:loader=csa-turtle/loader-repository | /jboss-app | And here is the jboss-web.xml file: | jboss-web | security-domainjava:/jaas/mytrufina_TrufinaDev/security-domain | /jboss-web And here is the ls of the deploy directory: | rw-r--r--@ 1 slegg slegg 2048 Oct 14 2004 cache-invalidation-service.xml | -rw-r--r--@ 1 slegg slegg 1481 Oct 14 2004 client-deployer-service.xml | -rw-r--r-- 1 slegg slegg 9475965 Aug 1 18:11 csa-turtle.ear | -rw-r--r--@ 1 slegg slegg 384 Oct 14 2004 hibernate-deployer-service.xml | -rw-r--r--@ 1 slegg slegg 4486 Oct 14 2004 hsqldb-ds.xml | drwxr-xr-x@ 4 slegg slegg 136 Oct 14 2004 http-invoker.sar | -rw-r--r--@ 1 slegg slegg123001 Oct 14 2004 jboss-jca.sar | -rw-r--r--@ 1 slegg slegg 6735 Oct 14 2004 jboss-local-jdbc.rar | -rw-r--r--@ 1 slegg slegg 12307 Oct 14 2004 jboss-xa-jdbc.rar | drwxr-xr-x@ 33 slegg slegg 1122 Jun 16 19:50 jbossweb-tomcat50.sar | drwxr-xr-x@ 11 slegg slegg 374 Jun 16 19:50 jms | drwxr-xr-x@ 11 slegg slegg 374 Aug 1 18:10 jmx-console.war | drwxr-xr-x@ 3 slegg slegg 102 Oct 14 2004 jmx-invoker-adaptor-server.sar | -rw-r--r--@ 1 slegg slegg 1580 Oct 14 2004 mail-service.xml | drwxr-xr-x@ 4 slegg slegg 136 Oct 14 2004 management | -rw-r--r--@ 1 slegg slegg 4025 Oct 14 2004 monitoring-service.xml | -rw-r--r--@ 1 slegg slegg 1830 Oct 14 2004 properties-service.xml | -rw-r--r--@ 1 slegg slegg 3906 Oct 14 2004 schedule-manager-service.xml | -rw-r--r--@ 1 slegg slegg 1784 Oct 14 2004 scheduler-service.xml | -rw-r--r--@ 1 slegg slegg 198 Oct 14 2004 sqlexception-service.xml | -rw-r--r--@ 1 slegg slegg 1348 Oct 14 2004 transaction-service.xml | -rw-r--r-- 1 slegg slegg 704 Jul 29 14:39 trufina_TrufinaDev-ds.xml | -rw-r--r-- 1 slegg slegg 10827882 Jul 29 14:39 turtle-turtle.ear | -rw-r--r--@ 1 slegg slegg 1103 Oct 14 2004 user-service.xml | -rw-r--r--@ 1 slegg slegg 5405 Oct 14 2004 uuid-key-generator.sar | And yes, the csa.war file is contained within the csa-turtle.ear file. So, from the application.xml file, I see the context-root is turtle. Now in our QA, staging, and production environments, context-root is set to latest, stage, and prod. I would assume that I have this incorrectly set here it should be something other than turtle. Is this why my turtle app is getting hosed? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168549#4168549 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBC2.1.1.CR2 evenQueue Bug?
I have tried 2.1.1.GA with the same problem present. I have not tried 2.2.x. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168555#4168555 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Unable to locate current JTA transaction
[EMAIL PROTECTED] wrote : I am also getting the same error. I am working on jbpm3.2.2\jbpm-jpdl-3.2.2 websphere 6. I am able to connect and give token.signal but at state-end i am getting this error. | | | org.jbpm.db.JobSession deleteJobsForProcessInstance org.hibernate.TransactionException: Could not register synchronization | | | Can you please help me. I already running behind time. and saw all sites from almost 2 weeks. but still not getting any solution. | | I don't have a solution, but I'm experiencing the same problem, I think. In my case, I'm manually clicking End while viewing a process instance in the jbpm-console web app. I've followed the stack traces and found that the reason that the synchronization couldn't be registered is because of a NullPointerException that occurs inside CMTTransaction on line 156: | 154:public void registerSynchronization(Synchronization sync) throws HibernateException { | 155:try { | 156:getTransaction().registerSynchronization(sync); | 157:} | 158:catch (Exception e) { | 159:throw new TransactionException(Could not register synchronization, e); | 160:} | 161:} | So for some reason, getTransaction() is returning null... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4168559#4168559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4168559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user