Re: [JBoss-user] SSL: documentation + bugfix
Thank you, guys, for populating the stuff. It's certainly useful, helpful and pricelessly (if it's up to date, of course ;)) But why don't you contribute it to jboss.org? It would be even better to have all the material in one place. Of course, it's your work, you are owners and it's your choice. Thank you again! alex Friday, July 05, 2002, 2:06:31 PM, you wrote: B Quoting Simon Stewart [EMAIL PROTECTED]: If anyone has any other useful HOWTOs (or corrections to or comments about the existing ones) that they'd like to see up the site, please send me an email off list, and I'll see what can be done. B I have some documentation on jBoss + Tomcat + SSL. B I also have a solution for a bug in the current release B (but I didn't receive any response on my bugreport yet). B You'll find the documentation here: B http://www.lowagie.com/techtips/ B If the people at jBoss are interested, the bugfix can be found here: B http://www.lowagie.com/techtips/ssl.html#rmi B --- B This sf.net email is sponsored by:ThinkGeek B Bringing you mounds of caffeinated joy. B http://thinkgeek.com/sf B ___ B JBoss-user mailing list B [EMAIL PROTECTED] B https://lists.sourceforge.net/lists/listinfo/jboss-user -- Best regards, Alex Loubyansky --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Simple security question
Hello Steve, have you read Scott's article on javaworld.com? If not read it first and then ask your questions if you have. good luck! Friday, July 05, 2002, 7:26:34 AM, you wrote: SK Hello, SK I have a simple security requirement...I need to restrict access to a set of jsps in my war. But I can't seem to get to work. I never get prompted for a login. SK How can I do this through JBoss? What are the steps required for simple web security using properties files and BASIC login. SK I am using JBoss 3.0 + Tomcat bundle. SK Thanks, SK Steve -- Best regards, Alex Loubyansky --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] SSL: documentation + bugfix
Quoting Alex Loubyansky [EMAIL PROTECTED]: But why don't you contribute it to jboss.org? It would be even better to have all the material in one place. Of course, it's your work, you are owners and it's your choice. By sending it to the mailing list, we are contributing it to jBoss. It's there for them to integrate it into their site. I am an Open Source developer myself (see http://itext.sourceforge.net/), so I know it's sometimes difficult to work through all the contributions. Due to lack of time, a lot of user response gets lost. --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jms security granting
Hi, I'm facing problems trying to use JMS with a security manager. I'm getting error message on both server and client side. With the following policy file, i'm getting these errors. policy file : grant { permission javax.security.auth.AuthPermission createLoginContext.TestClient; permission javax.security.auth.AuthPermission createLoginContext.other; permission java.net.SocketPermission localhost:1024-, accept,connect,listen,resolve; permission java.net.SocketPermission grsun36:1024-, accept,connect,listen,resolve; permission java.lang.RuntimePermission org.jboss.security.SecurityAssociation.setPrincipalInfo; permission java.lang.RuntimePermission org.jboss.security.SecurityAssociation.getPrincipalInfo; permission java.io.SerializablePermission enableSubstitution; }; server error : At the application launch : 10:54:50,459 ERROR [OILClientIL] Cannot connect to the ConnectionReceiver/Server java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148) at java.net.Socket.connect(Socket.java:425) at java.net.Socket.connect(Socket.java:375) at java.net.Socket.init(Socket.java:290) at java.net.Socket.init(Socket.java:146) at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:175) at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:156) at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:112) at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:853) at org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterceptorSupport.java:308) at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:630) at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:310) at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:309) at java.lang.Thread.run(Thread.java:536) 10:54:50,465 WARN [OILServerILService] Client request resulted in a server exception: org.jboss.mq.SpyJMSException: Could not pong at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:857) at org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterceptorSupport.java:308) at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:630) at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:310) at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:309) at java.lang.Thread.run(Thread.java:536) linked exception is: java.rmi.RemoteException: Cannot connect to the ConnectionReceiver/Server at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:183) at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:156) at org.jboss.mq.il.oil.OILClientIL.pong(OILClientIL.java:112) at org.jboss.mq.server.JMSDestinationManager.ping(JMSDestinationManager.java:853) at org.jboss.mq.server.JMSServerInterceptorSupport.ping(JMSServerInterceptorSupport.java:308) at org.jboss.mq.server.TracingInterceptor.ping(TracingInterceptor.java:630) at org.jboss.mq.server.JMSServerInvoker.ping(JMSServerInvoker.java:310) at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:309) at java.lang.Thread.run(Thread.java:536) And this one each time the server try to send a message over JMS : 10:55:38,083 ERROR [OILClientIL] Cannot connect to the ConnectionReceiver/Server java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148) at java.net.Socket.connect(Socket.java:425) at java.net.Socket.connect(Socket.java:375) at java.net.Socket.init(Socket.java:290) at java.net.Socket.init(Socket.java:146) at org.jboss.mq.il.oil.OILClientIL.createConnection(OILClientIL.java:175) at org.jboss.mq.il.oil.OILClientIL.checkSocket(OILClientIL.java:156) at org.jboss.mq.il.oil.OILClientIL.close(OILClientIL.java:72) at org.jboss.mq.server.JMSDestinationManager.connectionClosing(JMSDestinationManager.java:571) at org.jboss.mq.server.JMSServerInterceptorSupport.connectionClosing(JMSServerInterceptorSupport.java:112) at org.jboss.mq.security.ServerSecurityInterceptor.connectionClosing(ServerSecurityInterceptor.java:50) at org.jboss.mq.server.TracingInterceptor.connectionClosing(TracingInterceptor.java:148) at
[JBoss-user] JBoss 3.0 ClassLoader Architecture whitepaper
I'm having problems locating this document that is referred to in the forums (http://jboss.org/forums/thread.jsp?forum=67thread=15974) Does anyone know where I can get a copy? Many thanks Ian This E-mail transmission may contain confidential or legally privileged information that is intended for the addressee only. Any views or opinions presented are solely those of the author and do not necessarily represent those of CNM Limited. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or reliance upon the contents of this E-mail is strictly prohibited. If you have received this E-mail transmission in error, please notify the sender immediately, so that CNM Limited may arrange for its proper delivery. Please then delete the message from your inbox. --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Logging from within EJBs
On Mon, Jul 08, 2002 at 12:42:30AM +0200, Dimitri PISSARENKO wrote: snip Logger info does not work in my case (although logger.isDebugEnabled() returns true). Does someone know, how one can get the reference to the Logger from wihin an EJB? I found that I needed to drop the Console appenders Threshold to DEBUG. You'll also need to limit the org.jboss category to INFO if you do this, but that should be a case of editing the log4j.xml file in the server/${server.name}/conf directory. I also added a category for my own classes. The log4j.xml that ships with JBoss is well commented, so you shouldn't find anything too frightening. Cheers, Simon -- The idea of a karaoke version of ``My Way'' that lasts for 3750 minutes is just too frightening to consider. Programming Ruby, the Pragmatic Programmers --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] SSL: documentation + bugfix
The docs that I've been posting really shouldn't be needed. I've been talking with some of the jakarta tomcat connectors developers about improving the mod_jk2 docs, and have sent them patches against the CVS version's docs. The Jetty AJP13 HOWTO is now up on the Jetty site, but I've also got it up on mine because it's handy to have this stuff centralised. I'd be happy to send the Tomcat, mod_jk2 and JBoss tips to the JBoss group. Will do it after I finish my Monday morning email binge :) You're right, it would be good to have all this stuff in one place. When I finally crawl out from under my current project (another two or three weeks, unless the spec changes AGAIN) I'll try and spend some time with the JBoss site from CVS and see whether some FAQs can't be moved in. Will send the patches to jboss-dev On Mon, Jul 08, 2002 at 09:20:14AM +0300, Alex Loubyansky wrote: Thank you, guys, for populating the stuff. It's certainly useful, helpful and pricelessly (if it's up to date, of course ;)) But why don't you contribute it to jboss.org? It would be even better to have all the material in one place. Of course, it's your work, you are owners and it's your choice. Thank you again! Cheers, Simon -- I was once walking through the forest alone. A tree fell right in front of me -- and I didn't hear it. --- Steven Wright --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Jetty and Port 80
I just use apache's mod_proxy to redirect. I'm obviously a newbie to JBoss/Jetty. Excuse me if this post would be better posted elsewhere but I would greatly appreciate any thoughts on the following problem: I'm running Redhat 7.2 which has IPCHAINS enabled by default. I'vetried the suggestions for redirecting traffic (http://jetty.mortbay.com/jetty/doc/User80.html)asfollows:/sbin/ipchains -I input --proto TCP --dport 80 -j REDIRECT 8080or:/sbin/iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT--to-port 8080The IPCHAINS option doesn't work apparently because kernel is NOTcompiled with CONFIG_IP_MASQUERADE? I don't think I want to recompilea kernel...sounds pretty heavy duty.The IPTABLES option didn't work either, I'm getting the followingerror when running iptables:[[EMAIL PROTECTED] webadmin]# /sbin/iptables -L/lib/modules/2.4.9-34/kernel/net/ipv4/netfilter/ip_tables.o:init_module: Device or resource busyHint: insmod errors can be caused by incorrect module parameters,including invalid IO or IRQ parameters/lib/modules/2.4.9-34/kernel/net/ipv4/netfilter/ip_tables.o: insmod/lib/modules/2.4.9-34/kernel/net/ipv4/netfilter/ip_tables.o failed/lib/modules/2.4.9-34/kernel/net/ipv4/netfilter/ip_tables.o: insmodip_tables failediptables v1.2.4: can't initialize iptables table `filter': iptableswho? (do you need to insmod?)Perhaps iptables or your kernel needs to be upgraded.Does anybody have any suggestions to get these options to work oranother method to have Jetty/JBoss listen on port 80? It seems to me this is a basic functionality that would be used extensively or are people out there using other methods for directing their standard port 80 traffic to JBoss/Jetty on port 8080? Thanks,David Sica [EMAIL PROTECTED]
[JBoss-user] ejbHome methods for Stateful Session Bean
Hi, I've been trying to get ejbHome business methods working on a stateful session bean. Whenever I deploy the relevant bean I get a warning that the container has failed to map my home methods ... [INFO,J2eeDeployer] Create application AccessControl.jar [INFO,J2eeDeployer] install EJB module AccessControl.jar [INFO,ContainerFactory] Deploying:file:/C:/JBoss-2.4.4/tmp/deploy/Default/AccessControl.jar/ [INFO,ContainerFactory] Deploying Authentication [INFO,ContainerFactory] Deploying AccessControl [INFO,StatefulSessionContainer] authenticateUser in bean has not been mapped [INFO,AccessControl] Initializing [INFO,AccessControl] Initialized [INFO,AccessControl] Starting In this case my home interface declares the method authenticateUser(), and my bean provides the implementation as the method ejbHomeAuthenticateUser(). I've looked at the source for StatefulSessionContainer.java (both the version I'm using (JBoss 2.4.6) and the current JBoss 3.0 head). In both cases, the home method mapping source seems to suggest that the container implements the method rather than my bean. Is there an indirection through the container (in the same way that create() and ejbCreate() work) or should the method mapping look up methods directly onto my bean? Can anyone tell me what I'm doing wrong? Regards, David Burridge Visit our Internet site at http://www.rbsmarkets.com This e-mail is intended only for the addressee named above. As this e-mail may contain confidential or privileged information, if you are not the named addressee, you are not authorised to retain, read, copy or disseminate this message or any part of it. The Royal Bank of Scotland is registered in Scotland No 90312 Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB Regulated by the Financial Services Authority --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] rePost: Funky xaRes Error on BMP Entity EJB
Greetings. I am running into an odd error when doing a lookup on an Entity EJB. The Entity EJB is using BeanManagedPersistance. Any idea where I should look, or what I missed in my port to JBoss? The transaction in question is BeanManaged, as opposed to ContainerManaged. If it would help, I can post my source code. Thanks, Steve 2002-06-25 16:24:50,450 ERROR [STDERR] java.rmi.ServerException: xaRes not enlisted; nested exception is: java.lang.IllegalArgumentException: xaRes not enlisted 2002-06-25 16:24:50,451 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:119) 2002-06-25 16:24:50,451 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:176) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:104) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:118) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:487) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:726) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185) 2002-06-25 16:24:50,453 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76) #The next line is from the finder method for an BMP Entity EJB 2002-06-25 16:24:50,453 ERROR [STDERR] at $Proxy148.findByPrimaryKey(Unknown Source) #CreateSchemaEJB is a StatelessSessionEJB. 2002-06-25 16:24:50,453 ERROR [STDERR] at com.hrnexus.custsetup.ejb.CreateSchemaEJB.createSchema(CreateSchemaEJB.java:368) 2002-06-25 16:24:50,453 ERROR [STDERR] at com.hrnexus.custsetup.ejb.CreateSchemaEJB.execute(CreateSchemaEJB.java:282) -- Java Developer Looking for a new job opportunity 214-724-7741 --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re: JBoss client as Tomcat 4.0 serlet - security problem
I had simular problems using Tomcat in a separate JVM. For me it turned out that Tomcat security requires and java.* or javax.* to be in the Tomcat lib directory rather than the web application lib directory. From: Artur Jonak [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Fri, 5 Jul 2002 18:13:31 +0200 Subject: [JBoss-user] JBoss client as Tomcat 4.0 serlet - security problem Reply-To: [EMAIL PROTECTED] Hi, I have J2EE application running on JBoss2.4.4 with Tomcat 4.0.1. I try to create client application as servlet deployed in Tomcat 4.0 which runs in a separate JVM. I've got the following error when I try to create LoginContext in my servlet deployed on Tomcat 4.0. What should I do? java.lang.SecurityException: unable to instantiate LoginConfiguration at javax.security.auth.login.Configuration.getConfiguration(Configuration.java : 212) at javax.security.auth.login.LoginContext$1.run(LoginContext.java:166) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.init(LoginContext.java:163) at javax.security.auth.login.LoginContext.(LoginContext.java:319) at pl.empolis.delta.servlet.DeltaClient.login(DeltaClient.java:137) at pl.empolis.delta.servlet.DeltaClient.doLogin(DeltaClient.java:158) at pl.empolis.delta.servlet.DeltaClient.init(DeltaClient.java:57) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:856) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:621) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j a va:214) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j a va:215) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2366) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:16 4 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 66) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 64) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav a :163) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java: 5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java : 1005) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:109 8 ) at java.lang.Thread.run(Thread.java:484) Please help, Artur --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] rePost: Funky xaRes Error on BMP Entity EJB
Are you using a cvs version? I recently fixed a bug with the UserTx from the ejb context not enlisting connections. david jencks On 2002.07.08 11:39:30 -0400 Stephen Davidson wrote: Greetings. I am running into an odd error when doing a lookup on an Entity EJB. The Entity EJB is using BeanManagedPersistance. Any idea where I should look, or what I missed in my port to JBoss? The transaction in question is BeanManaged, as opposed to ContainerManaged. If it would help, I can post my source code. Thanks, Steve 2002-06-25 16:24:50,450 ERROR [STDERR] java.rmi.ServerException: xaRes not enlisted; nested exception is: java.lang.IllegalArgumentException: xaRes not enlisted 2002-06-25 16:24:50,451 ERROR [STDERR] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:119) 2002-06-25 16:24:50,451 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:176) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:104) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:118) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:487) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.ejb.Container.invoke(Container.java:726) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76) 2002-06-25 16:24:50,452 ERROR [STDERR] at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185) 2002-06-25 16:24:50,453 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76) #The next line is from the finder method for an BMP Entity EJB 2002-06-25 16:24:50,453 ERROR [STDERR] at $Proxy148.findByPrimaryKey(Unknown Source) #CreateSchemaEJB is a StatelessSessionEJB. 2002-06-25 16:24:50,453 ERROR [STDERR] at com.hrnexus.custsetup.ejb.CreateSchemaEJB.createSchema(CreateSchemaEJB.java:368) 2002-06-25 16:24:50,453 ERROR [STDERR] at com.hrnexus.custsetup.ejb.CreateSchemaEJB.execute(CreateSchemaEJB.java:282) -- Java Developer Looking for a new job opportunity 214-724-7741 --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Jetty and Port 80
Frank, Could provide me with some details on how your enabled/configured mod_proxy for Apache? Thanks, David Message: 5 From: Frank Morton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Jetty and Port 80 Date: Mon, 8 Jul 2002 10:06:14 -0500 Reply-To: [EMAIL PROTECTED] This is a multi-part message in MIME format. --=_NextPart_000_001F_01C22667.1839E6D0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I just use apache's mod_proxy to redirect. I'm obviously a newbie to JBoss/Jetty. Excuse me if this post=20 would be better posted elsewhere but I would greatly appreciate=20 any thoughts on the following problem: I'm running Redhat 7.2 which has IPCHAINS enabled by default. I've tried the suggestions for redirecting traffic=20 (http://jetty.mortbay.com/jetty/doc/User80.html) as follows: /sbin/ipchains -I input --proto TCP --dport 80 -j REDIRECT 8080 or: /sbin/iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 The IPCHAINS option doesn't work apparently because kernel is NOT compiled with CONFIG_IP_MASQUERADE? I don't think I want to recompile a kernel...sounds pretty heavy duty. The IPTABLES option didn't work either, I'm getting the following error when running iptables: [[EMAIL PROTECTED] webadmin]# /sbin/iptables -L /lib/modules/2.4.9-34/kernel/net/ipv4/netfilter/ip_tables.o: init_module: Device or resource busy Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters /lib/modules/2.4.9-34/kernel/net/ipv4/netfilter/ip_tables.o: insmod /lib/modules/2.4.9-34/kernel/net/ipv4/netfilter/ip_tables.o failed /lib/modules/2.4.9-34/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables failed iptables v1.2.4: can't initialize iptables table `filter': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. Does anybody have any suggestions to get these options to work or another method to have Jetty/JBoss listen on port 80? It seems to me this is a basic functionality that would be used = extensively=20 or are people out there using other methods for directing their = standard port 80 traffic to JBoss/Jetty on port 8080? Thanks, David Sica [EMAIL PROTECTED] --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Showstopper Undeploy Problem??
Jboss 3.0.0 Linux/JDK 1.4.0 Second time this happened in about 3 weeks. No error reported in any logs. Was running just fine, but started getting 404 errors like the url didn't exist trying to display a commonly used jsp (logon page). If I look at the jsp directory created by deploying the .war file, all of the jsps are gone except one and a directory. If I restart jboss without touching the files in the deploy directory, things go back to normal. Somehow deployed files are getting undeployed while the server is running, even though the originating .war file is untouched. Is there any temporary solution to make an application undeployable? I need help on this one. Thanks. , none of the jsp files look to be deployed now --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] mdb config
I have the following functionality I need to implement. I have a stream of data from an external source that I need to broadcast to all my java clients. The data is order dependent, the clients need to receive the data in the order published. I've implemented a message-driven bean that subscribes and takes the update, which is an xml string, converts it into our properietary data format, and re-publishes the data (along with doing a couple of other things) to all clients on another topic. Since order is important, I need to restrict the number of message driven beans created to one. How can I do this? Am I doing this the right way? Regards Eric Kaplan Armanta, Inc. 55 Madison Ave. Morristown, NJ 07960 Phone: (973) 326-9600 attachment: winmail.dat
Re: [JBoss-user] Jetty and Port 80
Look under mod_proxy on the apache site. Don't remember if it compiles into httpd by defaultthink it does. Then, when you configure apache, look in the conf files for references to mod_proxy. As an example case I use, I have the following in the apache config files that routes port 80 to 8080 for a directory/application icva: IfModule mod_proxy.c ProxyPass /icva http://YOURHOSTNAME:8080/icva ProxyPassReverse /icva http://YOURHOSTNAME:8080/icva /IfModule where YOURHOSTNAME is the hostname of your web server, like www.base2inc.com. All the default stuff on the apache config files for the mod_proxy I have commented out and things seem to work fine. This is with apache 1.3.X. --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] delayed database inserts.
hi, what's the equivalent of weblogic's delayed database inserts? i'd like to keep my foreign key constraints. barbee. --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] OracleDS binding on 3.0.1RC1?
G'day! Wondering if anyone has a solution to this. I'm trying to regress a classloader problem that I am having with 3.0 release, figured i would try 3.0.1RC1. I added classes12.jar to server/default/lib put my oracle-service.xml into server/default/deploy and the OracleDS reports it was bound to java:/OracleDS, but when my CMP2.0 tries to find it, i get a report stating Error: can't find data source: java:/OracleDS. See below for the full output (20 lines or so) from the console. Does anyone have any ideas what I am doing wrong? The names sure look the same to me... thanks! -b 13:01:51,657 INFO [MainDeployer] Starting deployment of package: file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracle-service .xml 13:01:51,737 WARN [ServiceController] jboss.jca:service=LocalTxDS,name=OracleDS does not implement any Service methods 13:01:51,737 INFO [JBossManagedConnectionPool] Creating 13:01:51,737 INFO [JBossManagedConnectionPool] Created 13:01:51,737 INFO [LocalTxConnectionManager] Creating 13:01:51,747 INFO [LocalTxConnectionManager] Created 13:01:51,747 INFO [JBossManagedConnectionPool] Starting 13:01:51,747 INFO [JBossManagedConnectionPool] Started 13:01:51,747 INFO [LocalTxConnectionManager] Starting 13:01:51,767 INFO [OracleDS] Bound connection factory for resource adapter 'JBoss LocalTransaction JDBC Wrapper' to JNDI name 'java:/OracleDS' 13:01:51,767 INFO [LocalTxConnectionManager] Started 13:01:51,767 INFO [MainDeployer] Deployed package: file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracl e-service.xml 13:01:51,767 ERROR [URLDeploymentScanner] Incomplete Deployment listing: Packages waiting for a deployer: none Incompletely deployed packages: none MBeans waiting for classes: none MBeans waiting for other MBeans: [ObjectName: jboss.j2ee:service=EJB,jndiName=ejb/bill2/Customer state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data source: java:/OracleDS; - nested throwable: (javax.naming.NameNotFoundException: OracleDS not bound)] _ If you have some ice cream, I will give it to you. If you have no ice cream, I will take it away from you. - Ice Cream Koan --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] topic service within an ear
I want to packa topic service within my ear. The problem is that the topic is created and registered in JNDI after my MDB checks forits existence. The Topic service bindsin startService() and MDB check existence of topic in createService(). Therefore MDB creates a temporary topic and after my Topic can't be bound. Is there a solution for that ?
Re: [JBoss-user] Showstopper Undeploy Problem??
Jetty and Tomcat both use Jasper as their JSP engine. This is most likely a problem with Jasper, or some other process on your box cleaning up /tmp. If you are sure that no external process is screwing things up, then one way to avoid this happening would be to precompile your JSPs. This means that you will no longer be deploying any JSPs, but compiled Servlets. Then you will have no temporarily cached class files to worry about. advantages are: - compile-time errors will be caught in development, not production - deploying to a heavily loaded site will not cause multiple concurrent compilations of e.g. index.jsp (patch submitted to Jasper) - dispatch of request to servlet is simpler and therefore quicker since it goes direct from Jetty-Servlet and not Jetty-.Jasper-Servlet. - no compile environment needed on your production box - where it may be considered a security hazard. This FAQ contains an entry on JSP precompilation which I hope will be enlightening http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/jetty/FAQ?rev=HEADcontent-type=text/vnd.viewcvs-markup Jules Frank Morton wrote: Jboss 3.0.0 Linux/JDK 1.4.0 Second time this happened in about 3 weeks. No error reported in any logs. Was running just fine, but started getting 404 errors like the url didn't exist trying to display a commonly used jsp (logon page). If I look at the jsp directory created by deploying the .war file, all of the jsps are gone except one and a directory. If I restart jboss without touching the files in the deploy directory, things go back to normal. Somehow deployed files are getting undeployed while the server is running, even though the originating .war file is untouched. Is there any temporary solution to make an application undeployable? I need help on this one. Thanks. , none of the jsp files look to be deployed now --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] delayed database inserts.
It is not implemented yet. -dain [EMAIL PROTECTED] wrote: hi, what's the equivalent of weblogic's delayed database inserts? i'd like to keep my foreign key constraints. barbee. --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Dain Sundstrom Chief Architect JBossCMP JBoss Group, LLC --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Showstopper Undeploy Problem??
More detail that may change your mind on the diagnosis. In addition to a jsp directory containing .jsp files, there were other directories, such as graphics and css that also did not show when looking at the content through the browser that were deployed as part of the same .war file. Restart jboss and everything is back leaving absolutely everything alone (ie, deploying the same .war file without replacing it). Different? Jetty and Tomcat both use Jasper as their JSP engine. This is most likely a problem with Jasper, or some other process on your box cleaning up /tmp. If you are sure that no external process is screwing things up, then one way to avoid this happening would be to precompile your JSPs. This means that you will no longer be deploying any JSPs, but compiled Servlets. Then you will have no temporarily cached class files to worry about. advantages are: - compile-time errors will be caught in development, not production - deploying to a heavily loaded site will not cause multiple concurrent compilations of e.g. index.jsp (patch submitted to Jasper) - dispatch of request to servlet is simpler and therefore quicker since it goes direct from Jetty-Servlet and not Jetty-.Jasper-Servlet. - no compile environment needed on your production box - where it may be considered a security hazard. This FAQ contains an entry on JSP precompilation which I hope will be enlightening http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/jetty/FAQ?rev=H EADcontent-type=text/vnd.viewcvs-markup Jules Frank Morton wrote: Jboss 3.0.0 Linux/JDK 1.4.0 Second time this happened in about 3 weeks. No error reported in any logs. Was running just fine, but started getting 404 errors like the url didn't exist trying to display a commonly used jsp (logon page). If I look at the jsp directory created by deploying the .war file, all of the jsps are gone except one and a directory. If I restart jboss without touching the files in the deploy directory, things go back to normal. Somehow deployed files are getting undeployed while the server is running, even though the originating .war file is untouched. Is there any temporary solution to make an application undeployable? I need help on this one. Thanks. , none of the jsp files look to be deployed now --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] OracleDS binding on 3.0.1RC1?
This might be an order-of-startup problem. If you deploy your ejbs by hand after the OracleDS is started is there a problem? You can include both in an .ear with a jboss-app.xml to get the oracle-service.xml deployed, or change the names of the packages -- I think 10oracle-service.xml and 20myejbs.jar will work. david jencks On 2002.07.08 14:27:16 -0400 Brian Topping wrote: G'day! Wondering if anyone has a solution to this. I'm trying to regress a classloader problem that I am having with 3.0 release, figured i would try 3.0.1RC1. I added classes12.jar to server/default/lib put my oracle-service.xml into server/default/deploy and the OracleDS reports it was bound to java:/OracleDS, but when my CMP2.0 tries to find it, i get a report stating Error: can't find data source: java:/OracleDS. See below for the full output (20 lines or so) from the console. Does anyone have any ideas what I am doing wrong? The names sure look the same to me... thanks! -b 13:01:51,657 INFO [MainDeployer] Starting deployment of package: file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracle-service .xml 13:01:51,737 WARN [ServiceController] jboss.jca:service=LocalTxDS,name=OracleDS does not implement any Service methods 13:01:51,737 INFO [JBossManagedConnectionPool] Creating 13:01:51,737 INFO [JBossManagedConnectionPool] Created 13:01:51,737 INFO [LocalTxConnectionManager] Creating 13:01:51,747 INFO [LocalTxConnectionManager] Created 13:01:51,747 INFO [JBossManagedConnectionPool] Starting 13:01:51,747 INFO [JBossManagedConnectionPool] Started 13:01:51,747 INFO [LocalTxConnectionManager] Starting 13:01:51,767 INFO [OracleDS] Bound connection factory for resource adapter 'JBoss LocalTransaction JDBC Wrapper' to JNDI name 'java:/OracleDS' 13:01:51,767 INFO [LocalTxConnectionManager] Started 13:01:51,767 INFO [MainDeployer] Deployed package: file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracl e-service.xml 13:01:51,767 ERROR [URLDeploymentScanner] Incomplete Deployment listing: Packages waiting for a deployer: none Incompletely deployed packages: none MBeans waiting for classes: none MBeans waiting for other MBeans: [ObjectName: jboss.j2ee:service=EJB,jndiName=ejb/bill2/Customer state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data source: java:/OracleDS; - nested throwable: (javax.naming.NameNotFoundException: OracleDS not bound)] _ If you have some ice cream, I will give it to you. If you have no ice cream, I will take it away from you. - Ice Cream Koan --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] topic service within an ear
MDB shouldn't rely on the existence of outside objects until the start step. How hard would this be to change? david jencks On 2002.07.08 14:57:17 -0400 Julien Viet wrote: I want to pack a topic service within my ear. The problem is that the topic is created and registered in JNDI after my MDB checks for its existence. The Topic service binds in startService() and MDB check existence of topic in createService(). Therefore MDB creates a temporary topic and after my Topic can't be bound. Is there a solution for that ? !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD META http-equiv=Content-Type content=text/html; charset=iso-8859-1 META content=MSHTML 6.00.2600.0 name=GENERATOR STYLE/STYLE /HEAD BODY bgColor=#ff DIVFONT face=Arial size=2nbsp;I want to packnbsp;a topic service within my ear./FONT/DIV DIVFONT face=Arial size=2/FONTnbsp;/DIV DIVFONT face=Arial size=2nbsp;The problem is that the topic is created and registered in JNDI afternbsp; /FONTFONT face=Arial size=2my MDB checks fornbsp;its existence./FONT/DIV DIVFONT face=Arial size=2/FONTnbsp;/DIV DIVFONT face=Arial size=2nbsp;The Topic service bindsnbsp;in startService() and MDB check existence of topic in createService()./FONT/DIV DIVFONT face=Arial size=2/FONTnbsp;/DIV DIVFONT face=Arial size=2nbsp;Therefore MDB creates /FONTFONT face=Arial size=2a temporary topic and after my Topic can't be bound./FONT/DIV DIVFONT face=Arial size=2/FONTnbsp;/DIV DIVFONT face=Arial size=2nbsp;Is there a solution for that ?/FONT/DIV DIVFONT face=Arial size=2/FONTnbsp;/DIV/BODY/HTML --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Viewing JBoss's log file with Chainsaw
Hello! On the log4j homepage I found the description of a tool which can display log4j XML logfiles in a convenient way. Is it possible to configure JBoss so, that I can use Chainsaw (or other open-source GUI) in order to view the log file (instead of a text editor or console window) ? How? Thanks Dimitri Pissarenko --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Logging from within EJBs
Hello! Thanks everyone, now logging works as desired! Dimitri On Mon, 8 Jul 2002 12:27:09 +0100, you wrote: On Mon, Jul 08, 2002 at 12:42:30AM +0200, Dimitri PISSARENKO wrote: snip Logger info does not work in my case (although logger.isDebugEnabled() returns true). Does someone know, how one can get the reference to the Logger from wihin an EJB? I found that I needed to drop the Console appenders Threshold to DEBUG. You'll also need to limit the org.jboss category to INFO if you do this, but that should be a case of editing the log4j.xml file in the server/${server.name}/conf directory. I also added a category for my own classes. The log4j.xml that ships with JBoss is well commented, so you shouldn't find anything too frightening. Cheers, Simon --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] OracleDS binding on 3.0.1RC1?
Even suggestions of how I can start to trace down this problem, where to look, etc. would be appreciated... best, -b -Original Message- From: Brian Topping Sent: Monday, July 08, 2002 2:27 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] OracleDS binding on 3.0.1RC1? G'day! Wondering if anyone has a solution to this. I'm trying to regress a classloader problem that I am having with 3.0 release, figured i would try 3.0.1RC1. I added classes12.jar to server/default/lib put my oracle-service.xml into server/default/deploy and the OracleDS reports it was bound to java:/OracleDS, but when my CMP2.0 tries to find it, i get a report stating Error: can't find data source: java:/OracleDS. See below for the full output (20 lines or so) from the console. Does anyone have any ideas what I am doing wrong? The names sure look the same to me... thanks! -b 13:01:51,657 INFO [MainDeployer] Starting deployment of package: file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy /oracle-service .xml 13:01:51,737 WARN [ServiceController] jboss.jca:service=LocalTxDS,name=OracleDS does not implement any Service methods 13:01:51,737 INFO [JBossManagedConnectionPool] Creating 13:01:51,737 INFO [JBossManagedConnectionPool] Created 13:01:51,737 INFO [LocalTxConnectionManager] Creating 13:01:51,747 INFO [LocalTxConnectionManager] Created 13:01:51,747 INFO [JBossManagedConnectionPool] Starting 13:01:51,747 INFO [JBossManagedConnectionPool] Started 13:01:51,747 INFO [LocalTxConnectionManager] Starting 13:01:51,767 INFO [OracleDS] Bound connection factory for resource adapter 'JBoss LocalTransaction JDBC Wrapper' to JNDI name 'java:/OracleDS' 13:01:51,767 INFO [LocalTxConnectionManager] Started 13:01:51,767 INFO [MainDeployer] Deployed package: file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracl e-service.xml 13:01:51,767 ERROR [URLDeploymentScanner] Incomplete Deployment listing: Packages waiting for a deployer: none Incompletely deployed packages: none MBeans waiting for classes: none MBeans waiting for other MBeans: [ObjectName: jboss.j2ee:service=EJB,jndiName=ejb/bill2/Customer state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data source: java:/OracleDS; - nested throwable: (javax.naming.NameNotFoundException: OracleDS not bound)] _ If you have some ice cream, I will give it to you. If you have no ice cream, I will take it away from you. - Ice Cream Koan --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] weblogic -- 3.0.0 -- 3.0.1 very buggy
-Original Message- From: Dain Sundstrom [mailto:[EMAIL PROTECTED]] Subject: Re: [JBoss-user] weblogic -- 3.0.0 -- 3.0.1 very buggy The Oracle drivers are very buggy. The only reason they work with weblogic is bea coded around Oracle specific bugs. At JBoss we try not to pander to any vendors no matter how big they are. Hi Dain, What is your suggestion on databases then? Would it be wise to put some not-so-subtle pressure on Oracle by putting the problems up in the main site? Seems like unabashed public statements of why 'xyz DB is better than Oracle...' would be better than the periodic oracle sucks... :-) Here are some reasons I want to use Oracle: 1) I know it well 2) Biggest set of backup and scalability options 3) Stream access to BLOBs 4) EJB in the database (possibly a red herring, but i still want to check it out) 5) Legacy SQL integration with increasing support for XML (see footnote above) 6) Interested in, but not blown away by, 9ifs. I don't know where I am going to get all these features, or even the promise of them all working together, from anyone but Oracle. That makes it pretty difficult to ignore them. MySQL is cool, but the list above is hard for them to beat today. The problems you speak of are fundamental problems but seem overshadowed by the wealth of options and support (even if only for documentation) that they provide. You'll never hear me say that JBoss isn't a great product. I've never been a big BEA user, but if the comparo between BEA and JBoss sounds a bit like M$ and Apple, that of brute-force compatibility and that of engineering elegance and excellence. I think the latter gets noticed and puts products on people's radar, but the maturity of a product and long-term adoption is really defined by the former. It's pretty clear you are disappointed with Oracle for shipping buggy drivers, and who knows, in some parallel universe, Oracle might have been paid off by BEA to keep them that way. It sure is a good way to keep competitors out of their space. But that's my point. By steering clear of the specifics required for something as important as database integration, JBoss is *working against itself* to keep itself out of the race with BEA. BEA has to do nothing to keep you guys at bay except keep you hating Oracle! Marc might want to consider steering ppl your way to get you some help on this problem. *Somebody* is going to have to code these workarounds, and if it isn't a part of the JBoss code base, it's going to have to be a part of every developer's code base. When it comes to deployment with CMP, it is a problem that becomes almost impossible to resolve, since the CMP client code is relying completely on the container and it's parents for proper code execution. I suppose I'll start looking at the problems when I get to them, I don't think I'll have much choice. And I can't work on these problems until I have a business need for them to be fixed. k, peas out... just wanted to toss out some thoughts... -b --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] [SOLVED] OracleDS binding on 3.0.1RC1?
Indeed, this seems to be the problem. I initially didn't suspect this, because the error I posted was observed during manual deployment of the ejb jar, but it seems to be working now. Thanks David!! -b -Original Message- From: David Jencks [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 4:02 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] OracleDS binding on 3.0.1RC1? This might be an order-of-startup problem. If you deploy your ejbs by hand after the OracleDS is started is there a problem? You can include both in an .ear with a jboss-app.xml to get the oracle-service.xml deployed, or change the names of the packages -- I think 10oracle-service.xml and 20myejbs.jar will work. david jencks On 2002.07.08 14:27:16 -0400 Brian Topping wrote: G'day! Wondering if anyone has a solution to this. I'm trying to regress a classloader problem that I am having with 3.0 release, figured i would try 3.0.1RC1. I added classes12.jar to server/default/lib put my oracle-service.xml into server/default/deploy and the OracleDS reports it was bound to java:/OracleDS, but when my CMP2.0 tries to find it, i get a report stating Error: can't find data source: java:/OracleDS. See below for the full output (20 lines or so) from the console. Does anyone have any ideas what I am doing wrong? The names sure look the same to me... thanks! -b 13:01:51,657 INFO [MainDeployer] Starting deployment of package: file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy /oracle-service .xml 13:01:51,737 WARN [ServiceController] jboss.jca:service=LocalTxDS,name=OracleDS does not implement any Service methods 13:01:51,737 INFO [JBossManagedConnectionPool] Creating 13:01:51,737 INFO [JBossManagedConnectionPool] Created 13:01:51,737 INFO [LocalTxConnectionManager] Creating 13:01:51,747 INFO [LocalTxConnectionManager] Created 13:01:51,747 INFO [JBossManagedConnectionPool] Starting 13:01:51,747 INFO [JBossManagedConnectionPool] Started 13:01:51,747 INFO [LocalTxConnectionManager] Starting 13:01:51,767 INFO [OracleDS] Bound connection factory for resource adapter 'JBoss LocalTransaction JDBC Wrapper' to JNDI name 'java:/OracleDS' 13:01:51,767 INFO [LocalTxConnectionManager] Started 13:01:51,767 INFO [MainDeployer] Deployed package: file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracl e-service.xml 13:01:51,767 ERROR [URLDeploymentScanner] Incomplete Deployment listing: Packages waiting for a deployer: none Incompletely deployed packages: none MBeans waiting for classes: none MBeans waiting for other MBeans: [ObjectName: jboss.j2ee:service=EJB,jndiName=ejb/bill2/Customer state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data source: java:/OracleDS; - nested throwable: (javax.naming.NameNotFoundException: OracleDS not bound)] _ If you have some ice cream, I will give it to you. If you have no ice cream, I will take it away from you. - Ice Cream Koan --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] topic service within an ear
I think it should not be hard to change, just move the createDestination() call from create() in start() in the JMSContainerInvoker. - Original Message - From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 08, 2002 4:05 PM Subject: Re: [JBoss-user] topic service within an ear MDB shouldn't rely on the existence of outside objects until the start step. How hard would this be to change? david jencks On 2002.07.08 14:57:17 -0400 Julien Viet wrote: I want to pack a topic service within my ear. The problem is that the topic is created and registered in JNDI after my MDB checks for its existence. The Topic service binds in startService() and MDB check existence of topic in createService(). Therefore MDB creates a temporary topic and after my Topic can't be bound. Is there a solution for that ? !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEAD META http-equiv=Content-Type content=text/html; charset=iso-8859-1 META content=MSHTML 6.00.2600.0 name=GENERATOR STYLE/STYLE /HEAD BODY bgColor=#ff DIVFONT face=Arial size=2nbsp;I want to packnbsp;a topic service within my ear./FONT/DIV DIVFONT face=Arial size=2/FONTnbsp;/DIV DIVFONT face=Arial size=2nbsp;The problem is that the topic is created and registered in JNDI afternbsp; /FONTFONT face=Arial size=2my MDB checks fornbsp;its existence./FONT/DIV DIVFONT face=Arial size=2/FONTnbsp;/DIV DIVFONT face=Arial size=2nbsp;The Topic service bindsnbsp;in startService() and MDB check existence of topic in createService()./FONT/DIV DIVFONT face=Arial size=2/FONTnbsp;/DIV DIVFONT face=Arial size=2nbsp;Therefore MDB creates /FONTFONT face=Arial size=2a temporary topic and after my Topic can't be bound./FONT/DIV DIVFONT face=Arial size=2/FONTnbsp;/DIV DIVFONT face=Arial size=2nbsp;Is there a solution for that ?/FONT/DIV DIVFONT face=Arial size=2/FONTnbsp;/DIV/BODY/HTML --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Showstopper Undeploy Problem??
Frank Morton wrote: More detail that may change your mind on the diagnosis. In addition to a jsp directory containing .jsp files, there were other directories, such as graphics and css that also did not show when looking at the content through the browser that were deployed as part of the same .war file. Restart jboss and everything is back leaving absolutely everything alone (ie, deploying the same .war file without replacing it). Different? No. Restarting JBoss would redeploy every app to Jetty, which would rebuild any temporary caches on disk. Simply touching the webapp that is displaying the problem would probably have the same effect, since it would redeploy it. when you say jsp directory created by deploying the .war file exactly which directory are you talkng about ? Jules Jetty and Tomcat both use Jasper as their JSP engine. This is most likely a problem with Jasper, or some other process on your box cleaning up /tmp. If you are sure that no external process is screwing things up, then one way to avoid this happening would be to precompile your JSPs. This means that you will no longer be deploying any JSPs, but compiled Servlets. Then you will have no temporarily cached class files to worry about. advantages are: - compile-time errors will be caught in development, not production - deploying to a heavily loaded site will not cause multiple concurrent compilations of e.g. index.jsp (patch submitted to Jasper) - dispatch of request to servlet is simpler and therefore quicker since it goes direct from Jetty-Servlet and not Jetty-.Jasper-Servlet. - no compile environment needed on your production box - where it may be considered a security hazard. This FAQ contains an entry on JSP precompilation which I hope will be enlightening http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/jetty/FAQ?rev=H EADcontent-type=text/vnd.viewcvs-markup Jules Frank Morton wrote: Jboss 3.0.0 Linux/JDK 1.4.0 Second time this happened in about 3 weeks. No error reported in any logs. Was running just fine, but started getting 404 errors like the url didn't exist trying to display a commonly used jsp (logon page). If I look at the jsp directory created by deploying the .war file, all of the jsps are gone except one and a directory. If I restart jboss without touching the files in the deploy directory, things go back to normal. Somehow deployed files are getting undeployed while the server is running, even though the originating .war file is untouched. Is there any temporary solution to make an application undeployable? I need help on this one. Thanks. , none of the jsp files look to be deployed now --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] OracleDS binding on 3.0.1RC1?
Brian == Brian Topping [EMAIL PROTECTED] writes: Brian G'day! Wondering if anyone has a solution to this. I'm Brian trying to regress a classloader problem that I am having Brian with 3.0 release, figured i would try 3.0.1RC1. I added Brian classes12.jar to server/default/lib put my Brian oracle-service.xml into server/default/deploy and the Brian OracleDS reports it was bound to java:/OracleDS, but when Brian my CMP2.0 tries to find it, i get a report stating Error: Brian can't find data source: java:/OracleDS. See below for the Brian full output (20 lines or so) from the console. Brian Does anyone have any ideas what I am doing wrong? The Brian names sure look the same to me... The format of the *-service.xml changed for 3.0.1RC1. For example, diffing the example jca adapter files from jboss/docs/examples/jca shows the following: diff -u jdatastore-service.xml ~/jboss/jboss-3.0.1RC1_tomcat-4.0.4/docs/examples/jca/jdatastore-service.xml --- jdatastore-service.xml Fri May 31 11:06:17 2002 +++ +/home/bcotton/jboss/jboss-3.0.1RC1_tomcat-4.0.4/docs/examples/jca/jdatastore-service.xml +Sat Jun 29 18:32:10 2002 @@ -83,7 +83,7 @@ /depends depends optional-attribute-name=CachedConnectionManagerjboss.jca:service=CachedConnectionManager/depends -depends optional-attribute-name=JaasSecurityManagerServicejboss.security:name=JaasSecurityManager/depends +depends +optional-attribute-name=JaasSecurityManagerServicejboss.security:service=JaasSecurityManager/depends attribute name=TransactionManagerjava:/TransactionManager/attribute !--make the rar deploy! hack till better deployment-- Change 'name' to 'service' Hope that helps. -Bob Brian 13:01:51,657 INFO [MainDeployer] Starting deployment of Brian package: Brian file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracle-service Brian .xml 13:01:51,737 WARN [ServiceController] Brian jboss.jca:service=LocalTxDS,name=OracleDS does not Brian implement any Service methods 13:01:51,737 INFO Brian [JBossManagedConnectionPool] Creating 13:01:51,737 INFO Brian [JBossManagedConnectionPool] Created 13:01:51,737 INFO Brian [LocalTxConnectionManager] Creating 13:01:51,747 INFO Brian [LocalTxConnectionManager] Created 13:01:51,747 INFO Brian [JBossManagedConnectionPool] Starting 13:01:51,747 INFO Brian [JBossManagedConnectionPool] Started 13:01:51,747 INFO Brian [LocalTxConnectionManager] Starting 13:01:51,767 INFO Brian [OracleDS] Bound connection factory for resource adapter Brian 'JBoss LocalTransaction JDBC Wrapper' to JNDI name Brian 'java:/OracleDS' 13:01:51,767 INFO Brian [LocalTxConnectionManager] Started 13:01:51,767 INFO Brian [MainDeployer] Deployed package: Brian file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracl Brian e-service.xml 13:01:51,767 ERROR [URLDeploymentScanner] Brian Incomplete Deployment listing: Packages waiting for a Brian deployer: Brian none Brian Incompletely deployed packages: Brian none Brian MBeans waiting for classes: Brian none Brian MBeans waiting for other MBeans: [ObjectName: Brian jboss.j2ee:service=EJB,jndiName=ejb/bill2/Customer Brian state: FAILED I Depend On: Depends On Me: Brian org.jboss.deployment.DeploymentException: Error: can't Brian find Brian data source: java:/OracleDS; - nested throwable: Brian (javax.naming.NameNotFoundException: OracleDS not bound)] Brian _ Brian If you have some ice cream, I will give it to you. If you Brian have no ice cream, I will take it away from you. Brian - Ice Cream Koan Brian --- Brian This sf.net email is sponsored by:ThinkGeek Oh, it's good Brian to be a geek. http://thinkgeek.com/sf Brian ___ JBoss-user Brian mailing list [EMAIL PROTECTED] Brian https://lists.sourceforge.net/lists/listinfo/jboss-user -- SynXis Corporation | [EMAIL PROTECTED]| Obstacles are those frightful 1610 Wynkoop, Suite 400 | Ph: (303)595-2511 | things you see when you take your Denver, CO 80202 | Fax:(303)534-4257 | eyes off your goal. -Henry Ford --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] bind external LDAP context into jboss3.0 server JNDI context
Title: bind external LDAP context into jboss3.0 server JNDI context Hi I am new to this mail list and new to JBoss 3.0. I am following the Jboss document for federating external LDAP into Jboss JNDI context using ExternalContext MBean. From JNDIView MBean, I can see the service=ExternalContext is registed under right jndiName in the DefaultDomain. But I can't see the external LDAP contents. Is something wrong already here? I wrote a very simple bean and deployed into the jboss. The part of the code looks as following: DirContext iniCtx = new InitialDirContext(); DirContext ldapCtx = (DirContext)iniCtx.lookup(external/ldap/iplanet); Attributes attrs = ldapCtx.getAttributes(uid=3Gold, ou=People); When it executes getAttributes(), it throws java.rmi.ServerException: Naming lookup failure: Not an instance of DirContext. The attached is the ldap-service.xml for deploying external LDAP through ExternalContext MBean. One thing I am not sure in this file is the Properties attribute. I tried all values I can think of, such as file:///SAAS_Home/config/saas_ldap.properties, C:/SAAS_Home/config/saas_ldap.properties, c:\\SAAS_Home\\config\\saas_ldap.properties, file:/C:/SAAS_Home/config/saas_ldap.properties I searched the jboss-user mailing by key words such as DirContext, LDAP, naming lookup and ExternalContext and etc. I could not find too much help. Any help will be greatly appreciated! -Minsheng
Re: [JBoss-user] OracleDS binding on 3.0.1RC1?
Brian Topping wrote: Even suggestions of how I can start to trace down this problem, where to look, etc. would be appreciated... best, -b -Original Message- From: Brian Topping Sent: Monday, July 08, 2002 2:27 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] OracleDS binding on 3.0.1RC1? G'day! Wondering if anyone has a solution to this. I'm trying to regress a classloader problem that I am having with 3.0 release, figured i would try 3.0.1RC1. I added classes12.jar to server/default/lib put my oracle-service.xml into server/default/deploy and the OracleDS reports it was bound to java:/OracleDS, but when my CMP2.0 tries to find it, i get a report stating Error: can't find data source: java:/OracleDS. See below for the full output (20 lines or so) from the console. Does anyone have any ideas what I am doing wrong? The names sure look the same to me... thanks! -b 13:01:51,657 INFO [MainDeployer] Starting deployment of package: file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy /oracle-service .xml 13:01:51,737 WARN [ServiceController] jboss.jca:service=LocalTxDS,name=OracleDS does not implement any Service methods 13:01:51,737 INFO [JBossManagedConnectionPool] Creating 13:01:51,737 INFO [JBossManagedConnectionPool] Created 13:01:51,737 INFO [LocalTxConnectionManager] Creating 13:01:51,747 INFO [LocalTxConnectionManager] Created 13:01:51,747 INFO [JBossManagedConnectionPool] Starting 13:01:51,747 INFO [JBossManagedConnectionPool] Started 13:01:51,747 INFO [LocalTxConnectionManager] Starting 13:01:51,767 INFO [OracleDS] Bound connection factory for resource adapter 'JBoss LocalTransaction JDBC Wrapper' to JNDI name 'java:/OracleDS' 13:01:51,767 INFO [LocalTxConnectionManager] Started 13:01:51,767 INFO [MainDeployer] Deployed package: file:/C:/dev/jboss-3.0.1RC1_tomcat-4.0.4/server/default/deploy/oracl e-service.xml 13:01:51,767 ERROR [URLDeploymentScanner] Incomplete Deployment listing: Packages waiting for a deployer: none Incompletely deployed packages: none MBeans waiting for classes: none MBeans waiting for other MBeans: [ObjectName: jboss.j2ee:service=EJB,jndiName=ejb/bill2/Customer state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Error: can't find data source: java:/OracleDS; - nested throwable: (javax.naming.NameNotFoundException: OracleDS not bound)] _ If you have some ice cream, I will give it to you. If you have no ice cream, I will take it away from you. - Ice Cream Koan --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user I had the same problem with some ather databases with jboss3.RC1 in oracle-services.xml change name to service under JaasSecurity like in my file now I have depends optional-attribute-name=CachedConnectionManagerjboss.jca:service=CachedConnectionManager/depends depends optional-attribute-name=JaasSecurityManagerServicejboss.security:servicethis was changed from name to service)=JaasSecurityManager/depends --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss 3.0 Quick Guide
Hi Geeks I am going to finish the JBoss 3.0 Quick Guide that can be found under http://sourceforge.net/project/showfiles.php?group_id=22866release_id=97289 So if you have feedback for it please send it directly to me. Note that the template project is a separate download just underneath the Quick Guide. Have a nice day x Andreas Schaefer Senior Consultant JBoss Group, LLC x --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Deploying an expanded WAR file
Hi. I'm using JBoss 3.0.0 with the embedded Jetty. I'm trying to deploy my war file as a directory. I named my directory myapp.war. In it were some jsp's, html, and the required WEB-INF/web.xml. I put this in my jboss-service.xml: mbean code=org.jboss.deployment.scanner.URLDirectoryScanner name=jboss.deployment:type=DeploymentScanner,flavor=URL attribute name=URLs urls dir name=C:/projects/myapp.war / /urls /attribute /mbean But when I restarted JBoss, the deployer seemed to try to deploy each and every file in the directory, failing each time because the jsp files weren't valid zip files (duh). What might I be doing wrong? Thanks, Jim --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Deploying an expanded WAR file
You might try something like urls dir name=C:/projects/ / /urls I'm not quite sure what the scanner uses to decide if it should scan a directory or deploy it. I think it always scans directories and deploys files. You might also try urls dir name=file://C:/projects/myapp.war / /urls david jencks On 2002.07.08 22:45:22 -0400 Jim Crossley wrote: Hi. I'm using JBoss 3.0.0 with the embedded Jetty. I'm trying to deploy my war file as a directory. I named my directory myapp.war. In it were some jsp's, html, and the required WEB-INF/web.xml. I put this in my jboss-service.xml: mbean code=org.jboss.deployment.scanner.URLDirectoryScanner name=jboss.deployment:type=DeploymentScanner,flavor=URL attribute name=URLs urls dir name=C:/projects/myapp.war / /urls /attribute /mbean But when I restarted JBoss, the deployer seemed to try to deploy each and every file in the directory, failing each time because the jsp files weren't valid zip files (duh). What might I be doing wrong? Thanks, Jim --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Deploying an expanded WAR file
That worked! Thanks very much, Jim - Original Message - From: David Jencks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 08, 2002 11:23 PM Subject: Re: [JBoss-user] Deploying an expanded WAR file You might try something like urls dir name=C:/projects/ / /urls I'm not quite sure what the scanner uses to decide if it should scan a directory or deploy it. I think it always scans directories and deploys files. You might also try urls dir name=file://C:/projects/myapp.war / /urls david jencks On 2002.07.08 22:45:22 -0400 Jim Crossley wrote: Hi. I'm using JBoss 3.0.0 with the embedded Jetty. I'm trying to deploy my war file as a directory. I named my directory myapp.war. In it were some jsp's, html, and the required WEB-INF/web.xml. I put this in my jboss-service.xml: mbean code=org.jboss.deployment.scanner.URLDirectoryScanner name=jboss.deployment:type=DeploymentScanner,flavor=URL attribute name=URLs urls dir name=C:/projects/myapp.war / /urls /attribute /mbean But when I restarted JBoss, the deployer seemed to try to deploy each and every file in the directory, failing each time because the jsp files weren't valid zip files (duh). What might I be doing wrong? Thanks, Jim --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] How to find Deployed Applications in JBoss3.0?--help
Hi All, I am using JBoss3.0.Here i implemented the following code and i get the following exception. try { ObjectName containerFactory = null; containerFactory = new ObjectName( jboss.system:service=MainDeployer); (RMIAdaptorImpl_Stub).invoke(containerFactory, listDeployed, new Object[] {}, new String[] {}); } catch(Exception ex2) { ex2.printStackTrace(); } Exception : --- java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: org.jboss.deployment.DeploymentInfo java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: org.jboss.deployment.DeploymentInfo at java.io.ObjectInputStream.readObject(ObjectInputStream.java:445) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at java.util.ArrayList.readObject(ArrayList.java:531) at java.lang.reflect.Method.invoke(Native Method) at java.io.ObjectInputStream.invokeObjectReader(ObjectInputStream.java:2214) at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1411) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236) at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:300) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:134) at org.jboss.jmx.adaptor.rmi.RMIAdaptorImpl_Stub.invoke(Unknown Source) at GetMBeanServer.main(GetMBeanServer.java:93) Is this the rigth way to get the applications deployed into the JBoss3.0 server?If yes,how do i resolve this exception? If no,please do help me how to find out the deployed applications? Thanks in Advance. --Jagan. --- This sf.net email is sponsored by:ThinkGeek Stuff, things, and much much more. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user