[JBoss-user] [EJB/JBoss] - Re: Serialized Files removed while refernces to bean exist
Oops I meant stateful. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840185#3840185 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840185 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Serialized Files removed while refernces to bean exist
I am getting several instance of activation problems on stateless session beans. It looks like the serialized file is being remove by JBoss while there are still objects that reference the bean. (JBoss 3.2.1) I am assuming that the container is hitting some timeout on the bean and is thinking it needs to be removed. Is there some setting in the standard-jboss.xml that would help lessen the problem? Thanks in advance StackTrace Below: 2004-06-23 16:42:19,003 FATAL [PlaceRequestjsp] Removal of Place Request bean failed! Error: Could not activate; failed to restore state; CausedByException is: /opt/appserver/jboss/server/default/tmp/sessions/PlaceRequest-dvt81ijr-8/dvtypea9-30z.ser (No such file or directory) 2004-06-23 16:42:19,006 FATAL [PlaceRequestjsp] java.rmi.NoSuchObjectException: Could not activate; failed to restore state; CausedByException is: /opt/appserver/jboss/server/default/tmp/sessions/PlaceRequest-dvt81ijr-8/dvtypea9-30z.ser (No such file or directory) at org.jboss.ejb.plugins.AbstractInstanceCache.get(AbstractInstanceCache.java:122) at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:212) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:273) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:410) at org.jboss.ejb.Container.invoke(Container.java:674) at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45) at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:104) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) at $Proxy98.remove(Unknown Source) at com.dynix.hip.jsp.PlaceRequestjsp.cleanup(PlaceRequestjsp.java:531) at com.dynix.hip.jsp.PlaceRequestjsp.flush(PlaceRequestjsp.java:1145) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.dynix.hip.util.JSPHandler.removeService(JSPHandler.java:4607) at com.dynix.hip.util.JSPHandler.flush(JSPHandler.java:1110) at com.dynix.hip.util.JSPHandler.runThread(JSPHandler.java:1201) at com.dynix.util.ThreadCounter.run(ThreadCounter.java:152) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840167#3840167 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840167 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Datasource passwords showing in server.log
I have configured my datasource and am able to connect, but very time that I do I get the user name and password for the database being shown in the server.log. These two items are only shown when the log level is DEBUG, but is there any way to mask the output of the user name and password? I know that I can change the log level, but I was looking for something that would not display them regardless of the log level. Sample below: 2004-03-01 09:23:48,896 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=theuser, password=thepassword} I would hope maybe something in the -ds.xmls. Any help would be appreciated - thanks in advance Austin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823644#3823644 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823644 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - ClassnotfoundException loading log4JService
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821314#3821314 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821314 I am having an issue with the loading of the log4jservice (actually most JMX services) on 3.2.3. Jboss starts loading the jboss-service.xml and this is the exception that I get (Only listing a few services): 15:21:29,303 WARN [ServiceConfigurator] Failed to complete install java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.logging. Log4jService, msg=null at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.jav a:212) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:822) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:294) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:321) at org.jboss.system.ServiceCreator.install(ServiceCreator.java:85) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.j ava:155) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118) at org.jboss.system.ServiceController.install(ServiceController.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm pl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDisp atcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy5.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm pl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDisp atcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272) at org.jboss.Main.boot(Main.java:150) at org.jboss.Main$1.run(Main.java:388) at java.lang.Thread.run(Thread.java:534) 15:21:29,323 WARN [ServiceConfigurator] Failed to complete install java.lang.ClassNotFoundException: org.jboss.services.binding.ServiceBindingManager at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader.java: 401) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClassLoade r.java:242) at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java :114) at org.jboss.mx.loading.LoadMgr.nextTask(LoadMgr.java:281) at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.jav a:181) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:822) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:294) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:321) at org.jboss.system.ServiceCreator.install(ServiceCreator.java:85) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.j ava:155) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118) at org.jboss.system.ServiceController.install(ServiceController.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39)
[JBoss-user] [Datasource Configuration] - Re: deploy datasource on the fly
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820960#3820960 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820960 The new datasource is contained in a SAR file that uses an MBean to copy the ds.xml to deploy. When it is copied I don't see it getting deployed and binding the JNDI name that is in the DS. The SAR is in deploy before JBoss is started and is deployed at the time Jboss starts. This method is working on 3.06 (using service.xml), but since moving to 3.2.1 I am seeing th problem. Thanks for the help --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - deploy datasource on the fly
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820817#3820817 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820817 Is there a way to deploy a datasource (ds.xml) on the fly? I am trying to do this thru an MBean using the MBeanServer (invoke method) and the MainDeployer, but it always has a problem deploying the ds.xml file. It looks like there are no deployers for ds files in jboss by default. Below is what I get back from the MainDeployer in the log: 2004-02-09 09:43:16,362 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file://C:/jboss/server/default/deploy/tmp-firebird-ds.xml 2004-02-09 09:43:16,362 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file://C:/jboss/server/default/deploy/tmp-firebird-ds.xml 2004-02-09 09:43:16,372 DEBUG [org.jboss.deployment.MainDeployer] No deployer found for url: file://C:/jboss/server/default/deploy/tmp-firebird-ds.xml 2004-02-09 09:43:16,382 INFO [org.jboss.deployment.MainDeployer] deployment waiting for deployer: file://C:/jboss/server/default/deploy/tmp-firebird-ds.xml 2004-02-09 09:43:16,382 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file://C:/jboss/server/default/deploy/tmp-firebird-ds.xml 2004-02-09 09:43:16,382 INFO [org.jboss.deployment.MainDeployer] Deployment of package: file://C:/jboss/server/default/deploy/tmp-firebird-ds.xml is waiting for an appropriate deployer. Thanks in advance Austin --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user