[JBoss-user] [Management, JMX/JBoss] - accessing single MBean
We've created an MBean and everything works fine. Now I want only a specific group of users to have access to this MBean. I mean visualize it in a browser. Something like the JMX-console with that difference that those users may not acces the jmx-console but only a visualisation of that specific MBean. Is this possible, and so how to accomplish this??? Version: JBoss3.2.3 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831517#3831517 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831517 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: How to use URLDirectoryScanner?
Quite old post, but ... Have you tried to give the 2nd deployer a unique name? E.g. name=jboss.deployment:type=DeploymentScanner1,flavor=URL View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831519#3831519 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831519 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Excuse me: how I can Change the default port 8080 (e.g Chan
Excuset me, everytime I start the Jboss server(jboss323), it usually give the exception like : java.net.BindException#65306;Address already in use JVM_Bind:8080 , ObjectName:Jboss.mq:service=InvocationLayer, type=HTTP I do not know what kind of program is taking up 8080 port, and I do think it may be some important program, so I plan to change the jboss default 8080 port in to some others just like 8088 or 56 or 83 and so on , but I don't know how to and where to, please give me some guides. thanks a lot . sincerely DaveeYang( [EMAIL PROTECTED] ) Nice.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831520#3831520 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831520 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Excuse me: how I can Change the default port 8080 (e.g
sorry,the exception is : java.net.BindException:Address already in use JVM_Bind:8080 , ObjectName:Jboss.mq:service=InvocationLayer, type=HTTP View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831521#3831521 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831521 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Excuse: how I can Change the default 8080 port
Excuset me, everytime I start the Jboss server(jboss323), it usually give the exception like : java.net.BindException:Address already in use JVM_Bind:8080 , ObjectName:Jboss.mq:service=InvocationLayer, type=HTTP I do not know what kind of program is taking up 8080 port, and I do think it may be some important program, so I plan to change the jboss default 8080 port in to some others just like 8088 or 56 or 83 and so on , but I don't know how to and where to, please give me some guides. thanks a lot . sincerely DaveeYang( [EMAIL PROTECTED] ) Nice.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831522#3831522 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831522 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - jboss 3.2.4 rc1 jms authenticate question
Hello: I try jms in jboss 3.2.4 rc1 . I create two clients,one send and one receive message. the sender is: public class Sendtest { public static void main(String[] args) { try { Object messaging = null; Hashtable hashTab = new Hashtable (); hashTab.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); if (args.length0) hashTab.put(Context.PROVIDER_URL,args[0]); else hashTab.put(Context.PROVIDER_URL,202.202.202.2:1099); InitialContext lContext = new InitialContext(hashTab); TopicConnectionFactory Tqcf= (TopicConnectionFactory)lContext.lookup(ConnectionFactory); TopicConnection topicConnection =Tqcf.createTopicConnection(); TopicSession session = topicConnection.createTopicSession(false, Session.CLIENT_ACKNOWLEDGE); Topic weatherTopic = (Topic) lContext.lookup(topic/testTopic); topicConnection.start(); TopicPublisher publisher = session.createPublisher(weatherTopic); TextMessage message = session.createTextMessage(); message.setText(temperature: 35 degrees); publisher.publish(message); session.close(); topicConnection.close(); } catch( Exception e ){e.printStackTrace();} } } and the receiver is: public class MyTopicSubscriber { private static Object session; public static void main(String[] args) { try { Object messaging = null; Hashtable hashTab = new Hashtable (); hashTab.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); if (args.length0) hashTab.put(Context.PROVIDER_URL,args[0]); else hashTab.put Context.PROVIDER_URL,202.202.202.2:1099); InitialContext lContext = new InitialContext(hashTab); QueueConnectionFactory qcf= (QueueConnectionFactory)lContext.lookup(ConnectionFactory); TopicConnectionFactory Tqcf=(TopicConnectionFactory)lContext.lookup(ConnectionFactory); TopicConnection topicConnection =Tqcf.createTopicConnection(guest,guest); TopicSession session = topicConnection.createTopicSession(false, Session.CLIENT_ACKNOWLEDGE); Topic weatherTopic = (Topic) lContext.lookup(topic/testTopic); TopicSubscriber topicSubscriber = (TopicSubscriber) session.createSubscriber(weatherTopic); topicConnection.start(); TextMessage message= (TextMessage) topicSubscriber.receive(); System.out.println(message.getText()); session.close(); topicConnection.close(); } catch( Exception e ){e.printStackTrace();} } } the Sendtest.class and MyTopicSubscriber.class run succeed in local machine with the jboss server. but when I run the Sendtest.class and MyTopicSubscriber.class on a remote machine (202.202.202.3),the Sendtest.class run succeed and the MyTopicSubscriber.class get an error: org.jboss.mq.SpyJMSException: cannot authenticate user; -nseted throwable: (java.net.ConnectException:connection refused:connect) ... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831523#3831523 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831523 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: jboss 3.2.4 rc1 jms authenticate question
If I can use the search function then so can you: http://www.jboss.org/index.html?module=bbop=viewtopict=47990 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831524#3831524 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831524 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: setJMSExpiration() dont seem to work
docs/dtd/jboss_3_2.dtd DLQConfig/TimeToLive View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831525#3831525 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831525 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS Over Authenticated HTTPS Proxy
The HTTPConnectionFactory installs its own Authenticator that uses the JAAS user/principal. http://cvs.sourceforge.net/viewcvs.py/jboss/jbossmq/src/main/org/jboss/mq/il/http/HTTPClient.java?rev=1.2view=auto View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831526#3831526 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831526 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Data Source
How to get a Data Source from JNDI lookup? I tried with stand alone client and servlet but i am not able to get he data source. I am getting Name Not Found Exception in all the places. Can any one help for me to get a data source from jndi lookup ? TIA Ravi View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831527#3831527 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831527 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Data Source
You lazy arse. On this very page you will find a topic entitled Datasource with MySQL+CMP 2 problem where this question was answered yesterday. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831528#3831528 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831528 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: FAQ - READ THIS SECOND
Question: How can access a DataSource from a client Answer: In JBoss-3.2.x you cannot, DataSources are not exposed remotely. There is an implementation of this in JBoss4. I would not recommend this anti-pattern View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831529#3831529 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831529 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: ManagedConnectionPool / Lost connections / Bad connectio
Hi All, very well done!! Flush now works fine and does what I expect it to. Here is the BUG-ID (#938422) for the part where connections get killed from outside JBoss. JBoss is counting wrong and loosing connections. Hope you can point me to a solution what I am configuring wrong. Cheers Marc View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831531#3831531 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831531 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS appears to hang
Dear Adrian For your information, I've never tried to trigger a flame war. This forum is the unique place where you can get the best from Jboss. I think that there is no need to insult, communicating kindly is the best way. I'm sure that my questions, idiot or not, may be the key to solve the problems of many people. Maybe this forum requires a training period for using it properly, or maybe we have different appreciation of what help should be; anyway, if you want me to, I can kindly disappear from this forum, but I doubt that doing so you encourage people to make questions as soon as they'll be too frightened to ask something. I hope that this thread was useful to ask better questions, to know this helping system and how to use it properly, and to get the best from moderators and users. Once again, I must ask you if wou want me to disappear. There is no need to remove me; let's be friends if you still have faith in me. Else, please accept my apologies and appreciate my evident regret. Best regards, Juanma View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831533#3831533 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831533 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JNDI problems mail services tests
It never ceases to amaze me the amount of things people seem to guess and try and then when it doesn't work they spend ages asking on mailing lists and waiting for replies. I spent 24 seconds (I timed it) going to the J2SE online documentation and looking for javax.naming.InitialContext.bind(). There are 2 sentances in the documentation, so it's pretty much impossible to miss the one which reads All intermediate contexts and the target context [...] must already exist. In fact, it's taken me longer to type this reply than to find the answer to the question. A waste of everybody's time, no? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831532#3831532 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831532 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Problems when starting Jboss
Hi, You probably run JBoss with jdk1.3. This JBoss version is compiled with JDK1.4. The code is compatible with JDK1.3, but you need to recompile it with this version. If you don't need JDK1.3, try to run wit JDK1.4. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831534#3831534 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831534 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS appears to hang
Your apology is appreciated, though not really necessary. There is only one barrier to entry into this forum. You have to show some evidence that you have to tried to work it out for yourself and know something about what you talking about. I use the angry facade to try scare people into doing their own work, rather than wasting other people's time with trivial questions. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831535#3831535 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831535 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: jboss-app.xml problem
The problem is not inside jboss-app.xml but inside webapp's or ejb's the deployment descriptors: if you have an ear and not only a war or ejb yo hato to declare the loader-repository only into ear's deployment decriptor! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831536#3831536 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831536 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - [org.jboss.ejb.EntityContainer] Stopping failed
On 3.2.3 when undeploying I get these errors on entity beans configured as: @jboss.container-configuration *name=Standard CMP 2.x EntityBean with cache invalidation No other errors are reported. ~~~ 2004-04-19 22:20:59,867 ERROR [org.jboss.ejb.EntityContainer] Stopping failed java.lang.NullPointerException at org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidator Interceptor.stop(EntityBeanCacheBatchInvalidatorInterceptor.java:48) at org.jboss.ejb.EntityContainer.stopService(EntityContainer.java:377) at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:24 0) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:976) at $Proxy14.stop(Unknown Source) at org.jboss.system.ServiceController.stop(ServiceController.java:471) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy30.stop(Unknown Source) at org.jboss.ejb.EjbModule.stopService(EjbModule.java:350) at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:24 0) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:976) at $Proxy14.stop(Unknown Source) at org.jboss.system.ServiceController.stop(ServiceController.java:471) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy12.stop(Unknown Source) at org.jboss.ejb.EJBDeployer.stop(EJBDeployer.java:567) at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:489) at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:504) at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:472) at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:467) at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:440) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.undeploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.undeploy(URLDeploym entScanner.java:332) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:452) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. loop(AbstractDeploymentScanner.java:212) at
[JBoss-user] [Installation Configuration] - time delay for SchedulableExample
When testing the SchedulableExample we notice a delay of 2 hours. I just can guess why, but do not absolutely understand why. We want a job to run daily at certain time. Therefore we set the SchedulePeriod to 8640 and the InitialStartDate defines the delay to midnight. The settings are: true org.jboss.varia.scheduler.example.SchedulableExample Schedulabe Test,12345 java.lang.String,int 3360 8640 -1 Further we do have the TimeZone: sun.util.calendar.ZoneInfo[id=Europe/Zurich,offset=360,dstSavings=360,useDaylight=true,transitions=121,... The reasons for the delay may be: Day light saving deviation to GMT of one hour Any ideas? Do we have to adjust the settings after each day light change manually? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831538#3831538 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831538 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: setJMSExpiration() dont seem to work
Thanks fot the help i modified the standardjboss.xml and set invoker-proxy-binding message-driven-bean invoker-mbeandefault/invoker-mbean proxy-factoryorg.jboss.ejb.plugins.jms.JMSContainerInvoker/proxy-factory proxy-factory-config DefaultJMSProvider StdJMSPool 15 1 10 queue/DLQ 10 6 /proxy-factory-config /invoker-proxy-binding i also change the Quesender on my servlet to: search.send(tm,DeliveryMode.PERSISTENT, 4, 6); from my comsumer (MDB1) ,I now get the JMSExpiration. My problem now is when i force exception to occur and message is delivered to DLQ. Another MDB (DLQMDBean) consumes the message and redeliver to message to queA. I got another JMSExpiration on my (MDB1) not the old JMSExpiration set by the sender(servlet) and when i just use send_buff_info.send(msg) i get 0. how do i get the old JMSExpiration set by my servlet? or im missing something ? //get connection lookup Context iniCtx = getInitialContext(); QueueConnectionFactory factory = (QueueConnectionFactory) iniCtx.lookup(ConnectionFactory); Queue queA = (Queue) iniCtx.lookup(queue/SmartQueueA); conn = factory.createQueueConnection(); session = conn.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE); conn.start(); //Send a msgs to queB QueueSender send_buff_info = session.createSender(queA); ObjectMessage mydoc = session.createObjectMessage(); //mydoc.setObject((Serializable) doc); //mydoc.setStringProperty(MessageFormat,FromQueueA); //send_buff_info.send(msg); send_buff_info.send(msg,DeliveryMode.PERSISTENT, 4, 6); send_buff_info.close(); conn.stop(); session.close(); conn.close(); Many thanks; jmer View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831539#3831539 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831539 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Excuse: how I can Change the default 8080 port
You can change it in the jboss-service.xml on the deploy/jbossweb-tomcat41.sar/META-INF directory. Search for !-- A HTTP/1.1 Connector on port 8080 -- comment View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831540#3831540 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831540 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Java Web Start for a Standalona Java Swing Application
Je souhaire configurer une application cliente Java/Swing avec Java Web Start, mais je ne comprends pas toute la parti configuration securite et Securiry policy l'equivalent de : -Djava.security.manager -Djava.security.policy=client.policy -Djava.security.auth.login.config=auth.conf ainsi que : -classpath auth.conf;...tous les Jars pourClients-JBoss et autres Je suis en train d'etudier la Doc SUN, mais si vous avez des indications a me fournir ca m'aidera, Merci, Michel View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831541#3831541 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831541 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: WAR not deploying properly, despite logging showing so
Have a look at : $JBOSS_HOME\server\$CONFIGURATION\conf\jboss.web\localhost\* I had some similar problems like you have and after deleting those files I coudl successfuly redeploy my .war's View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831542#3831542 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831542 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Avoiding Principal and credential check for unchecked me
Hi scott, - As u said i do call the login() method in the client before i call any method on the server. I thought it is used for the next calls made by the client for which there is a method permission described -But my first call form the Client is a SessionFacade.login(usrname, pwd) which has a method permission So in this case i dont want any validation of my principal and credentail as it is a login method and this method will do the login mechanism and deliver an error message if login fails and if login is successful then the next call from the client will be on a methos which has some permission with a role set. I hope its clear and i as u said i will look into the point LoginContext.login() method call. I will try to avoid this call for the first method call made by the client and then call this method in the second case. And by the way thanks for the docs u provided on jaas-HOTTO as usual i did not under stand it when i read for the first time but got the points on the second time and my data base login module works fine with only USER table and a hard coded single ROLE for all the users withour having a table for roles in the database. Please mail me again if u did not get my point which i explained. By the time i wrote this mail i tested my changes and it seems to be working . For the first time facade.login() call i did not perform the LoginContext.login(). But then if this call was successfull then i am calling the LoginContext.login() method and then invoke the other methods. It is working fine. regards jani View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831543#3831543 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831543 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBoss store and forward JMS to remote JBoss on unreliabl
[EMAIL PROTECTED] wrote : Set up an MDB to pull the messages onto PC2 | Search for ProviderURL to find the details for a remote MDB | connection. | | The MDB will try to reconnect when the connection is not | available. | | Regards, | Adrian Hello, I would like to up this discussion using slightly changed input data. I think the correct name for requested functionality is 'store-and-forward' for MQ clients? What solutions do exist for this problem, in the case of multiple PC1? Does 'store-and-forward functionality available in default configuration JBOSS and JMS? Thank you, Alex. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831544#3831544 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831544 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Excuse: how I can Change the default 8080 port
It is so wonderfull !! I solved the big trouble now ,thanks to sesques very much.. and I found that if I restart the jboss server then the problem appears again, and I have to change the server port again,maybe the taking up port is a bug of jboss... however, thanks to sesques very much, you do a very good works... sincerely DaveeYang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831545#3831545 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831545 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Excuse: how I can Change the default 8080 port
Do you stop Jboss before starting it again ? As you says, if the message is Address already in use whatever the port value is, you must conclude that the previous instance of JBoss is not stopped. Thanks to lick my boots, they are pretty crappy.[/img] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831546#3831546 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831546 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: ManagedConnectionPool / Lost connections / Bad connectio
Ok. Very good! For my 2 cents bug (#938422) can be closed. The changes do the trick for me. ;) Everything is nice and neet. Problem sorted. But why is AvailableConnectionCount wrong? It shows exactly the maxsize pool + amount of killed connections. (35 in our scenario). Killing again means ending up with ACC=40. Is this ignorable, or are there any strong dependencies that could lead into trouble when using these patches in production? Cheers Marc PS: Thanks a mill. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831547#3831547 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831547 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - EXISTS operator
Hi all, How to write in EJB-QL the EXISTS statement in WHERE (like in SQL92)? For now it seems to me that it is not in the EJB-QL spec and JBoss-QL as well. More general observation, which probably most of you can share: I've just started to be familiar wit JBoss and CMP and found that some very basic syntax of sql is not a part of EJB/JBoss-QL (exists, select inside 'in', just few sql functions implemeted). Many free java O/R mapping libraries (like castor, jonas CMP) have much more powerfull QL. Speaking frankly current EJB-SQL/JBoss-QL with its limitation is just a toy and the real job must be done in ugly sql. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831548#3831548 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831548 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Why my container with commit option A is trying to inser
I've decided the problem. My fault! It was using of container-configuration Standard CMP 2.x EntityBean with cache invalidation. Now I'm using clone of Standard CMP 2.x EntityBean with overrided commit-option A. And all is working great. I simply one more time look through the article JBoss Optimizations 101 and find out code snippet about container CMP 2.x and Cache. A lot of thanks to the authors ! But I still have one minor question about using XDOCLET in such situations. I would like to write my container configuration into jboss.xml file. How can I reach that by using XDOCLET. Is it possible at all ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831549#3831549 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831549 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: UserTransaction and Servlets
You must use a user transaction created in your servlet, and configure all your beans with transaction type set to required. Code for your servlet: | try{ | ctx = new InitialContext(); | tx = (UserTransaction)ctx.lookup(UserTransaction); | tx.begin(); | ... | //Do what you want with your beans | ... | tx.commit(); | } catch (Exception e) { | tx.rollback(); | } finally { |ctx.close(); | } | Since the Arjuna integration onto JBoss, I think that JBoss supports Natively JTS (which is not part of EJB spec) without specific configuration. Hope this helps you View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831551#3831551 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831551 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Excuse: how I can Change the default 8080 port
I change the port 8080 to 8081, then started jboss successfully, then I am sure I stopped Jboss as the way: Ctrl+C ,right ? And after the procedure(until it give the message Shutdown complete Halting VM ), run.bat jboss restart jboss, but in the end then message show 8081 port already in use, while I restart the computer, then it works .. I do think it is better than the 8080 port --- how many times restart the computer, it give the Address already in use exception. May I know why I restart the jboss then the port is busy before I restart my computer, is it means I stop the jboss but leave the port busy ? Thanks for sesques' wonderful work. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831553#3831553 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831553 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Struts: 2 mal die selbe Appl. deployed, Probleme ...
Hallo Liste, ich habe auf einem JBoss Server 3.2.3 eine Struts Applikation zu laufen. Jetzt mchte ich einfach nur die selbe Applikation unter einem anderen Namen deployen und ebenfalls auf dem selben JBoss Server mit laufen lassen. ApplikationLife ApplikationTest Hintergrund ist eine Testumgebung die ich erstellen will um nderungen erst als Test-Applikation mit einer eigenen Datenbank bereitzustellen, so dass sich der Kunde kommende nderungen ansehen kann und testen kann. Hier nun mein Problem: Das klappt nicht ! :-) Ich habe 2 vllig voneinander getrennte Applikationen, die natrlich Klassen mit den selben Namen verwenden. Irgentwie ist das ganze auf dem JBoss nicht richtig getrennt, beide Applikationen scheinen die selben Klassen zu verwenden. Rufe ich im JBoss ApplikationTest auf, dann verwendet der JBoss die Klassen die in ApplikationLife im WEB-INF liegen ... Irgentwelche Tipps ? Ich bin dankebar fr JEDEN Hinweis. mfg Christian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831552#3831552 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831552 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Why my container with commit option A is trying to inser
Use @jboss.container-configuration name=your configuration View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831554#3831554 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831554 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Excuse: how I can Change the default 8080 port
Windows can be cryptic when it comes to finding out exactly what executable is locking a port. This free tool from Sysinternals will show you exactly what executable is holding the port: http://www.sysinternals.com/ntw2k/source/tcpview.shtml //Nicholas View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831555#3831555 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831555 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: How to disenable /tmp in Jetty
Jonlee, thank you for your help. If the JSP compiled files are written to /jetty directory, there is no files in /tmp directory. Is it neccessary to clean the /tmp directory using cron job? Can it solve the problem with JBoss application working for the continuous 2 weeks? Thanks Richard View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831557#3831557 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831557 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Why my container with commit option A is trying to inser
Also, if you put a file called jboss-container.xml that has a container configuration XML element in a directory merge-dir, XDoclet will generate a jboss.xml that contains the container configuration that is independent from the ones defined in the conf directory. The XDoclet command will look something like this: jboss version=3.2 unauthenticatedPrincipal=nobody xmlencoding=UTF-8 destdir=${meta.dir} validatexml=false createTable=false datasource=${data.source} datasourceMapping=${data.mapping} mergeDir=merge-dir/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831558#3831558 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831558 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Excuse: how I can Change the default 8080 port
Very curious. What is your OS ? Can you dump network statistics ? (netstat -a under Windows) ? After you stop JBoss, is there an instance of java.exe running ? Is there a network monitor in a activity ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831559#3831559 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831559 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Unable to compile class for JSP
Is JAVA_HOME set correctly? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831560#3831560 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831560 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Error creating databse Dukes Bank sample
hey, I'm having the same problem. I've followed all the instructions (I think), anyone know what the probelm is? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831561#3831561 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831561 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Connection Time Out in TopicConnection
Dear All, When i try topicSession.createTopicConnection(userId, password) i am getting Connection Time out problem. if i dont pass userId and password i am getting Topic Connection. But i have to use Durable Subscription thus i need to pass userid and password in createTopicConnection method. If i try this in with in the network it is working fine. But i try from a remote system (through internet) i am getting this exception. I have tried all the options to increase Time out but could not able to find any. I have serached all forums but no luck. Could you please tell me fix for my problem. I am using jboss3.2.3 . My Log is as follows.. org.jboss.mq.SpyJMSException: Cannot start a the client IL service; - nested throwable: (java.net.ConnectException: Connection timed out: connect) at org.jboss.mq.Connection.startILService(Connection.java:962) at org.jboss.mq.Connection.(Connection.java:249) at org.jboss.mq.SpyConnection.(SpyConnection.java:49) at org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFactory.java:113) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at sun.net.NetworkClient.doConnect(NetworkClient.java:139) at sun.net.www.http.HttpClient.openServer(HttpClient.java:402) at sun.net.www.http.HttpClient.openServer(HttpClient.java:618) at sun.net.www.http.HttpClient.(HttpClient.java:306) at sun.net.www.http.HttpClient.(HttpClient.java:267) at sun.net.www.http.HttpClient.New(HttpClient.java:339) at sun.net.www.http.HttpClient.New(HttpClient.java:320) at sun.net.www.http.HttpClient.New(HttpClient.java:315) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:512) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:489) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:560) at org.jboss.mq.il.http.HTTPClient.post(HTTPClient.java:119) at org.jboss.mq.il.http.HTTPClientILService.getClientILIdentifier(HTTPClientILService.java:240) at org.jboss.mq.il.http.HTTPClientILService.init(HTTPClientILService.java:88) at org.jboss.mq.GenericConnectionFactory.createClientILService(GenericConnectionFactory.java:72) at org.jboss.mq.Connection.startILService(Connection.java:953) ... 6 more Regds, Srini. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831562#3831562 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831562 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Unable to compile class for JSP
i.e. did you install multiple versions of jdks? I tried this once with WinXP and got a similar mess. Environment variables and registry entries seems to have a magic influence to the java system. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831565#3831565 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831565 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - org.jboss.tm.JBossRollbackException
Can someone help as to why i'm getting this error. I'm unable to commit data when i try to persisit data to more than one table within the same transaction. The bean in context here is a stateless CMP session Local bean and the method that is doing the persistence requires a new transaction. Please let me know if you need any more info. I need to resolve this as early as possible. Thanks, shekar | 08:23:50,714 ERROR [LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.util.Map HouseholdBeanLocal.processHHAPL(java.util.Map) throws javax.ejb.EJBException,java.lang.Exception, causedBy: | org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=AUS_DEVWKS0012//13, BranchQual=] status=STATUS_NO_TRANSACTION; - nested throwable: (java.util.ConcurrentModificationException) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:409) | at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:398) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:325) | at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:128) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) | at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) | at org.jboss.ejb.Container.invoke(Container.java:700) | at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375) | at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83) | at $Proxy64.processHHAPL(Unknown Source) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831564#3831564 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831564 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JNDI Context lookup failure with jboss 3.2.3
I can't see any env-entry tags in your web.xml but only ejb-refs. So, I suppose you should write Object homeObject = ctx.lookup(java:comp/ejb/ega/Login); instead of Object homeObject = ctx.lookup(java:comp/env/ega/Login); View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831563#3831563 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831563 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: UserTransaction and Servlets
sesques wrote : | Code for your servlet: | | | | try{ | | ctx = new InitialContext(); | | tx = (UserTransaction)ctx.lookup(UserTransaction); | | | I tried this and received the following Exception: javax.naming.NameNotFoundException: Name UserTransaction is not bound in this Context View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831568#3831568 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831568 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Exception morphing
Hi, I'm deploying a weblogic conversion to JBoss and have some problems - i think which are configuration-related - with my exception-handling mechanism. I'm using Jboss-3.2.3 against postgres. On certain requests which have missing parameters I throw an exception, which should then forward to one of a number of JSPs dependant upon the type of exception. However, currently all exceptions seem to be masked by a nullpointerexception. I've copied the annotated stacktrace in below - the exception is thrown at 1 - you can see from the stack trace its a MissingFormDataException. Then its caught at 2, by which time its become a NullPointerException. Magic! Also, there's nothing in my code to display the stack trace to STDERR between 1 and 2, so the only thing I can think is that the exception-morphing is to do with this. If anyone can advise me where I can configure this not to be displayed, or if you've got any other ideas what might be causing the problem I'd really appreciate it. Thanks in advance. Dave 14:17:06,030 DEBUG [JkInputStream] Copy into body buffer2 [EMAIL PROTECTED] 337 337 14:17:06,030 DEBUG [JkInputStream] Data: action=updatelanguage=en_USfavorite_category=APP_SERVERtitle_a=Mrgiven_name_a=family_name_a=kaddress_1_a=kaddress_2_a=kcity_a=kstate_or_province_a=kpostal_code_a=kcountry_a=United+Kingdomtelephone_number_a=123[EMAIL PROTECTED]job_title_a=company_a=currency=en_GBimage=%E2%80%B9%E2%80%B9+UPDATE+%E2%80%BA%E2%80%BA 14:17:06,030 DEBUG [HandlerRequest] R( /appjbosstore/customer.action) 14:17:06,031 DEBUG [HandlerRequest] Calling next container org.apache.jk.server.JkCoyoteHandler 14:17:06,031 DEBUG [JkCoyoteHandler] Invoke R( /appjbosstore/customer.action) [EMAIL PROTECTED] /appjbosstore/customer.action 14:17:06,033 DEBUG [JkCoyoteHandler] ACK 14:17:06,034 INFO [STDOUT] URLFilter: uri /appjbosstore/customer.action 14:17:06,034 INFO [STDOUT] MainServlet:getParams(POST) 14:17:06,034 DEBUG [JkCoyoteHandler] doRead null 0 0 14:17:06,035 DEBUG [JkInputStream] doRead 0 337 337 false 0 0 14:17:06,036 INFO [STDOUT] MainServlet, gotParam(): 14:17:06,036 INFO [STDOUT] MainServlet:about to process request 14:17:06,036 INFO [STDOUT] processing customer.action 14:17:06,037 INFO [STDOUT] DefaultCustomerHTMLAction:extractContactInfo() 14:17:06,037 INFO [STDOUT] DefaultCustomerHTMLAction:extractContactInfo()Got given name 0 1 14:17:06,038 ERROR [STDERR] com.sun.j2ee.blueprints.petstore.controller.web.exceptions.MissingFormDataException: Missing Address Data 14:17:06,040 ERROR [STDERR] at com.sun.j2ee.blueprints.petstore.controller.web.actions.DefaultCustomerHTMLAction.extractContactInfo(Unknown Source) 14:17:06,040 ERROR [STDERR] at com.sun.j2ee.blueprints.petstore.controller.web.actions.DefaultCustomerHTMLAction.extractExtendedContactInfo(Unknown Source) 14:17:06,040 ERROR [STDERR] at com.sun.j2ee.blueprints.petstore.controller.web.actions.CustomerHTMLAction.perform(Unknown Source) 14:17:06,041 ERROR [STDERR] at com.sun.j2ee.blueprints.waf.controller.web.RequestProcessor.processRequest(Unknown Source) 14:17:06,041 ERROR [STDERR] at com.sun.j2ee.blueprints.waf.controller.web.MainServlet.doProcess(Unknown Source) 14:17:06,041 ERROR [STDERR] at com.sun.j2ee.blueprints.waf.controller.web.MainServlet.doPost(Unknown Source) 14:17:06,041 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) 14:17:06,041 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 14:17:06,041 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) 14:17:06,041 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 14:17:06,042 ERROR [STDERR] at com.sun.j2ee.blueprints.signon.web.SignOnFilter.doFilter(Unknown Source) 14:17:06,042 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) 14:17:06,042 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 14:17:06,042 ERROR [STDERR] at com.sun.j2ee.blueprints.petstore.controller.web.SecurityFilter.doFilter(Unknown Source) 14:17:06,042 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) 14:17:06,042 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 14:17:06,043 ERROR [STDERR] at com.sun.j2ee.blueprints.petstore.controller.web.URLFilter.doFilter(Unknown Source) 14:17:06,043 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) 14:17:06,043 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) 14:17:06,043 ERROR [STDERR] at
[JBoss-user] [Installation Configuration] - Re: Excuse: how I can Change the default 8080 port
there are two OS in my disk, Win2k and linux, and I am running win2k. nickman ,thanks for your introduction, I downloaded it and run the tool, the tool is usefull, but I could not fund the port 8081 and 8080 , when I start the jboss and it is alse show the message: 8081 port Address already in use, CURIOUS! sesques, I check in dos: netstat -a but could not found 8081 port is busy. restart the computer,then it works, depressed ! As the most important thing I solved, just I restart the computer OK, I think maybe I will know it in future with my work.. Thanks to both of you ! Have a nice day ! Sincerely DaveeYang... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831571#3831571 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831571 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Using CLIENT_ACKNOWLEDGE does not seem to work
I tried reading the documentation and this forum but I could not find my answer. The question is: Does CLIENT_ACKNOWLEDGE work when setting up a client to read messages from a queue? From my testing, it does not work, but I could be doing something wrong. Snipped of my code: ... queueSession = queueConnection.createQueueSession(false, Session.CLIENT_ACKNOWLEDGE); ... queueReceiver.setMessageListener(textListener); ... { textListener implements MessageListener with an onMessage method. In the onMessage method is where I message.acknowledge or not} View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831569#3831569 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831569 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: deploying a war with a different server/lib library dire
I kind of found a solution, simply by using the class-path in my manifest.mf to reference my jars however Is there any possibility to use absolute file paths? in class-path manifest.mf? perhaps using file:/ (i tried the following with no success) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831572#3831572 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831572 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: ManagedConnectionPool / Lost connections / Bad connectio
AvailableConnectionCount should be MaxSize - InUseConnectionCount. Works fine here with the latest cvs update. Thanks for the fix, Adrian. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831574#3831574 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831574 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: ManagedConnectionPool / Lost connections / Bad connectio
The two bug reports mentioned in this thread can be found here: http://sourceforge.net/tracker/?group_id=22866atid=376685func=detailaid=938010 [ur;]http://sourceforge.net/tracker/?group_id=22866atid=376685func=detailaid=938422[/url] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831575#3831575 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831575 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: UserTransaction and Servlets
Of course, I'm silly. You cannot initiate a JBoss UserTransaction because your servlet is running in a standalone tomcat instance, which is the web container. The user transaction is part of EJB container only. It depends on how your Tomcat is configured. Does it have a JTS library ? Also, the UserTransaction JNDI name should be name java:comp/ env/UserTransaction or something like that. I confess that I don't know this config, so I cannot help you anymore. Good luck View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831579#3831579 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831579 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Struts: 2 mal die selbe Appl. deployed, Probleme ...
hello christian afaik... 2 ears ApplikationLife.ear, ApplikationTest.ear add a jboss-app.xml file to the meta-inf directory jboss-app loader-repository AppLife:loader=ApplikationLife.ear/loader-repository /jboss-app jboss-app loader-repository AppTest:loader=ApplikationTest.ear/loader-repository /jboss-app cheers L btw: try to google with [jboss loader repository] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831581#3831581 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831581 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - org.jboss.deployment.DeploymentException: Couldn't create en
One reason for this error is that you probably copied an old standardjbosscmp-jdbc.xml (possibly from 3.0.x) to your new JBoss installation (JBoss 3.2.x). I don't know exactly which line causes the error, but better go the safe way and change the mappings in the new standardjbosscmp-jdbc.xml by hand. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831580#3831580 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831580 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Installing Jobss for multiple Tomcat web application context
Hi, I've setup a number of Tomcat web application contexts for a number students and i was wondering how to interface Jboss with the existing students Tomcat webapp contexts ? These multiple webapps are currently hosted by a single Tomcat server by definining multiple webapps in the conf/server.xml file. Does JBoss support multiple webapps ? Is there a documentation or an example somwhere ? Thanks. Thierry. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831582#3831582 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831582 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS appears to hang
Hello again By the way, I'm not using two or more instances of jboss. Your indicated thread doesn't apply to my problem. And yes, I've used the search tool in the right way. Nevertheless, thanks for your indication. Best regards, Juanma View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831583#3831583 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831583 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Client gets NameNotFoundException when using ByValueInvo
Sorry false alarm. The invoker tag was missing in my jboss.xml file when specifying the ByValueInvokerInterceptor. Once I fixed it, its working fine. -Satish View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831584#3831584 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831584 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Rolback Problem
This is the second time I've posted this message on this forum. The first time it disappeared. A simple transaction rollback was working with hypersonic, but seems not to be working when we switch to mysql. Running mysql-connector-java-3.0.11 and mysql 4.0.18-0 (client and server) with JBoss 3.2.3 java 1.4.2_04 on both linux and windows. We have 2 stateless session beans FooService (remote) and BarService (local). FooService has a createFoo() method which, after creating an Foo entity bean (local with CMP CMR data), calls validate() on BarService. Validate() does some data validation and if invalid data, throws a RemoteException which is caught in createFoo() and transformed into another remote exception to be sent back to the client (in this case a junit test). Both FooService and BarService are declared to have container managed transactions, and both createFoo() and validate() have the required transaction attribute. There is no client transaction. createFoo( ) { try { fooHome.create(); //create entity bean bar.validate(); // get a RemoteException catch (Exception e) { throw RemoteException; //entity bean creation should rollback } This code works with hypersonic but not with mysql. I do see the TransactionRollbackException on the jboss console, and a remote exception is thrown back to the client, but the Foo entity bean is in the database. Is there a configuration of msql that is causing this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831587#3831587 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831587 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Forum post?
I posted on the forum to Persistence CMP/JBoss under JBoss User at 11:20.. I see my post on the forum but nothing comes out on this list. This is the second time I've tried this. What is the problem? Anyway here is my post: A simple transaction rollback was working with hypersonic, but seems not to be working when we switch to mysql. Running mysql-connector-java-3.0.11 and mysql 4.0.18-0 (client and server) with JBoss 3.2.3 java 1.4.2_04 on both linux and windows. We have 2 stateless session beans FooService (remote) and BarService (local). FooService has a createFoo() method which, after creating an Foo entity bean (local with CMP CMR data), calls validate() on BarService. Validate() does some data validation and if invalid data, throws a RemoteException which is caught in createFoo() and transformed into another remote exception to be sent back to the client (in this case a junit test). Both FooService and BarService are declared to have container managed transactions, and both createFoo() and validate() have the required transaction attribute. There is no client transaction. createFoo( ) { try { fooHome.create(); //create entity bean bar.validate(); // get a RemoteException catch (Exception e) { throw RemoteException; //entity bean creation should rollback } This code works with hypersonic but not with mysql. I do see the TransactionRollbackException on the jboss console, and a remote exception is thrown back to the client, but the Foo entity bean is in the database. Is there a configuration of msql that is causing this? --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Caching the associations
HI, I have a UserEntity(1) - Surveys(m) relation. When i am loading the UserEntity and its corresponding Surveys, it is caching the associations somewhere. So even if i delete the Survey's, it is not refreshing that. If i restart the JBOSS Server then it is refreshing. I guess there is some cache-time-out. Pls guide me. Thanks, Murali. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831591#3831591 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831591 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Caching the associations
HI, I have a UserEntity(1) - Surveys(m) relation. When i am loading the UserEntity and its corresponding Surveys, it is caching the associations somewhere. So even if i delete the Survey's, it is not refreshing that. If i restart the JBOSS Server then it is refreshing. I guess there is some cache-time-out. Pls guide me. Thanks, Murali. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831592#3831592 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831592 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Persistence CMP/JBoss] - Caching the associations
What the crap do I have to do to unsubscribe to this list??? --- mkyaj [EMAIL PROTECTED] wrote: HI, I have a UserEntity(1) - Surveys(m) relation. When i am loading the UserEntity and its corresponding Surveys, it is caching the associations somewhere. So even if i delete the Survey's, it is not refreshing that. If i restart the JBOSS Server then it is refreshing. I guess there is some cache-time-out. Pls guide me. Thanks, Murali. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831592#3831592 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831592 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user __ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Connection Time Out in TopicConnection
This forum does not say Network Support Forum Having said that, there is a post in the FAQ topic about debugging network problems. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831599#3831599 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831599 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Strange problem when deploy the servlet in jboss
I use jboss-3.0.8 integrated with jetty as my j2ee server. I write a servlet which receive the request outside and delegate the request to the EJB which the servlet refrences. I use the remote interface of the EJB in the servlet. But the servlet is not directly with the EJB. I write a middle class as buseness delegate between them. I edit the web.xml and jboss-web.xml file which both introduce the information of the EJB refrenced. After I copy the generated WAR file to the deploy directory, I start up the jboss server. But I find the WAR file can't be deployed. The error message is below: Caused by: javax.ejb.EJBException: null; CausedByException is: AccountFacadeLocal not bound at server.web.AccountFacadeBD.(AccountFacadeBD.java:35) at server.web.AccountFacadeBD.getInstance(AccountFacadeBD.java:43) at server.web.Accountlet.(Accountlet.java:27) I am surprised by the error message because I never use the local interface of the EJB. I don't know whether the servlet can refrence the local interface of the EJB in jboss-3.0.8. I see the jboss-web dtd in the docs/ directory , it only has the ejb-ref element , has no ejb-local-ref element. Anybody can help me? Any idea is welcome! Thank you! Best regards! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831596#3831596 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831596 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Using CLIENT_ACKNOWLEDGE does not seem to work
Works fine for me: http://jboss.org/wiki/Wiki.jsp?page=ClientAckExample View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831597#3831597 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831597 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - JBoss JMS server hangs after running for an extended period
We are using JBoss 3.2.3 on Windows 2000 Server runnning Sun JDK 1.4.2, with heap size = 256M Here is the beginning of our boot log: 11:25:36,621 INFO [ServerInfo] Java version: 1.4.2,Sun Microsystems Inc. 11:25:36,621 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2-b28,Sun Microsystems Inc. 11:25:36,621 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86 11:25:36,621 DEBUG [ServerInfo] Full System Properties Dump 11:25:36,637 DEBUG [ServerInfo] java.runtime.name: Java(TM) 2 Runtime Environment, Standard Edition 11:25:36,637 DEBUG [ServerInfo] jboss.server.base.dir: D:\jboss-3.2.3\server The JMS application has one Queue and 3 pools of MDBs using message selectors resident on the server. Also (this is the interesting part) we have 2 pools of MDBs that are resident on two other external servers that are bound to the same JBoss Queue. We have two different scenarios. Scenario 1: When we let the system run for extended periods of time, approx 12 hours , we notice that the JBoss server completely hangs up. - the JBoss console is no longer accessible - the server.log is no longer written to - the server doesn't grant any more connections of any kind (JNDI,JMS,HTTP) Scenario 2: After the server has been running for extended periods often times time we note the following error keeps getting posted to our server.log: org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: (java.io.IOException: ping timeout.) at org.jboss.mq.Connection.asynchFailure(Connection.java:718) at org.jboss.mq.Connection$PingTask.run(Connection.java:1311) at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364) at java.lang.Thread.run(Thread.java:534) Caused by: java.io.IOException: ping timeout. at org.jboss.mq.Connection$PingTask.run(Connection.java:1303) ... 2 more When this happens, the server also stops responding to all requests as above, with the only difference being , the ping error listed above is still constantly written to the log. I've noted that many people suggest that we implement the javax.jms.Connection.setExceptionListener() interface in their clients, but I believe that I CANT do this from an MDB since the container is supposed to be managing my JMS connections. Is this true? Also, we suspect that the remote MDBs (the MDBs that are resident on remote servers) may be the cause. Do we need to implement any reconnection logic for these remote MDB's? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831601#3831601 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831601 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBoss store and forward JMS to remote JBoss on unreliabl
No the correct name is MessageBridge. It is on the TODO list waiting for a volunteer (no user questions please) http://jboss.org/index.html?module=bbop=viewtopict=46193 Store and Forward is what e-mail clients do. I'm also interested in supporting this sort of Work off-line mode where the client stores sent messages on disk until the JMS Server becomes available. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831602#3831602 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831602 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: deploying a war with a different server/lib library dire
I kinda have a solution but i have not tried it yet. You can scope classloaders in jboss, lookup the jboss docs if u want an example. So what you can do is create all the jars scoped with a classloader, say A and use the same scoped classloader for all the wars as well. This way, none of the other deployed unitswill use that classloader. What i mean is, create an ear containing all the jars in the lib directory that u want ur war files to reference and create a jboss-app.xml that contains a loader-repositorymy.scope:loader=abc.ear/loader-repository and use the same loader-repository for all ur wars. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831605#3831605 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831605 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - IIS Tomcat Integration error
I successfully integrated IIS and jboss/tomcat 3.2.2 but have run into an error when attempting to do the same on another pc. Both are win2k machines with IIS 5. The log in C:\WINNT\system32\LogFiles\W3SVC1 shows: 15:31:08 127.0.0.1 GET /jakarta/isapi_redirect.dll 200 which matches the pc that has been integrated. The localhost_access2004-04-20.log has: 127.0.0.1 - - [20/Apr/2004:07:24:38 -0800] GET /jakarta/isapi_redirect.dll HTTP/1.1 404 764 and the web page returned has: type Status report message /jakarta/isapi_redirect.dll description The requested resource (/jakarta/isapi_redirect.dll) is not available. Apache Tomcat/4.1.27-LE-jdk14 the isapi.log for the request looks like: [Tue Apr 20 08:46:02 2004] [jk_isapi_plugin.c (626)]: HttpFilterProc started [Tue Apr 20 08:46:02 2004] [jk_isapi_plugin.c (672)]: In HttpFilterProc Virtual Host redirection of /168.71.206.230/test/test_login.jsp [Tue Apr 20 08:46:02 2004] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Apr 20 08:46:02 2004] [jk_uri_worker_map.c (368)]: Attempting to map URI '/168.71.206.230/test/test_login.jsp' [Tue Apr 20 08:46:02 2004] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Apr 20 08:46:02 2004] [jk_isapi_plugin.c (678)]: In HttpFilterProc test Default redirection of /test/test_login.jsp [Tue Apr 20 08:46:02 2004] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Apr 20 08:46:02 2004] [jk_uri_worker_map.c (368)]: Attempting to map URI '/test/test_login.jsp' [Tue Apr 20 08:46:02 2004] [jk_uri_worker_map.c (391)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /test/ [Tue Apr 20 08:46:02 2004] [jk_isapi_plugin.c (688)]: HttpFilterProc [/test/test_login.jsp] is a servlet url - should redirect to ajp13 [Tue Apr 20 08:46:02 2004] [jk_isapi_plugin.c (737)]: HttpFilterProc check if [/test/test_login.jsp] is points to the web-inf directory [Tue Apr 20 08:46:02 2004] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Apr 20 08:46:02 2004] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /168.71.206.230/jakarta/isapi_redirect.dll [Tue Apr 20 08:46:02 2004] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Apr 20 08:46:02 2004] [jk_uri_worker_map.c (477)]: Attempting to map URI '/100.22.206.230/jakarta/isapi_redirect.dll' [Tue Apr 20 08:46:02 2004] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Apr 20 08:46:02 2004] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /jakarta/isapi_redirect.dll [Tue Apr 20 08:46:02 2004] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Apr 20 08:46:02 2004] [jk_uri_worker_map.c (477)]: Attempting to map URI '/jakarta/isapi_redirect.dll' [Tue Apr 20 08:46:02 2004] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Tue Apr 20 08:46:02 2004] [jk_isapi_plugin.c (829)]: HttpFilterProc [/jakarta/isapi_redirect.dll] is not a servlet url [Tue Apr 20 08:46:02 2004] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/jakarta/isapi_redirect.dll] is points to the web-inf directory [Tue Apr 20 08:46:02 2004] [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Tue Apr 20 08:46:02 2004] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13 [Tue Apr 20 08:46:02 2004] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Tue Apr 20 08:46:02 2004] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name ajp13 [Tue Apr 20 08:46:02 2004] [jk_ajp_common.c (1546)]: Into jk_worker_t::get_endpoint [Tue Apr 20 08:46:02 2004] [jk_ajp_common.c (1590)]: In jk_endpoint_t::ajp_get_endpoint, time elapsed since last request = 894 seconds [Tue Apr 20 08:46:02 2004] [jk_ajp_common.c (1208)]: Into jk_endpoint_t::service [Tue Apr 20 08:46:02 2004] [jk_ajp_common.c (295)]: Into ajp_marshal_into_msgb [Tue Apr 20 08:46:02 2004] [jk_ajp_common.c (463)]: ajp_marshal_into_msgb - Done [Tue Apr 20 08:46:02 2004] [jk_ajp_common.c (693)]: sending to ajp13 #316 [Tue Apr 20 08:46:02 2004] [jk_ajp_common.c (966)]: ajp_send_request 2: request body to send 0 - request body to resend 0 [Tue Apr 20 08:46:02 2004] [jk_ajp_common.c (738)]: ERROR: can't receive the response message from tomcat, network problems or tomcat is down. err=-53 [Tue Apr 20 08:46:02 2004] [jk_ajp_common.c (1137)]: Error reading reply from tomcat. Tomcat is down or network problems. [Tue Apr 20 08:46:02 2004] [jk_ajp_common.c (1290)]: ERROR: Receiving from tomcat failed, recoverable operation. err=0 [Tue Apr 20 08:46:02 2004] [jk_ajp_common.c (1309)]: sending request to tomcat failed in send loop. err=0 [Tue Apr 20 08:46:02 2004] [jk_connect.c (158)]: Into jk_open_socket [Tue Apr 20 08:46:02 2004] [jk_connect.c (165)]: jk_open_socket, try
[JBoss-user] [Messaging, JMS JBossMQ] - Re: setJMSExpiration() dont seem to work
It is illegal to throw a RuntimeException from onMessage() read the spec. The fact that JBoss does its best to handle it, is not going to be portable to other servers. Before you ask messageDrivenContext.setRollbackOnly(); View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831603#3831603 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831603 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: setJMSExpiration() dont seem to work
The message sent to DLQ is a copy. Its only relation to the original message is that it looks similar and a couple of JBoss specific properties allow you to identity the original message (which is gone/dead/kaputt/ceased to be). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831606#3831606 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831606 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBoss JMS server hangs after running for an extended per
MDBs automatically reconnect if the connection fails. Does JBoss respond to a thread dump request see READ THIS FIRST If not your JVM has locked up. You should also use search, where you will discover that Windows default networking configuration isn't necessarily well configured. You would also have discovered my first two points had you used search and I could get on with implementing interesting JBoss features rather than wasting time here. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831608#3831608 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831608 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Unable to compile class for JSP
The errormessage says it all Generated servlet error: [javac] Compiling 1 source file [javac] javac: invalid flag: C:\Documents You have a c:\documents and settings in ur classpath and javac is not able to parse it. Either remove the documents and settings from classpath or make it suitable as per the old DOS way (c:\docum~1\...) Either way, make sure there are no spaces in ur classpath entry View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831609#3831609 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831609 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Class collisions between apps.
I'm am in the process of moving a couple applications from JRun over to JBoss. The JSP compiler is using the classes in /WEB-INF/classes for both applications. Ignoring that we should be cooperating a little more in my company. Is there a way to have the compiler not add classes from another app deployed on the same server to the classpath? More info: Using jboss 3.2.3 have exploded WARs. Thanks, Kevin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831611#3831611 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831611 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBoss JMS server hangs after running for an extended per
Also do you know about Quick Edit? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831610#3831610 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831610 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JNDI Context lookup failure with jboss 3.2.3
ejb-ref ejb-ref-nameega/Login/ejb-ref-name ejb-ref-typeSession/ejb-ref-type com.ega.hd.HelpDeskEJB.LoginHome com.ega.hd.HelpDeskEJB.Login /ejb-ref Shouldnt the above be something like ejb-ref ejb-ref-nameega/Login/ejb-ref-name ejb-ref-typeSession/ejb-ref-type com.ega.hd.HelpDeskEJB.LoginHome com.ega.hd.HelpDeskEJB.Login /ejb-ref I added the home and remote tags. Is this how it is in ur ejb-jar.xml, Im not sure how it wud have deployed given the way you specified in the original post! Can yu change it like this(if its not already) and try , deploy and run View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831612#3831612 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831612 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss-3.2.4RC2 schedule?
Hi All, when will JBoss-3.2.4RC2 be released? Cheers Marc View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831615#3831615 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831615 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - JMS_MESSAGES_PK violated
Occasionally, after a JBoss server restart we get the following exception when we send a new message: java.sql.SQLException: ORA-1: unique constraint (JMS_MESSAGES_PK) violated An investigation of the JBoss source code indicates that the messageIdCounter is reset to 0 on JMS server restart. See the following JBoss files in the messaging component: JMSTopic.java JMSDestination.java If there are any persistent unprocessed messages in the queue when the server is brought down, there is the possibily of a messageid collision when the server is started. Perhaps the messageIdCounter should be initialized to select max(messageid) from JMS_MESSAGES? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831616#3831616 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831616 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jboss won't start
rastas ... on my machines .. i have a dedicated user something like 'jboss' who executes the ./run.sh look out for JBOSS_HOME when the script starts .. where does it points to ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831617#3831617 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831617 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Rolback Problem
You are throwing the wrong exception. You should generally not be creating your own RemoteExceptions (they are meant for use by Java when something goes wrong with the remote communication). This is the case in EJB 2.0 at least, maybe this was different in EJB 1.1? I can't remember. For rollback to take place you need to do one of: a) If you want to rollback the transaction as a result of throwing an exception, that exception needs to inherit from RuntimeException, and the standard exception you would thrown in your case is javax.ejb.EJBException which inherits from RuntimeException. b) If you throw an exception that does not extend RuntimeException (such as RemoteException, or any application exceptions defined by you etc.) you need to call setRollbackOnly() on the EJBContext of your EJB for rollback to take place. Why this worked with hsqldb I don't know. So your code should be (for a)): createFoo( ) { try { fooHome.create(); //create entity bean bar.validate(); // get a RemoteException catch (Exception e) { throw EJBException; //entity bean creation should rollback } Cheers, Kab View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831620#3831620 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831620 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - SpyJMSException-BindException under heavy load
JBoss 3.2.3, W2K, Sun JVM 1.4.2-b28 On the server side, I have multiple JMS queues that have EJBs posting messages to various queues using a ConnectionFactory obtained via java:/JmsXA. I also have MDBs attached to some of the queues firing into the EJB tier. Everything is CMT. On the client side, I have a Swing applet that connects to the various queues via the ConnectionFactory jndi name not java:/JmsXA. From time to time, I get the following exception in the client when trying to use a QueueBrowser to view the contents of the queue. org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwable: (java.net.BindException: Address already in use: connect) at org.jboss.mq.Connection.authenticate(Connection.java:883) at org.jboss.mq.Connection.(Connection.java:238) at org.jboss.mq.Connection.(Connection.java:315) at org.jboss.mq.SpyConnection.(SpyConnection.java:60) at org.jboss.mq.SpyConnectionFactory.createQueueConnection(SpyConnectionFactory.java:116) at com.nielsenmedia.common.utility.JMSHelper.initializeJMS(JMSHelper.java:502) at com.nielsenmedia.common.utility.JMSHelper.getJMSMessages(JMSHelper.java:299) at com.nielsenmedia.wfe.tools.jmsgui.JmsGui.loadDynamicComponents(JmsGui.java:119) at com.nielsenmedia.wfe.tools.jmsgui.JmsGui.jbtnQueryActionPerformed(JmsGui.java:688) at com.nielsenmedia.wfe.tools.jmsgui.JmsGui.access$500(JmsGui.java:51) at com.nielsenmedia.wfe.tools.jmsgui.JmsGui$6.actionPerformed(JmsGui.java:507) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245) at java.awt.Component.processMouseEvent(Component.java:5100) at java.awt.Component.processEvent(Component.java:4897) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) Caused by: java.net.BindException: Address already in use: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.(Socket.java:309) at java.net.Socket.(Socket.java:153) at javax.net.DefaultSocketFactory.createSocket(DashoA6275) at org.jboss.mq.il.oil.OILServerIL.createConnection(OILServerIL.java:563) at org.jboss.mq.il.oil.OILServerIL.checkConnection(OILServerIL.java:507) at org.jboss.mq.il.oil.OILServerIL.authenticate(OILServerIL.java:289) at org.jboss.mq.Connection.authenticate(Connection.java:876) ... 32 more I never get the exception if there is no activity on the server. Is there a possible issue with intermixing java:/JmsXA and normal jms connections? Is it a resource issue? Dustin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831622#3831622 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831622 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list
[JBoss-user] [Installation Configuration] - ClassNotFoundException loading an array type using URLClassL
Hi, We've got a strange problem which may be attributed to our environment, but I can't figure out why the environment woul dmake a difference. We're calling a method on a stateless session bean that takes in an ArrayList. There are two items in the ArrayList, each an array of one of our objects. In other words: ArrayList Entry 1: Array of OurClass with 2 OurClass objects Entry 2: Array of OurClass with 2 OurClass objects When our security proxy calls invoke on the service's security proxy, we see a classnotfoundexception similar to the following in our logs: java.lang.ClassNotFoundException: [Lcom.OurClass; 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 java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:85) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.kava:1513) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1560) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at java.util.ArrayList.readObject(ArrayList.java:547) . . . In looking through the code, it looks like it's doing everything correctly up to the point it actually tries to look up OurClass, where it's passing in the string [Lcom.OurClass instead of com.OurClass. I've posted this to JBoss since I'm wondering if MarshalledValueInputStream should be handling this. The other variable in this that makes me think it's an environment problem (although as I said I can't rationalize it) is that this occurred when we switched from 1.4.1_02 to 1.4.2_04. Our code (client and server) is being compiled on 1.4.1_02, the client is running on 1.4.1_02, but the server is running with 1.4.2_04. This should cause a problem like this, should it??? Help!!! Thanks in advance, Matt View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831619#3831619 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831619 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: setting datasource(connecting to mysql) on JBOSS
Datasources are bound in the JNDI namespace so have you tried looking up java:jdbc/MySQLDS or java/:jdbc/MySQLDS Cheers, Kab View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831623#3831623 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831623 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Strange problem when deploy the servlet in jboss
Post the relevant bits of your jboss.xml, jboss-web.xml and web.xml files View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831624#3831624 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831624 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - HTTP Status 500-No Context configured to process this reque
I get the above error when going to the http://localhost:8080/fibo url. I followed the tutorial to the letter on two different machines and got the same result. What is the problem? Thanks. --- I can tell you what the error means, it means the application isn't deployed. I personally dislike xdoclet, so I don't actually use JBossIDE. Please keep questions in the forums where other people can benefit from the answers. Regards, Adrian On Tue, 2004-04-20 at 00:07, [EMAIL PROTECTED] wrote: hi adrian, my name is sean. i'm a java developer here at chrysler. i've been testing jboss with eclipse. i followed the instructions in the above tutorial. however, when i try to access the app url (http://localhost:8080/fibo), i get the infamous: HTTP Status 500 - No Context configured to process this request error. i've been trying to find the solution on the jboss forum, but to no avail. since, i'm sure you're familiar with this error, can you give the solution to the problem? Thanks. Regards, Sean Bansfield ADAM Team Chrysler Technical Center Auburn Hills, MI 48326 (248) 944-5381 -- Adrian Brock Director of Support Back Office JBoss Inc. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831628#3831628 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831628 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - dynamic cmp datasource
I have some entity beans using CMP. All the mappings between data field and table fields are specified in deployment. How can I deploy those beans such that the datasource mapping is actually specified at run time. So that I can switch database on the fly for different users. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831627#3831627 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831627 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: JDK 1.4.2 causing unmarshalling problems..
Did you ever find an answer to this problem? I just posted a topic with the same question. Thanks, Matt View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831629#3831629 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831629 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: How to delete CMR child entities??
Im hoping u want to remove the association and not remove the Subject Entites as such(as they cud be associated to other pupils). If thast what you want, you could get the collection aPupil.getSubjectLinks; and empty the collection as aPupil.setSubjectLinks(Collections.EMPTY_LIST); View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831630#3831630 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831630 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Using CLIENT_ACKNOWLEDGE does not seem to work
Adrian, Thank you for the example, I have it working now. Let me ask a final question regarding JMS and CLIENT_ACKNOWLEDGE rooted in the machanics of JMS rather than specifically with JBoss's implementation. Let us say we have two MDB listening to the same queue. The message gets delivered to the first MDB, but this MDB does not acknowledge the message. Does the second MDB need to call the session.recover method in order to be able to pick-up this unacknowledged message? Also, from a timing perspective, what triggers a message to be determined re-deliverable? For example, I may want to have a message delivered to a MDB, perform some operations that may take a few seconds or a minute, and then depending on the success of the operations acknowledge the message or leave it unacknowledged for a different MDB to fetch or for this same MDB to fetch at a near future time. Regards, -Brian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831631#3831631 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831631 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Deploy using
Properties p = new Properties(); p.putjava.naming.factory.initial, org.jnp.interfaces.NamingContextFactory); p.put(java.naming.provider.url, localhost:1099); InitialContext jndiContext = new InitialContext(p); RMIAdaptor server = (RMIAdaptor) jndiContext.lookup(jmx/rmi/RMIAdaptor); javax.management.ObjectName name = new javax.management.ObjectName(your object name); server.invoke(name, deploy, args, args); Alternatively, you can just open an URLConnection to http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByNamename=methodName= Check out this thread http://www.jboss.org/index.html?module=bbop=viewtopicp=3817878 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831632#3831632 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831632 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - XAER_RMERR Error
Hello, I am new to JBoss...it is great stuff...thanks for a great product and great forums. I am testing a BMP bean that has access to 2 databases using Oracle's XA driver. The test case loads a bean instance and calls an EJB method (i.e doTest shown below). After about 200 to 250 iterations (i.e. loads/calls), I get an XAER_RMERR error (the stack is shown below). I noticed that other people have similar problemsbut I found no answer although I think I tried all the suggestions that I could locate. Sorry. Below I listed my test environment, the EJB method code sample, my standardjboss.xml, my -ds.xml, other settings and the stack dump. I appreciate any help or pointers. Thanks, Khaled Environment: I have JBoss 3.2.3 on JDK j2sdk1.4.2_04 on an XP machine against Oracle 9i. I have the latest Oracle 1.4 JDBC driver. EJB Method code: === public void doTest() throws CellException | { | Connection dss_conn = null; | Connection club_conn = null; | BaseDBData dbRs = null; // BaseDBData is a wrapper for result set and statement | BaseDBData dbRs1 = null; | | try | { | dss_conn = openConnection(OracleCCPM); // openConnection is shown below | club_conn = openConnection(OracleDB); | | // Do something silly just to use the connections | update(club_conn, UPDATE OPS_CELLS SET cell_type_id = 0 WHERE cell_type_id = 0); | update(dss_conn, UPDATE OPS_CELLS SET cell_type_id = 0 WHERE cell_type_id = 0); | | dbRs = execute(club_conn, SELECT * FROM opc_cells); | dbRs1 = execute(club_conn, SELECT * FROM opc_cells); | | try {dbRs1.close();}catch(Exception e){} | try {dbRs.close();}catch(Exception e){} | } | catch (Exception e) | { | } | finally | { | try {dbRs1.close();}catch(Exception e){} | try {dbRs.close();}catch(Exception e){} | try {closeConnection(dss_conn);}catch(Exception e){} | try {closeConnection(club_conn);}catch(Exception e){} | } | } | | | public Connection openConnection(String dataStoreName) throws Exception | { | try | { | InitialContext jndiContext = new InitialContext(); | DataSource ds = (DataSource) jndiContext.lookup(dataStoreName); | return ds.getConnection(); | } | catch (Exception e) | { | throw new Exception(); | } | | } standardjboss.xml: container-configuration container-nameStandard BMP EntityBean/container-name call-loggingfalse/call-logging invoker-proxy-binding-nameentity-rmi-invoker/invoker-proxy-binding-name sync-on-commit-onlyfalse/sync-on-commit-only insert-after-ejb-post-createfalse/insert-after-ejb-post-create container-interceptors org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor org.jboss.ejb.plugins.LogInterceptor org.jboss.ejb.plugins.SecurityInterceptor org.jboss.ejb.plugins.TxInterceptorCMT org.jboss.ejb.plugins.MetricsInterceptor org.jboss.ejb.plugins.EntityCreationInterceptor org.jboss.ejb.plugins.EntityLockInterceptor org.jboss.ejb.plugins.EntityInstanceInterceptor org.jboss.ejb.plugins.EntityReentranceInterceptor org.jboss.resource.connectionmanager.CachedConnectionInterceptor org.jboss.ejb.plugins.EntitySynchronizationInterceptor /container-interceptors instance-poolorg.jboss.ejb.plugins.EntityInstancePool/instance-pool instance-cacheorg.jboss.ejb.plugins.EntityInstanceCache/instance-cache persistence-managerorg.jboss.ejb.plugins.BMPPersistenceManager/persistence-manager locking-policyorg.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock/locking-policy container-cache-conf cache-policyorg.jboss.ejb.plugins.NoPassivationCachePolicy/cache-policy cache-policy-conf min-capacity50/min-capacity max-capacity100/max-capacity overager-period300/overager-period max-bean-age600/max-bean-age resizer-period400/resizer-period max-cache-miss-period60/max-cache-miss-period min-cache-miss-period1/min-cache-miss-period cache-load-factor0.75/cache-load-factor /cache-policy-conf /container-cache-conf container-pool-conf 100
[JBoss-user] User authentication info lost in clustered sessions
I'm setting up clustering on a Servlet/JSP/EJB J2EE application using JBoss 3.2.2 Tomcat 4.1.27, JDK 1.4.1_04 on Windows XP Pro with Apache 1.3 and mod_jk2 for load balancing. The application uses form-based authentication and many different security constraints. I'm attempting to test HTTP session failover with a 2-node cluster. I log into the application on the second node, kill the second node and attempt to perform another operation. The session does failover to the first node (the jvmRoute portion of the sessionId changes), but then the login page is presented. I noticed both the principal and notes in ClusteredSession are transient which is where the information is stored for reauthentication via FormAuthenticator. Any ideas why the notes are not persisted unlike the session attributes? Has anyone else had this problem and how did you fix it? Thanks. -- Chris Bonham President/CEO Third Eye Consulting, Inc. [EMAIL PROTECTED] http://www.thirdeyeconsulting.com 317.823.3686 317.823.0353 (FAX) pgp0.pgp Description: PGP signature
[JBoss-user] [Beginners Corner] - Re: Jboss Eclispe, debug will not start
[EMAIL PROTECTED] wrote : Hi, | | Two questions. Firstly, how do I increase the debug level for jboss (through eclispe or otherwise)? | log4j.xml in jboss_home/server/default/conf directory. There are examples as to how to set the log level for various components. [EMAIL PROTECTED] wrote : | Secondly, does anybody know what is going wrong when I get the following error when I try to start a jboss debug session in eclipse? | NullPointerException at DeferredDocumentImpl.ensureCapacity(int, int) line: 1632. | Probably a eclipse fault? Post the stacktrace so u wud know where the error is. I use Intellij and have no issues debugging on it . View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831634#3831634 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831634 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: JDK 1.4.2 causing unmarshalling problems..
The JDK 1.4.2 has a regression in class loading behavior that does not correctly load the array class references. See the following bug on sun: http://developer.java.sun.com/developer/bugParade/bugs/4976356.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831636#3831636 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831636 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: setting datasource(connecting to mysql) on JBOSS
thanks for the reply... i guess that i am almost there... but i got this error message... java.lang.SecurityException: Invalid authentication attempt, any idea? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831635#3831635 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831635 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss IDE Tutorial 1.2.2 flawed? (index.html DOCTYPE tag)
Hi; In the tutorial for the JBoss IDE, page 24 of 40, the first line for the index.html is: !DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN However this causes Eclipse to report the following FATAL ERROR: Fatal error - White spaces are required between publicId and systemId. Google returns exactly 28 hits on this search, none of them helpful/relevant. Is there a typo there? Or is Eclipse misreporting? I made it smoothly past half of the tutorial and would hate to get stuck at this stage. Thank you all; -nat --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - mapping and table creating error
I have made some ejb's.witch used some xdoclet tags, when I try to deploy on jboss I get the following errors. * 20:24:54,290 ERROR [EntityContainer] Starting failed org.jboss.deployment.DeploymentException: Error while creating table FLIGHTS; - nested throwable: (java.sql.SQLException: Wrong data type: NUMBER in statement [CREAT E TABLE FLIGHTS(FLIGHT_ID NUMBER]) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createTable(JDBCStartCommand.java:231) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute(JDBCStartCommand.java:91) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:505) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:411) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:152) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:343) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) 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:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy12.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor5.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:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy58.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:330) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831637#3831637 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831637 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: mapping and table creating error
Check the datasource-mapping tag in ur XDoclet to see if ur database is specified correctly. Also are u overriding any jdbc mappings in XDoclet? Post ur XDoclet portion of the code thats failing View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831638#3831638 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831638 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re:
u mite get better responses if posted in the servlets/jsp forum. Anyway, what is ur war file name? is it fibo.war? Are u sure it got deployed fine? You can lookup the jmx-console to see if it got deployed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831639#3831639 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831639 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user