[jboss-user] [JBoss Messaging] - Messaging 1.4.0 SP3 with JBoss AS 4.2.3
Hi, I am using JBoss messaging 1.4.0 SP3 with JBoss AS 4.2.3.GA, with JBoss remoting 2.2.2 SP8. I have 6 clients who are sending message to queue and 4 clients who are receive message from Topic. on overload I have disconnection problem between subscriber (non-durable) and Topic. No problem with queues producer. Here is a stack trace on server: 2008-08-28 21:39:04,466 ERROR [org.jboss.remoting.callback.ServerInvokerCallbackHandler] Error handling callback java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is: java.io.IOException: Connection reset at org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker.java:127) at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:689) at org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvoker.java:418) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) at org.jboss.remoting.Client.invoke(Client.java:1634) at org.jboss.remoting.Client.invoke(Client.java:548) at org.jboss.remoting.Client.invokeOneway(Client.java:598) at org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallback(ServerInvokerCallbackHandler.java:826) . Stack trace on Topic Client: 1. Failure on underlying remoting connection javax.jms.JMSException: Failure on underlying remoting connection at org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:102) 2. ??? javax.jms.IllegalStateException: The object is closed 3. MessagingNetworkFailureException org.jboss.jms.exception.MessagingNetworkFailureException at org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:113) Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [bisocket://192.168.101.11:4457/?JBM_clientMaxPoolSize=1000clientLeasePeriod=1clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapperdataType=jmsmarshaller=org.jboss.jms.wireformat.JMSWireFormatnumberOfCallRetries=1numberOfRetries=10pingFrequency=214748364pingWindowFactor=10socket.check_connection=falsetimeout=0unmarshaller=org.jboss.jms.wireformat.JMSWireFormat] Caused by: java.net.ConnectException: Connection refused 4. CommunicationException Receive timed out javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] at org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener.handleConnectionException(ConsolidatedRemotingConnectionListener.java:113) Caused by: java.net.SocketTimeoutException: Receive timed out Thank you for your help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173457#4173457 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Problem with Deploy and undeploy JBossWS-native-3.0.3.GA
After deploy JBossWS-native-3.0.3.GA on JBossAS 4.2.2.GA and next undeploy, replace with JBossWS-native-2.0.3.GA (which comes with defaults) there is problem when server starts. | 12:38:22,250 ERROR [MainDeployer] Could not create deployment: file:/C:/RG/Labs/jboss-4.2.2.GA/server/default/deploy/jbossws.sar/ | org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.wsf.container.jboss42.DeployerInterceptorJSE; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.wsf.container.jboss42.DeployerInterceptorJSE) | 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:249) | 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 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 org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy9.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | 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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | 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
[jboss-user] [JBossWS] - Re: Problem with Deploy and undeploy JBossWS-native-3.0.3.GA
It is diff from cygwin: | [EMAIL PROTECTED] ~/RG/Labs | $ diff -r jboss-4.2.2.GA-fresh/ jboss-4.2.2.GA-deploy-undeploy/ -q | Files jboss-4.2.2.GA-fresh/bin/wsrunclient.bat and jboss-4.2.2.GA-deploy-undeploy/bin/wsrunclient.bat differ | Files jboss-4.2.2.GA-fresh/bin/wsrunclient.sh and jboss-4.2.2.GA-deploy-undeploy/bin/wsrunclient.sh differ | Files jboss-4.2.2.GA-fresh/bin/wstools.bat and jboss-4.2.2.GA-deploy-undeploy/bin/wstools.bat differ | Files jboss-4.2.2.GA-fresh/bin/wstools.sh and jboss-4.2.2.GA-deploy-undeploy/bin/wstools.sh differ | Files jboss-4.2.2.GA-fresh/client/jaxb-api.jar and jboss-4.2.2.GA-deploy-undeploy/client/jaxb-api.jar differ | Files jboss-4.2.2.GA-fresh/client/jaxb-impl.jar and jboss-4.2.2.GA-deploy-undeploy/client/jaxb-impl.jar differ | Files jboss-4.2.2.GA-fresh/client/jaxb-xjc.jar and jboss-4.2.2.GA-deploy-undeploy/client/jaxb-xjc.jar differ | Files jboss-4.2.2.GA-fresh/client/jaxws-rt.jar and jboss-4.2.2.GA-deploy-undeploy/client/jaxws-rt.jar differ | Files jboss-4.2.2.GA-fresh/client/jaxws-tools.jar and jboss-4.2.2.GA-deploy-undeploy/client/jaxws-tools.jar differ | Files jboss-4.2.2.GA-fresh/client/jboss-jaxrpc.jar and jboss-4.2.2.GA-deploy-undeploy/client/jboss-jaxrpc.jar differ | Only in jboss-4.2.2.GA-deploy-undeploy/client: jboss-jaxws-ext.jar | Files jboss-4.2.2.GA-fresh/client/jboss-jaxws.jar and jboss-4.2.2.GA-deploy-undeploy/client/jboss-jaxws.jar differ | Files jboss-4.2.2.GA-fresh/client/jboss-saaj.jar and jboss-4.2.2.GA-deploy-undeploy/client/jboss-saaj.jar differ | Files jboss-4.2.2.GA-fresh/client/jbossws-client.jar and jboss-4.2.2.GA-deploy-undeploy/client/jbossws-client.jar differ | Files jboss-4.2.2.GA-fresh/client/jbossws-common.jar and jboss-4.2.2.GA-deploy-undeploy/client/jbossws-common.jar differ | Files jboss-4.2.2.GA-fresh/client/jbossws-framework.jar and jboss-4.2.2.GA-deploy-undeploy/client/jbossws-framework.jar differ | Only in jboss-4.2.2.GA-fresh/client: jbossws-jboss42.jar | Files jboss-4.2.2.GA-fresh/client/jbossws-spi.jar and jboss-4.2.2.GA-deploy-undeploy/client/jbossws-spi.jar differ | Files jboss-4.2.2.GA-fresh/client/policy.jar and jboss-4.2.2.GA-deploy-undeploy/client/policy.jar differ | Only in jboss-4.2.2.GA-fresh/client: stax-api.jar | Files jboss-4.2.2.GA-fresh/client/stax-ex.jar and jboss-4.2.2.GA-deploy-undeploy/client/stax-ex.jar differ | Files jboss-4.2.2.GA-fresh/client/streambuffer.jar and jboss-4.2.2.GA-deploy-undeploy/client/streambuffer.jar differ | Files jboss-4.2.2.GA-fresh/client/wsdl4j.jar and jboss-4.2.2.GA-deploy-undeploy/client/wsdl4j.jar differ | Only in jboss-4.2.2.GA-fresh/client: wstx.jar | Only in jboss-4.2.2.GA-deploy-undeploy/server/default: data | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/META-INF/MANIFEST.MF and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/META-INF/MANIFEST.MF differ | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-clie | nt-config.xml differ | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-en | dpoint-config.xml differ | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jaxb-api.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jaxb-api.jar differ | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jaxb-impl.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jaxb-impl.jar differ | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jboss-jaxb-intros.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jboss-jaxb-intros.jar differ | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jboss-jaxrpc.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jboss-jaxrpc.jar differ | Only in jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar: jboss-jaxws-ext.jar | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jboss-jaxws.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jboss-jaxws.jar differ | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jboss-saaj.jar and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jboss-saaj.jar differ | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jbossws-context.war/index.html and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jbossws-context.war/index.html differ | Files jboss-4.2.2.GA-fresh/server/default/deploy/jbossws.sar/jbossws-context.war/styles.css and jboss-4.2.2.GA-deploy-undeploy/server/default/deploy/jbossws.sar/jbossws-context.war/styles.css differ | Files
[jboss-user] [JBossWS] - Re: Problem with Deploy and undeploy JBossWS-native-3.0.3.GA
Good news ; Problem resolved after copying jbossws-jboss42.jar to C:\RG\Labs\jboss-4.2.2.GA-deploy-undeploy\server\default\lib Commands which helped: java -jar jarscan.jar -dir C:\RG\Labs\jboss-4.2.2.GA-fresh -class DeployerInterceptorJSE | | java -jar jarscan.jar -dir C:\RG\Labs\jboss-4.2.2.GA-deploy-undeploy -class DeployerInterceptorJSE | Ant scripts should copy this file ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173462#4173462 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Delivery Failure
- The message you sent to bluebook.dk/bluebook was rejected because it would exceed the quota for the mailbox. The subject of the message follows: Subject: =?windows-1251?B?zODj4Ofo7e3g/yDq7uvh4PHgIPHu5OXw5ujyIO/r8/Lu7ejpIA==?= - ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Standalone JBossWS
I'm really impressed by JBossWS Testsuite. One tests only executes 2-3 seconds with deploy-execute-undeploy on running JBoss. On my project one cycle is 10-20 minutes ;/ Many projects with few ears built by maven instead of JBoss Tools, so IDE support is limited. Additionally one problem during deployment blocks my developing even It is not really involved. It is hard ; and until now I have too little skills to run this with JBoss Embedded (which is not officially supported now) I have some experience in Spring so move to this library in testing EJB from IDE (Pojo services with setters). Now I can tests in couple of seconds instead of 10 minutes It looks really nice but doesn't cover full JWS features. My JWS is just Pojo ; JBossWS Testsuite way (one war per JWS) doesn't match to my case because I don't know how to fast deploy EJB which is required by these JWS (create a few dozen virtual jars with EJB ?) Other solution which comes me to mind is to attach local spring to remote JBoss but I don't know is it good ; My Spring EM Factory is local and JWS is remote deployed. When I have read http://jbws.dyndns.org/mediawiki/index.php?title=Install_JBossWS anonymous wrote : JBossWS Web Service Framework builds on top of JBoss Microcontainer which supports direct POJO deployment and standalone use outside the JBoss I had hope that now it just need to wrapper my JWS Pojo in JBossWS Standalone and everything go ; Is it really option ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173463#4173463 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Examples in the User Documentation
Hi; I have downloaded all the source projects of the Microcontainer from the svn as mvn projects. I wonder this structure is different from the examples of the user guide? For example, there is a mvn dependecny in the example as jboss-container, but its source codes distributed to the several projects in the current code structure. Is it true or am I totally worng? Thanks; Gurkan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173464#4173464 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Web Beans Integration
Hi; I read EDR of the Web Beans Specification while ago, it look so much like Microcontainer stuff like components, component types, events, wiring, aspects etc I am wondering that Web Beans stuff will duplicate the same thinks with Microcontainer, or is implemented over Microcontainer based? Cheers; Gurkan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173465#4173465 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: NestedSQLException: Apparently wrong driver class specif
I've been having the same problem. bhavinpmehta's advice solved the problem - so there must definitely be something wrong with some of Microsoft's JDBC drivers somewhere as I'm sure all the connection strings and things were right... *shrug* This was with version 2.0.1008.2 of the Microsoft SQL Server 2005 driver. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173466#4173466 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173466 ___ 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: Issue with jboss-app.xml and HAR deployment
In other words jboss-app demoApp.har /jboss-app View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173467#4173467 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173467 ___ 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: Issue with jboss-app.xml and HAR deployment
Ok nevermind. Seems the forums just can't handle some of that xml very well (must probably use the code tag) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173469#4173469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: how to handle application properties(meta data)?
Aaah, he must has meant to include it in a service tag | jboss-app | !-- | module | servicehibernate-service.xml/service | /module | -- | module | harsandboxtest.har/har | /module | /jboss-app | See the commented section. (I did however have some trouble implementing it...and finally put it in the META-INF of the har file where it was picked up by JBoss. Don't know if anyone else have been having trouble with this) Also, you might want to have a look at the documentation: http://docs.jboss.org/jbossas/jboss4guide/r5/adminguide.pdf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173470#4173470 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - 10.2 Calling Constrcutor
Hi; There is an Important part that explains why the object instantiation is not done just using the annotations and say that loading all class for scanning decrease performance boots. is it possible to use javassist to scan all annotations and act accordingly to unloading classes into the JVM ? Cheers; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173471#4173471 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - java.lang.NoClassDefFoundError exception when starting 4.2.3
Hello, Could someone please tell me why I am getting a slew of java.lang.NoClassDefFoundError exceptions such as the following when I start JBoss on my Mac. Thank you for your time. Bobs-iMac:bin bob$ ./run.sh ./run.sh: line 89: ulimit: open files: cannot modify limit: Invalid argument run.sh: Could not set maximum file descriptor limit: unlimited = JBoss Bootstrap Environment JBOSS_HOME: /Development/jboss-4.2.3.GA JAVA: /Library/Java/Home/bin/java JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 CLASSPATH: /Development/jboss-4.2.3.GA/bin/run.jar = 14:01:52,567 INFO [Server] Starting JBoss (MX MicroKernel)... 14:01:52,568 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439) 14:01:52,574 INFO [Server] Home Dir: /Development/jboss-4.2.3.GA 14:01:52,574 INFO [Server] Home URL: file:/Development/jboss-4.2.3.GA/ 14:01:52,575 INFO [Server] Patch URL: null 14:01:52,575 INFO [Server] Server Name: default 14:01:52,576 INFO [Server] Server Home Dir: /Development/jboss-4.2.3.GA/server/default 14:01:52,576 INFO [Server] Server Home URL: file:/Development/jboss-4.2.3.GA/server/default/ 14:01:52,576 INFO [Server] Server Log Dir: /Development/jboss-4.2.3.GA/server/default/log 14:01:52,576 INFO [Server] Server Temp Dir: /Development/jboss-4.2.3.GA/server/default/tmp 14:01:52,577 INFO [Server] Root Deployment Filename: jboss-service.xml 14:01:52,866 INFO [ServerInfo] Java version: 1.5.0_13,Apple Inc. 14:01:52,866 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_13-119,Apple Inc. 14:01:52,867 INFO [ServerInfo] OS-System: Mac OS X 10.5.4,i386 14:01:53,231 INFO [Server] Core system initialized 14:01:55,660 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 14:01:55,662 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml 14:01:56,192 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 14:01:56,192 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 14:01:56,362 INFO [TransactionManagerService] Starting recovery manager 14:01:56,450 INFO [TransactionManagerService] Recovery manager started 14:01:56,450 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 14:01:59,026 INFO [EJB3Deployer] Starting java:comp multiplexer 14:01:59,675 ERROR [MainDeployer] Could not initialise deployment: file:/Development/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/ java.lang.NoClassDefFoundError: javax/ejb/Stateless at org.jboss.ejb3.EJB3Util.isStateless(EJB3Util.java:42) at org.jboss.ejb3.EJB3Deployer.hasEjbAnnotation(EJB3Deployer.java:219) at org.jboss.ejb3.EJB3Deployer.accepts(EJB3Deployer.java:271) 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.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) 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 org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy34.accepts(Unknown Source) at org.jboss.deployment.MainDeployer.findDeployer(MainDeployer.java:1078) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:857) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:895) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) 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
[jboss-user] [JBoss Tools (users)] - Tutorial for using seam 2.1 with jboss tools 3 alpha
Hello JBoss Tools dev team! Do you plan to create a tutorial for how to setup and use Seam 2.1 with JBoss Tools 3 alpha? Seam just released their beta and the developers are eager to use it with JBoss Tools. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173476#4173476 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - @Management and JBoss 4.2.1
Hi, I'm new to the forums and new to JBoss, but have used Tomcat and Spring before in at a prior employer. Feel free to ask basic questions or make basic comments given my experience level with JBoss. I'm trying to deploy a POJO as a JBoss EJB3.0 Service (using the @Service annotation) with a JMX interface (using the @Management annotation). Both of these annotations are JBoss extensions for EJB3.0. The Service is deployed, but the Management annotation doesn't lead to an MBean by the objectName I've specified and hence JMX clients can't find the MBean. I've looked for the MBean in both the JMX console provided on port 8080 and using a JMX connection from a simple Java program. I'd love any help in understanding why the MBean specified by the @Management(objectName=...) isn't appearing the JMX server. Here's what I am doing: - JBoss v 4.2.1 - @Service class: @Service(objectName=integral7:service=RecordManager) @Management(RecordManagerMBean.class) @TransactionAttribute(TransactionAttributeType.NEVER) public class RecordManager extends NotificationBroadcasterSupport implements NotificationListener, RecordManagerMBean { [...] public static final ObjectName MBEAN_NAME; private static final Exception MBEAN_NAME_EXCEPTION; static { Exception exception = null; ObjectName objName = null; try { // This should always match the objectName value of the // @Service annotation objName = new ObjectName(integral7:service=RecordManager); } catch (final Exception e) { exception = e; } finally { MBEAN_NAME = objName; MBEAN_NAME_EXCEPTION = exception; } } [...] } - @Management class: public interface RecordManagerMBean extends NotificationEmitter { } - Client code: private Object invokeRecordManager( final String operation, final Object... args ) { try { InitialContext ctx = new InitialContext(); // From jndi.properties MBeanServerConnection server = (MBeanServerConnection) ctx.lookup(jmx/invoker/RMIAdaptor); // generate the signature List signature = new ArrayList(); for (final Object arg : args) { signature.add(arg.getClass().getName()); } return server.invoke( RecordManager.MBEAN_NAME, operation, args, signature.toArray(new String[] {}) ); } catch (final Exception e) { final StringWriter sw = new StringWriter(); final PrintWriter pw = new PrintWriter(sw, true); e.printStackTrace(pw); pw.flush(); sw.flush(); return e.toString() + : + sw.toString(); } } - Have read and tried the different methods outlined in: http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/jboss_extensions.html#d0e263 http://docs.jboss.org/ejb3/app-server/tutorial/service/service.html In essence, I want a singleton object that can be accessed via JMX remotely. Any suggestions and questions are welcomed. Brian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173481#4173481 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: problem about cas sso:DBIdentityLoginModule can not get
thanks Sohil. yes. I have read the articles I can find about cas sso for jboss portal and successed. Now,what I want to do is use our db instead of portal db as the user data of sso. because our user password is custom encrypted ,so org.jboss.portal.identity.crm.DBIdentityLoginModule can not authenticate successfully, so should be decrypted it before authentication. I have do a test: write a sub class of IdentityLoginModule and DBIdentityLoginModule,just override the validatepassword(String inputpassword,String expectedpassword) method ,log the value of the parameters. In the validatepassword method,the value of input password parameter is null. But with the IdentityLoginModule provided by portal,it still ahtenticates successfully. I have downloaded the jboss-4.23-src, try to trace the login method and see what happened . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173486#4173486 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: problem about cas sso:DBIdentityLoginModule can not get
the class I write: | | import javax.security.auth.login.LoginException; | | import org.apache.log4j.Logger; | import org.jboss.portal.identity.auth.IdentityLoginModule; | | public class CRMIdentityLoginModule extends IdentityLoginModule{ | private static final Logger logger = Logger.getLogger(CRMIdentityLoginModule.class); | @Override | protected boolean validatePassword(String inputPassword, String expectedPassword) { | logger.info(inputPassword=+inputPassword+,expectedPassword=+expectedPassword); | return super.validatePassword(inputPassword, expectedPassword); | } | @Override | protected String[] getUsernameAndPassword() throws LoginException { | String [] strs = super.getUsernameAndPassword(); | for(String str:strs){ | logger.info(str===+str); | } | return strs; | } | @Override | protected String createPasswordHash(String username, String password, String arg2) | throws LoginException { | logger.info(arg0===+username); | logger.info(arg1===+password); | logger.info(arg2===+arg2); | return super.createPasswordHash(username, password, arg2); | } | } | | result: | | 10:55:15,765 INFO [CRMIdentityLoginModule] str===029 | 10:55:15,765 INFO [CRMIdentityLoginModule] str===null | 10:55:15,765 INFO [CRMIdentityLoginModule] inputPassword=null,expectedPassword= | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173488#4173488 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: problem about cas sso:DBIdentityLoginModule can not get
In IdentityLoginModule, |protected boolean validatePassword(final String inputPassword, String expectedPassword) |{ | HttpServletRequest request = null; | try | { | request = (HttpServletRequest) PolicyContext.getContext(javax.servlet.http.HttpServletRequest); | } | catch(Exception e) | { | log.error(this,e); | throw new RuntimeException(e); | } | | Object ssoSuccess = request.getAttribute(ssoSuccess); | if(ssoSuccess != null) | { | return true; | } | | I think I find it. If sso,just return true. So I can do the same in the DBIdentityLoginModule. yes or no? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173489#4173489 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Delivery Status Notification (Failure)
This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] Reporting-MTA: dns;MS-CRM.JSC.TPCHEL.RU Received-From-MTA: dns;mail.tpchel.ru Arrival-Date: Mon, 1 Sep 2008 08:39:15 +0400 Final-Recipient: rfc822;vsviridovd@localhost Action: failed Status: 5.1.1 ---BeginMessage--- В деталях, законные схемы. http://russnalogi.ru ---End Message--- ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss Hibernate MBean deployment question
Hi, I'm using JBoss 4.2.3GA and am attempting to use the hibernate mbean to provide JNDI access to a hibernate SessionFactory. I'm having some problems in that when I look up the SessionFactory object via JNDI, the object returned is null. So, in trying to figure out why, I'm noticing something in the app server console that I am curious about so I was wondering what it means: | 22:42:56,484 INFO [SettingsFactory] Echoing all SQL to stdout | 22:42:56,484 INFO [SettingsFactory] Statistics: disabled | 22:42:56,484 INFO [SettingsFactory] Deleted entity synthetic identifier rollbac | k: disabled | 22:42:56,484 INFO [SettingsFactory] Default entity-mode: pojo | 22:42:56,484 INFO [SettingsFactory] Named query checking : enabled | 22:42:56,515 INFO [SessionFactoryImpl] building session factory | 22:42:56,656 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no | JNDI name configured | 22:42:56,656 INFO [SchemaExport] Running hbm2ddl schema export | 22:42:56,656 INFO [SchemaExport] exporting generated schema to database | 22:42:56,656 INFO [SchemaExport] schema export complete | 22:42:56,656 INFO [NamingHelper] JNDI InitialContext properties:{} | 22:42:56,656 INFO [Hibernate] SessionFactory successfully built and bound into | JNDI [java:/hibernate/ExampleSessionFactory] | Ok so what's confusing is the INFO that says: Not biding factory to JNDI, no JNDI name configured. Then the last line states something that seems contradictory: SessionFactory successfully built and bound into JNDI [java:/hibernate/ExampleSessionFactory] Am I not understanding something? Any insight would be appreciated. Here's my jboss-service.xml file for the har. | server | mbean code=org.jboss.hibernate.jmx.Hibernate name=jboss.har:service=Hibernate | attribute name=DatasourceNamejava:/DefaultDS/attribute | attribute name=Dialectorg.hibernate.dialect.HSQLDialect/attribute | attribute name=SessionFactoryNamejava:/hibernate/ExampleSessionFactory/attribute | attribute name=Hbm2ddlAutocreate-drop/attribute | attribute name=ShowSqlEnabledtrue/attribute | /mbean | /server | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4173491#4173491 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4173491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Delivery Status Notification (Failure)
This is an automatically generated Delivery Status Notification. Delivery to the following recipients failed. [EMAIL PROTECTED] Reporting-MTA: dns;MS-CRM.JSC.TPCHEL.RU Received-From-MTA: dns;mail.tpchel.ru Arrival-Date: Mon, 1 Sep 2008 09:15:40 +0400 Final-Recipient: rfc822;infon@localhost Action: failed Status: 5.1.1 ---BeginMessage--- не ломайте голову над поиском неизбитого подарка. Уникальный подарок найден http://www.udivlyai.co.cc/ серьезное исследование даст ответ на вопросы о тайнах вашего рода. абсолютная достоверность ---End Message--- ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user