AW: [JBoss-user] Fastest (and stable) way to turn existing EJBs into Web Services?
-Ursprüngliche Nachricht- >Von: Joe Hung [mailto:[EMAIL PROTECTED]] >Gesendet: Mittwoch, 18. Dezember 2002 02:30 >An: [EMAIL PROTECTED] >Betreff: [JBoss-user] Fastest (and stable) way to turn existing EJBs into Web Services? >if I want to achieve it within the next 2 months? Depends on which JBoss version you want to use and which Web Service requirements you have. >1) Use JBoss with Axis (what version?) >2) Use JBoss.net (what version?) JBoss.net really is Axis with a bit of comfortability around. I will have backported the JBoss4(head)+Axis1(release) combo into JBoss3.2(beta)+Axis1(release) by the end of this year. If - that stability is what you are content with and - you stick pretty much with the "SLSB as Web Service, JavaBean as XML-Structures" approach and - you are satisfied with http-auth security and - you do not want sophisticated XML-registry support I guess that jboss.net could be your choice, especially since the xdoclet task makes it very easy to build. We will also care about smoothly migrating to the J2EE1.4 spec from the web service archive design. >3) Use 3rd party tools like GLUE. I have no experience with it. But they make a good and advanced impression (which they should for the money ;-), nevertheless seems to be somewhat proprietary. What about Altoweb? CGJ ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] error in using pgsql 7.2
Title: Èü°ÙÍþµÚ77Æڳɹ¦µÄÏîÄ¿¹ÜÀí¼¯Ñµ My version of JBoss is 3.0.2 running in Mandrake 8.2 . My steps are described below.Could somebody help me identify the error?Thanks very much. 1. copy postgres-service.xml to $JBOSS_HOME/server/default/deploy 2. add a login module configuration as below to login-config.xml postgres postgres jboss.jca:service=LocalTxCM,name=PostgresDS 3. copy my sample jar file to $JBOSS_HOME/server/default/deploy with jbosscmp-jdbc.xml modified as java:/DefaultDS PostgreSQL 7.2 true true 4. get the following error.(It works fine if I use the Hypersonic SQL).I've also tried the create table statement in my postgreSQL and it works ok. 09:27:04,585 INFO [MainDeployer] Starting deployment of package: file:/usr/local/java/jboss-3.0.2/server/default/deploy/titan.jar09:27:04,648 INFO [EjbModule] Creating09:27:04,667 INFO [EjbModule] Deploying CustomerEJB09:27:04,694 INFO [EjbModule] Created09:27:04,695 INFO [EjbModule] Starting09:27:04,876 WARN [ServiceController] Problem starting service jboss.j2ee:service=EJB,jndiName=CustomerHomeRemoteorg.jboss.deployment.DeploymentException: Error while creating table; - nested throwable: (java.sql.SQLException: Wrong data type: INT4 in statement [CREATE TABLE CUSTOMER (ID INT4 NOT NULL, LAST_NAME TEXT, FIRST_NAME TEXT, HAS_GOOD_CREDIT BOOLEAN NOT NULL, CONSTRAINT PK_CUSTOMER PRIMARY KEY (ID))]) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createTable(JDBCStartCommand.java:175) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute(JDBCStartCommand.java:84) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:457) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:369) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198) at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376) at org.jboss.ejb.Container.invoke(Container.java:764) at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967) at $Proxy5.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:396) at sun.reflect.GeneratedMethodAccessor7.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:517) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy71.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:430) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164) 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:517) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967) at $Proxy5.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:396) at sun.reflect.GeneratedMethodAccessor7.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:517) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy9.start(Unknown Source) at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:394) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.la
Re: [JBoss-user] Using Apache web server - yes or no?
Linux .. echo 1 > /proc/sys/net/ipv4/ip_forward ipchains -A input -p tcp -d 0.0.0.0/0 443 -j REDIRECT 8443 ipchains -A input -p tcp -d 0.0.0.0/0 80 -j REDIRECT 8080 João Clemente wrote: On Tue, 17 Dec 2002 16:26:20 -0600 Dan Christopherson <[EMAIL PROTECTED]> wrote: Another thing to remember is that JBoss must run as root to listen on port 80 or 443. That would be something that security conscious people might not want to do on a public server. About that particular issue, what's the problem with setting port forwarding (or whatever it's named) from 80 -> 8080 and from 443 -> whatever ?!? That would enable to use jboss as a normal user. (Think as this as a generic administration/security question, and not JBoss specific. I'm wondering what is the problem of this solution for the issue of running whatever software as root.) --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Internationalization of EJB data
there are several aspects of i18n. Java already makes it easy by doing utf8 internally. the problem usually is when you serialize the (utf8) data into the DB and getting it out of DB. (and of course linguistic sorting). if your db support utf-8 varchar (like an oracle) things might be easier. otherwise you might have to do utf-8 serialization to/from your db (BMP) or tweak the CMP mapping (CMP). -joe -Original Message- From: Jordan Thomas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 12:27 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Internationalization of EJB data Hi, What is the best way to internationalize my entity bean data. My initial way was to use a compound primary key but JBoss doesn't seem to like this. Is there a "standard" or popular pattern for doing this? Any good articles? thanks Jordan --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Fastest (and stable) way to turn existing EJBs into Web Services?
There were some guys at a SeaJUG meeting a while back from someplace that did this. For some reason the name Silverstream is coming to mind. If that's the right name it looks like they've been assimilated by Novell. http://www.silverstream.com/Website/app/en_US/Home -M@ On Tuesday, December 17, 2002, at 05:29 PM, Joe Hung wrote: ...if I want to achieve it within the next 2 months? 1) Use JBoss with Axis (what version?) 2) Use JBoss.net (what version?) 3) Use 3rd party tools like GLUE. Really needs the answer...anybody out there with web service deployment experience? Thanks in advance. -joe --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Fastest (and stable) way to turn existing EJBs into WebServices?
...if I want to achieve it within the next 2 months? 1) Use JBoss with Axis (what version?) 2) Use JBoss.net (what version?) 3) Use 3rd party tools like GLUE. Really needs the answer...anybody out there with web service deployment experience? Thanks in advance. -joe --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Using Apache web server - yes or no?
On Tue, 17 Dec 2002 16:26:20 -0600 Dan Christopherson <[EMAIL PROTECTED]> wrote: > Another thing to remember is that JBoss must run as root to listen on > port 80 or 443. That would be something that security conscious people > might not want to do on a public server. About that particular issue, what's the problem with setting port forwarding (or whatever it's named) from 80 -> 8080 and from 443 -> whatever ?!? That would enable to use jboss as a normal user. (Think as this as a generic administration/security question, and not JBoss specific. I'm wondering what is the problem of this solution for the issue of running whatever software as root.) -- João Pedro Clemente - jpcl (at) rnl ist utl pt " Why can't women put the toilet seat back up? " --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Using Apache web server - yes or no?
http://jetty.mortbay.com/jetty/doc/User80.html You want packet filtering anyway if you are security conscious. On Tue, 17 Dec 2002, Dan Christopherson wrote: > Another thing to remember is that JBoss must run as root to listen on > port 80 or 443. That would be something that security conscious people > might not want to do on a public server. > > -danch > > Larry O wrote: > > I would suggest another criteria. If your application is on an intranet > > or private network and traffic is low, by all means omit apache. > > However, many of us put apache on or outside a firewall, and keep our > > application server safely inside. The fewer services running on the > > exposed server, the better. > > > > My 2 cents. > > Larry > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]] On Behalf Of Pete Beck > > Sent: Tuesday, December 17, 2002 11:17 AM > > To: [EMAIL PROTECTED] > > Subject: Re: [JBoss-user] Using Apache web server - yes or no? > > > > > > Just to throw my 2 cents worth in, > > My app uses mostly dynamic content and I have tried using apache as a > > front end, tomcat 4 and Jetty. > > > > In my tests, using apache as a front end added a significant latency to > > serving the content from JBoss. > > > > So I would say yes, you may get benefits on your static content if you > > use apache, but you will also lose performance on your dynamic content. > > > > In my app I dropped apache as a front end as I was getting noticeably > > better performance with tomcat standalone. > > > > Eventually I switched to using to Jetty as it is shipped by default with > > JBoss now, and it seems snappier than tomcat. > > > > A good deciding factor therefore seems to be the ratio of static vs. > > dynamic content on your site. > > > > On Tue, 2002-12-10 at 14:18, Joao Pedro Clemente wrote: > > > >>Andreas, please explain a little bit better where will we get more > >>performance. I can be (and surely am) wrong in my reasoning, but the > >>original message says explicitly "ONLY dynamic applications". So, you > >>say apache should be used to serve images/html... as far as I know, > >>that is static content. So, if you have NO static content, what will > >>apache improve? > >> > >>Regards, > >> Joao Clemente > > > > > > > > > > --- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] MBeans, local EJBs and Authentication
You are using your own LdapLoginModule. How is this recognizing the unauthenticatedIdentity you are configuring? Its your login module that has to support this. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Randy Shoup" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 3:22 PM Subject: [JBoss-user] MBeans, local EJBs and Authentication > JBoss gurus -- > >I am using JBoss 3.0.4 - Tomcat 4.1.12 on Win2K. I want to get > unauthenticated access to a local SLSB from an MBean, while still > requiring authenticated access to my remote EJBs. > >I am trying to add to my application a scheduled "batch" operation > which does some periodic cleanup. The scheduling part was > straightforward to set up, thanks to the docs and the list. However, I > am having some trouble with the authentication part. > >All of my remote session facades require authentication, with > user/role information in an LDAP. The scheduled operation is a "system" > operation, though, and so I would like to avoid requiring it to do any > explicit authentication. I don't, for example, want to put a "system" > or "internal" entry in the LDAP, which is intended to be just for real > users. And I would like to avoid hard-coding any password anywhere. > >I have done the following: > > + created a local SLSB which does the real work > + added a scheduler MBean, which periodically calls the local SLSB > + added an 'unauthenticatedIdentity' entry in the login-config.xml: > > > > "com.tumbleweed.ime.ejb.security.jboss3.LdapLoginModule" > flag = "required"> > ... > name="unauthenticatedIdentity">system > > > > 15:05:43,446 ERROR [SecurityInterceptor] Authentication exception, > principal=null > 15:05:43,446 ERROR [LogInterceptor] EJBException, causedBy: > java.lang.SecurityException: Authentication exception, principal=null > at > >org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:173) --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Using Apache web server - yes or no?
Another thing to remember is that JBoss must run as root to listen on port 80 or 443. That would be something that security conscious people might not want to do on a public server. -danch Larry O wrote: I would suggest another criteria. If your application is on an intranet or private network and traffic is low, by all means omit apache. However, many of us put apache on or outside a firewall, and keep our application server safely inside. The fewer services running on the exposed server, the better. My 2 cents. Larry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Pete Beck Sent: Tuesday, December 17, 2002 11:17 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Using Apache web server - yes or no? Just to throw my 2 cents worth in, My app uses mostly dynamic content and I have tried using apache as a front end, tomcat 4 and Jetty. In my tests, using apache as a front end added a significant latency to serving the content from JBoss. So I would say yes, you may get benefits on your static content if you use apache, but you will also lose performance on your dynamic content. In my app I dropped apache as a front end as I was getting noticeably better performance with tomcat standalone. Eventually I switched to using to Jetty as it is shipped by default with JBoss now, and it seems snappier than tomcat. A good deciding factor therefore seems to be the ratio of static vs. dynamic content on your site. On Tue, 2002-12-10 at 14:18, Joao Pedro Clemente wrote: Andreas, please explain a little bit better where will we get more performance. I can be (and surely am) wrong in my reasoning, but the original message says explicitly "ONLY dynamic applications". So, you say apache should be used to serve images/html... as far as I know, that is static content. So, if you have NO static content, what will apache improve? Regards, Joao Clemente --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] MBeans, local EJBs and Authentication
John Fawcett wrote: To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] MBeans, local EJBs and Authentication Date: Mon, 16 Dec 2002 18:38:53 -0500 Organization: Tamale Software, LLC Reply-To: [EMAIL PROTECTED] Just curious -- is it particularly bad form to have your automated beans also log in? Perhaps create an account for these automated functions? I don't claim to speak for others, but I would like to avoid having to create account(s) in the user directory for system functions. There are several security problems with this, not least of which is that I would have to hard-code the password for this user into a config file (or somehow force an admin to provide the password upon deploy/redeploy and lose the ability to do this automatically). A priori, I guess I don't see why I should have to create a user, authenticate, etc., to use a local, non-secured EJB. I see why I would need this if I were accessing a secured EJB, but I am only trying to access a local, non-secured EJB. What am I missing? :-) For now, I am working around this by doing exactly as you suggest: I temporarily created a 'system' user in my LDAP, and I am authenticating with this user in the scheduler task. But this just does not "feel" right. -- Randy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Randy Shoup Sent: Monday, December 16, 2002 6:23 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] MBeans, local EJBs and Authentication JBoss gurus -- I am using JBoss 3.0.4 - Tomcat 4.1.12 on Win2K. I want to get unauthenticated access to a local SLSB from an MBean, while still requiring authenticated access to my remote EJBs. I am trying to add to my application a scheduled "batch" operation which does some periodic cleanup. The scheduling part was straightforward to set up, thanks to the docs and the list. However, I am having some trouble with the authentication part. All of my remote session facades require authentication, with user/role information in an LDAP. The scheduled operation is a "system" operation, though, and so I would like to avoid requiring it to do any explicit authentication. I don't, for example, want to put a "system" or "internal" entry in the LDAP, which is intended to be just for real users. And I would like to avoid hard-coding any password anywhere. I have done the following: + created a local SLSB which does the real work + added a scheduler MBean, which periodically calls the local SLSB + added an 'unauthenticatedIdentity' entry in the login-config.xml: flag = "required"> ... system + made all methods of the local SLSB 'unchecked': PackageExpireSession * + added no authentication calls in the MBean Still, whenever I call the SLSB from within the scheduler MBean, I get the famous "principal=null" exception: 15:05:43,431 INFO [PackageExpireTask] expirePackages(Mon Dec 16 15:05:40 PST 2002) 15:05:43,446 ERROR [SecurityInterceptor] Authentication exception, principal=null 15:05:43,446 ERROR [LogInterceptor] EJBException, causedBy: java.lang.SecurityException: Authentication exception, principal=null at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(Secur ityInterceptor.java:173) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor .java:94) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:129) at org.jboss.ejb.StatelessSessionContainer.invokeHome(StatelessSessionConta iner.java:300) at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invokeHome(BaseLoc alContainerInvoker.java:230) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:11 0) at $Proxy38.create(Unknown Source) at com.tumbleweed.ime.ejb.scheduler.jboss3.PackageExpireTask.expirePackages (Unknown Source) at com.tumbleweed.ime.ejb.scheduler.jboss3.PackageExpireTask.perform(Unknow n Source) at org.jboss.varia.scheduler.Scheduler$Listener.handleNotification(Schedule r.java:1046) at org.jboss.mx.server.NotificationListenerProxy.handleNotification(Notific ationListenerProxy.java:71) at javax.management.NotificationBroadcasterSupport.sendNotification(Notific ationBroadcasterSupport.java:84) at javax.management.timer.Timer.sendNotifications(Timer.java:441) at javax.management.timer.Timer.access$000(Timer.java:31) at javax.management.timer.Timer$RegisteredNotification.doRun(Timer.java:612 ) at org.jboss.mx.util.SchedulableRunnable.run(SchedulableRunnable.java:164) at org.jboss.mx.util.ThreadPool$Worker.run(ThreadPool.java:225) 15:05:43,446 ERROR [PackageExpireTask] Exception in PackageExpireTask: javax.ejb .EJBException: checkSecurityAssociation; CausedByException
Re: [JBoss-user] Virtual hosting question
Add an element. myhost.com RS poo <[EMAIL PROTECTED]> Sent by: To: [EMAIL PROTECTED] [EMAIL PROTECTED]cc: ceforge.netSubject: Re: [JBoss-user] Virtual hosting question 12/17/02 12:54 PM Please respond to jboss-user All I basically want to do is have www.myhost.com and myhost.com use the same webapp(!) Any info on how to do this would be great! The example that Scott presents below addresses the case where 2 different vhosts use different webapps. I want 2 different vhosts to use the same webapp. I've combed the list and doco and can't find this addressed anywhere. Any help would be greatly appreciated!! using jboss-3.2.0beta2_tomcat-4.1.12 w/ jdk1.4 on linux Thanks! S btw. despite my inability to configure it, jboss rules! Gary S. Cuozzo wrote: > i'm doing this right now and just got it working today. i have a > single webapp "/global" that will serve all our virtual host customers > a set of functionality. i'm using jboss 3.x series with embedded > tomcat front-ended with apache. > > i just have a straight-up .war file right now, with no jboss-web file. > just a bunch of servlets/jsp's. all i did was tell apache to pass all > requests for "/global" to tomcat via the connector with the proper > mount command in httpd.conf. > > i'm on my way out, but can send more detailed info tomorrow if you > need it. > > hth, > gary. > > > poo wrote: > >> Hello, >> >> Is there a way to configure multiple virtual hosts to use the same >> webapp? It appears that jboss-web only allows one virtual-host param. >> >> thanks >> >> S >> >> >> Scott M Stark wrote: >> >>> I looked at the problem this morning and the problem is that you >>> have to setup >>> Host elements that matches the virtual host names used in the >>> jboss-web.xml, >>> for example: >>> >>> >>> >>> >>> >>> >> verbosityLevel = "trace" category = >>> "org.jboss.web.localhost.Engine"/> >>> ... >>> >>> >> "org.apache.catalina.valves.AccessLogValve" >>> prefix = "a_access" suffix = ".log" >>> pattern = "common" directory = >>> "../server/default/log" /> >>> >> "true" override = "true" /> >>> >>> >>> >> "org.apache.catalina.valves.AccessLogValve" >>> prefix = "b_access" suffix = ".log" >>> pattern = "common" directory = >>> "../server/default/log" /> >>> >> "true" override = "true" /> >>> >>> ... >>> >>> With this I can deploy two wars to the a.dom.com and b.dot.com >>> virtual hosts >>> with both using the root context: >>> >>> 14:34:03,706 INFO [MainDeployer] Starting deployment of package: >>> file:/C:/tmp/JBoss/jboss-3.0.3RC1/server/tomcat/deploy/a.war/ >>> 14:34:03,716 INFO [EmbeddedCatalinaServiceSX] deploy, ctxPath=, >>> warUrl=file:/C: >>> /tmp/JBoss/jboss-3.0.3RC1/server/tomcat/deploy/a.war/ >>> 14:34:03,786 INFO [Engine] WebappLoader[]: Deploying class >>> repositories to work >>> directory C:\tmp\JBoss\jboss-3.0.3RC1\catalina\work\a.dot.com\_ >>> 14:34:03,786 INFO [Engine] StandardManager[]: Seeding random number >>> generator class java.security.SecureRandom >>> 14:34:03,786 INFO [Engine] StandardManager[]: Seeding of random >>> number generator has been completed >>> 14:34:04,828 INFO [Engine] ContextConfig[]: Added certificates -> >>> request attribute Valve >>> 14:34:05,048 INFO [EmbeddedCatalinaServiceSX] Using Java2 parent >>> classloader delegation: true >>> 14:34:05,048 INFO [Engine] StandardWrapper[:default]: Loading >>> container servlet default >>> 14:34:05,048 INFO [Engine] StandardWrapper[:invoker]: Loading >>> contai
Re: [JBoss-user] Virtual hosting question
On Tue, Dec 17, 2002 at 06:54:37PM +, poo wrote: > All I basically want to do is have www.myhost.com and myhost.com use the > same webapp(!) Any info on how to do this would be great! The example > that Scott presents below addresses the case where 2 different vhosts > use different webapps. I want 2 different vhosts to use the same > webapp. I've combed the list and doco and can't find this addressed > anywhere. Any help would be greatly appreciated!! No, I think Scotts answer is correct. Try it! BTW: how to do this with jetty? And it should be possible to do in jboss-web.xml. > > using jboss-3.2.0beta2_tomcat-4.1.12 w/ jdk1.4 on linux > > Thanks! > > S > > btw. despite my inability to configure it, jboss rules! > > Gary S. Cuozzo wrote: > > > i'm doing this right now and just got it working today. i have a > > single webapp "/global" that will serve all our virtual host customers > > a set of functionality. i'm using jboss 3.x series with embedded > > tomcat front-ended with apache. > > > > i just have a straight-up .war file right now, with no jboss-web file. > > just a bunch of servlets/jsp's. all i did was tell apache to pass all > > requests for "/global" to tomcat via the connector with the proper > > mount command in httpd.conf. > > > > i'm on my way out, but can send more detailed info tomorrow if you > > need it. > > > > hth, > > gary. > > > > > > poo wrote: > > > >> Hello, > >> > >> Is there a way to configure multiple virtual hosts to use the same > >> webapp? It appears that jboss-web only allows one virtual-host param. > >> > >> thanks > >> > >> S > >> > >> > >> Scott M Stark wrote: > >> > >>> I looked at the problem this morning and the problem is that you > >>> have to setup > >>> Host elements that matches the virtual host names used in the > >>> jboss-web.xml, > >>> for example: > >>> > >>> > >>> > >>> > >>> > >>>>>> verbosityLevel = "trace" category = > >>> "org.jboss.web.localhost.Engine"/> > >>> ... > >>> > >>> >>> "org.apache.catalina.valves.AccessLogValve" > >>> prefix = "a_access" suffix = ".log" > >>> pattern = "common" directory = > >>> "../server/default/log" /> > >>> >>> "true" override = "true" /> > >>> > >>> > >>> >>> "org.apache.catalina.valves.AccessLogValve" > >>> prefix = "b_access" suffix = ".log" > >>> pattern = "common" directory = > >>> "../server/default/log" /> > >>> >>> "true" override = "true" /> > >>> > >>> ... > >>> > >>> With this I can deploy two wars to the a.dom.com and b.dot.com > >>> virtual hosts > >>> with both using the root context: > >>> > >>> 14:34:03,706 INFO [MainDeployer] Starting deployment of package: > >>> file:/C:/tmp/JBoss/jboss-3.0.3RC1/server/tomcat/deploy/a.war/ > >>> 14:34:03,716 INFO [EmbeddedCatalinaServiceSX] deploy, ctxPath=, > >>> warUrl=file:/C: > >>> /tmp/JBoss/jboss-3.0.3RC1/server/tomcat/deploy/a.war/ > >>> 14:34:03,786 INFO [Engine] WebappLoader[]: Deploying class > >>> repositories to work > >>> directory C:\tmp\JBoss\jboss-3.0.3RC1\catalina\work\a.dot.com\_ > >>> 14:34:03,786 INFO [Engine] StandardManager[]: Seeding random number > >>> generator class java.security.SecureRandom > >>> 14:34:03,786 INFO [Engine] StandardManager[]: Seeding of random > >>> number generator has been completed > >>> 14:34:04,828 INFO [Engine] ContextConfig[]: Added certificates -> > >>> request attribute Valve > >>> 14:34:05,048 INFO [EmbeddedCatalinaServiceSX] Using Java2 parent > >>> classloader delegation: true > >>> 14:34:05,048 INFO [Engine] StandardWrapper[:default]: Loading > >>> container servlet default > >>> 14:34:05,048 INFO [Engine] StandardWrapper[:invoker]: Loading > >>> container servlet invoker > >>> 14:34:05,098 INFO [MainDeployer] Deployed package: > >>> file:/C:/tmp/JBoss/jboss-3.0 > >>> .3RC1/server/tomcat/deploy/a.war/ > >>> 14:34:05,098 INFO [MainDeployer] Starting deployment of package: > >>> file:/C:/tmp/JBoss/jboss-3.0.3RC1/server/tomcat/deploy/b.war/ > >>> 14:34:05,118 INFO [EmbeddedCatalinaServiceSX] deploy, ctxPath=, > >>> warUrl=file:/C: > >>> /tmp/JBoss/jboss-3.0.3RC1/server/tomcat/deploy/b.war/ > >>> 14:34:05,128 INFO [Engine] WebappLoader[]: Deploying class > >>> repositories to work > >>> directory C:\tmp\JBoss\jboss-3.0.3RC1\catalina\work\b.dot.com\_ > >>> 14:34:05,128 INFO [Engine] StandardManager[]: Seeding random number > >>> generator class java.security.SecureRandom > >>> 14:34:05,128 INFO [Engine] StandardManager[]: Seeding of random > >>> number generator has been completed > >>> 14:34:05,198 INFO [Engine] ContextConfig[]: Added certificates -> > >>> request attribute Valve > >>> 14:34:05,268 INFO [EmbeddedCatalinaServiceSX] Using Java2 parent > >>> classloader dele
RE: [JBoss-user] mbean IllegalAccessError
Thanks David. I'll work around it until I get the latest. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of David Jencks Sent: Tuesday, December 17, 2002 3:51 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] mbean IllegalAccessError On 2002.12.17 13:32:14 -0500 Eric Kaplan wrote: > Hi > > I attempted to deploy an mbean under jboss3.0.0 as follows: > > Packaged all related classes along with a META-INF/jboss-service.xml into > a > .sar file. Dropped this into the deploy directory. The deployer picks > it > up and it looks ok, but when I attempt to run a particular method, I am > getting java.lang.IllegalAccessError when one class attempts to call a > package protected method on another class in the same package. Both > classes > are packaged in the same sar. I'm wondering if there is a problem > because > the same class exists in a .ear file deployed to the same server. Any > ideas? Yes. Up until possibly very recent cvs versions of jboss, having a class deployed in 2 packages is very likely to give you exactly these IllegalAccessErrors. Scott has done a lot of work on these problems, but I don't know if they are completely fixed. If not... the simplest solution is to only deploy each class once. otherwise you may need to use ear-scoped classloaders to separate them. david jencks > > Eric Kaplan > Armanta, Inc. > > --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] stuck with relations
Hi! I've struggeled against this error(below) for a long time now - too long :-) Well, I've generated the code automatically from middlegen(xdoclet) based on an existing db model. I'll describe it here: E.g. I'have a trip table which got a tripstatus (n:1). The tripstatus table does not need to have any reference back to its trips (which gives a unidirection) so i've not attached it. The xdoclet code for the Trip entity is shown below. Something is missing and I don't see it. Any hints appreciated. -Jon ERROR - 21:25:16,241 WARN [ServiceController] Problem starting service jboss.j2ee:jndiN ame=smartpool.TripstatusLocalHome,service=EJB org.jboss.deployment.DeploymentException: No ejb-relationship-role-name element found at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationMetaData.getEJBRe lationshipRoleElement(JDBCRelationMetaData.java:402) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationMetaData.(J DBCRelationMetaData.java:305) CODE - /** * This is a bi-directional one-to-many relationship CMR method * * @return the related smartpool.interfaces.TripstatusLocal. * * @ejb.interface-method view-type="local" * * @ejb.relation *name="tripstatus-cmp20-trip-cmp20" *role-name="trip-cmp20-has-tripstatus-cmp20" *target-ejb="Tripstatus" * * @jboss.relation-mapping style="foreign-key" * * @jboss.relation *fk-constraint="true" *fk-column="tripstatusid" *related-pk-field="tripstatusid" * */ public abstract smartpool.interfaces.TripstatusLocal getTripstatus(); --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Using Apache web server - yes or no?
I would suggest another criteria. If your application is on an intranet or private network and traffic is low, by all means omit apache. However, many of us put apache on or outside a firewall, and keep our application server safely inside. The fewer services running on the exposed server, the better. My 2 cents. Larry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Pete Beck Sent: Tuesday, December 17, 2002 11:17 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Using Apache web server - yes or no? Just to throw my 2 cents worth in, My app uses mostly dynamic content and I have tried using apache as a front end, tomcat 4 and Jetty. In my tests, using apache as a front end added a significant latency to serving the content from JBoss. So I would say yes, you may get benefits on your static content if you use apache, but you will also lose performance on your dynamic content. In my app I dropped apache as a front end as I was getting noticeably better performance with tomcat standalone. Eventually I switched to using to Jetty as it is shipped by default with JBoss now, and it seems snappier than tomcat. A good deciding factor therefore seems to be the ratio of static vs. dynamic content on your site. On Tue, 2002-12-10 at 14:18, Joao Pedro Clemente wrote: > Andreas, please explain a little bit better where will we get more > performance. I can be (and surely am) wrong in my reasoning, but the > original message says explicitly "ONLY dynamic applications". So, you > say apache should be used to serve images/html... as far as I know, > that is static content. So, if you have NO static content, what will > apache improve? > > Regards, > Joao Clemente -- Pete Beck <[EMAIL PROTECTED]> Electrostrata Ltd. --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] mbean IllegalAccessError
On 2002.12.17 13:32:14 -0500 Eric Kaplan wrote: > Hi > > I attempted to deploy an mbean under jboss3.0.0 as follows: > > Packaged all related classes along with a META-INF/jboss-service.xml into > a > .sar file. Dropped this into the deploy directory. The deployer picks > it > up and it looks ok, but when I attempt to run a particular method, I am > getting java.lang.IllegalAccessError when one class attempts to call a > package protected method on another class in the same package. Both > classes > are packaged in the same sar. I'm wondering if there is a problem > because > the same class exists in a .ear file deployed to the same server. Any > ideas? Yes. Up until possibly very recent cvs versions of jboss, having a class deployed in 2 packages is very likely to give you exactly these IllegalAccessErrors. Scott has done a lot of work on these problems, but I don't know if they are completely fixed. If not... the simplest solution is to only deploy each class once. otherwise you may need to use ear-scoped classloaders to separate them. david jencks > > Eric Kaplan > Armanta, Inc. > > --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Internationalization of EJB data
Hi, What is the best way to internationalize my entity bean data. My initial way was to use a compound primary key but JBoss doesn't seem to like this. Is there a "standard" or popular pattern for doing this? Any good articles? thanks Jordan --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss/CloudScape
Hello All, I am looking for some help with JBoss and IBM CloudScape using RMIJDBC server. The configuration file being used is: Name: cloudscape-ds.xml Contents: DB2DS jdbc:rmi:localhost:1099/jdbc:db2j:abc;create=true org.objectweb.rmijdbc.Driver 5 >From a test client, any attempt to create an entity bean (that uses this DataSource) just hangs. Using netstat -an 1099, it seems that no connection has been taking to CloudScape by the datasource connection pool. Also, the JBoss console shows the following message when starting the EJB application: 11:49:42,963 INFO [MainDeployer] Starting deployment of package: file:/Q:/jboss -3.2.0beta2/server/default/deploy/emp.jar 11:49:43,010 INFO [EJBDeployer] looking for nested deployments in : file:/Q:/jb oss-3.2.0beta2/server/default/deploy/emp.jar 11:49:44,401 INFO [EjbModule] Creating 11:49:44,557 INFO [EjbModule] Deploying MsEmp1 11:49:45,151 INFO [EjbModule] Deploying empSession 11:49:45,198 INFO [EntityContainer] Creating 11:49:45,214 INFO [EntityInstancePool] Creating 11:49:45,214 INFO [EntityInstancePool] Created 11:49:45,276 INFO [EntityContainer] Created 11:49:45,292 INFO [StatelessSessionContainer] Creating 11:49:45,308 INFO [StatelessSessionInstancePool] Creating 11:49:45,308 INFO [StatelessSessionInstancePool] Created 11:49:45,323 INFO [StatelessSessionContainer] Created 11:49:45,323 INFO [EjbModule] Created 11:49:45,323 INFO [EjbModule] Starting 11:49:45,339 INFO [EntityContainer] Starting 11:49:46,543 ERROR [STDERR] WARNING: Wierd RMI server URL: localhost will be use d. 11:49:47,512 ERROR [STDERR] WARNING: Wierd RMI server URL: localhost will be use d. 11:49:47,731 ERROR [STDERR] WARNING: Wierd RMI server URL: localhost will be use d. 11:49:48,075 ERROR [STDERR] WARNING: Wierd RMI server URL: localhost will be use d. 11:49:48,684 ERROR [STDERR] WARNING: Wierd RMI server URL: localhost will be use d. 11:49:53,218 INFO [MsEmp1] Table 'MS_EMP1' already exists 11:49:53,296 INFO [EntityInstancePool] Starting 11:49:53,296 INFO [EntityInstancePool] Started 11:49:53,296 INFO [EntityContainer] Started 11:49:53,296 INFO [StatelessSessionContainer] Starting 11:49:53,343 INFO [StatelessSessionInstancePool] Starting 11:49:53,343 INFO [StatelessSessionInstancePool] Started 11:49:53,343 INFO [StatelessSessionContainer] Started 11:49:53,359 INFO [EjbModule] Started 11:49:53,359 INFO [MainDeployer] Deployed package: file:/Q:/jboss-3.2.0beta2/se rver/default/deploy/emp.jar 11:49:53,359 INFO [MainDeployer] Starting deployment of package: file:/Q:/jboss -3.2.0beta2/server/default/deploy/jmx-console.war/ Thanks in advance. Best Regards MS --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Using Apache web server - yes or no?
Just to throw my 2 cents worth in, My app uses mostly dynamic content and I have tried using apache as a front end, tomcat 4 and Jetty. In my tests, using apache as a front end added a significant latency to serving the content from JBoss. So I would say yes, you may get benefits on your static content if you use apache, but you will also lose performance on your dynamic content. In my app I dropped apache as a front end as I was getting noticeably better performance with tomcat standalone. Eventually I switched to using to Jetty as it is shipped by default with JBoss now, and it seems snappier than tomcat. A good deciding factor therefore seems to be the ratio of static vs. dynamic content on your site. On Tue, 2002-12-10 at 14:18, Joao Pedro Clemente wrote: > Andreas, please explain a little bit better where will we get more > performance. > I can be (and surely am) wrong in my reasoning, but the original message > says explicitly "ONLY dynamic applications". So, you say apache should be > used to serve images/html... as far as I know, that is static content. > So, if you have NO static content, what will apache improve? > > Regards, > Joao Clemente -- Pete Beck <[EMAIL PROTECTED]> Electrostrata Ltd. --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Scheduler
(changing the subject back to the original; sorry for incorrectly changing it earlier) Our scheduler .sar depends on the EJB mbean for the SLSB it uses, as David explains. From the jboss-service.xml of the scheduler .sar: name="com.tumbleweed.ime.ejb.scheduler.jboss3:service=PackageExpireScheduler"> jboss.j2ee:service=EJB,jndiName=PackageSession true ... The dependency works fine for us. The .sar is not deployed until the SLSB is deployed. So when the scheduler task fires, the SLSB is available. David Jencks wrote: Date: Mon, 16 Dec 2002 23:25:18 -0500 From: David Jencks <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Re: JBoss-user digest, Vol 1 #3502 - 5 msgs Reply-To: [EMAIL PROTECTED] On 2002.12.16 20:56:59 -0500 JD Brennan wrote: So does JBoss guarantee that if an .ear has both an ejb .jar and a .sar then the .jar will get deployed first so the .sar can assume that all the .jar's beans are available? No, but you can make mbeans depend on the ejb container mbeans (NOT the jsr77 mbeans) and then the mbeans won't be started until the ejbs are started. I think in jboss 4 you can also make an mbean depend on the DeploymentInfo mbean gor a package. david jencks Tx! JD -Original Message- From: Randy Shoup [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:18 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Re: JBoss-user digest, Vol 1 #3502 - 5 msgs Thanks! I of course did not have this file :-). Adding 'jboss-app.xml' to my EAR's META-INF, and moving the .sar to the top level of the EAR worked like a charm. I had to hunt around in the JBoss source distribution to find an example of jboss-app.xml (no examples or dtd in the binary distribution), but the syntax was exactly what you have below. David Jencks wrote: Date: Mon, 16 Dec 2002 15:36:45 -0500 From: David Jencks <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Scheduler Reply-To: [EMAIL PROTECTED] When you had the .sar in the .ear, did you include a jboss-app.xml file to make he ear deployer deploy it? mystuff.sar if I remember correctly david jencks On 2002.12.16 14:47:52 -0500 Randy Shoup wrote: I was not able to get a scheduler .sar to work if I deployed it directly in the EAR. However, it does work if I deploy it inside the *ejb-jar*, which is itself inside the EAR. My working theory is that there is some subtle difference between the EAR deployer and the JAR deployer (maybe the EAR deployer only deploys modules mentioned in the application.xml or in the classpaths of the modules?). But I have not investigated further. For now, I am OK with this structure. But I would be interested to understand why it behaves like this :-). JD Brennan wrote: From: JD Brennan <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: [JBoss-user] Scheduler Date: Mon, 16 Dec 2002 09:57:56 -0800 Reply-To: [EMAIL PROTECTED] This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --_=_NextPart_001_01C2A52C.A9F142A0 Content-Type: text/plain; charset="iso-8859-1" Yep, we have the same problem. Your original post said you needed your scheduler to access a class in your .ear. If you need to access a bean, then you can't just put the .sar in the .ear - We solved this by just sleeping for 60 seconds and then starting - not ideal, but I couldn't find the MBean for the bean container to make the depends stuff work. If you get it working could you post a follow-up to the list? Tx! JD -Original Message- From: Glenn Lewis [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 15, 2002 4:39 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Scheduler Thanks for the advice. We can deploy the scheduler MBean by putting it inside a .sar, but we get a similar problem: the first time the scheduler is invoked it does a findAll on a bean that is not deployed. An error message is printed by the loginterceptor (so I'm not sure we can catch it). The next time the scheduler is invoked it works fine, since by that time everything is deployed. Any suggestions? JD Brennan wrote: We deploy our MBean by putting it inside a .sar inside our ejb .jar inside our .ear - there are probably other better ways, but this works for us. JD -Original Message- From: Glenn Lewis [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 12, 2002 8:45 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: [JBoss-user] Scheduler Hi all, Using the online docs at http://www.jboss.org/online-manual/HTML/ch11s58.html#scheduler-usage and JBoss3.0.3 we have created a scheduler mbean. We deploy it via a timer service.xml file. The scheduler mbean refers to a class (au.com.xcomp.xvs.server.TimedObjectSchedulable) in our ear. The scheduler deploys fine provided we manually make sure the ear is deplo
Re: [JBoss-user] Virtual hosting question
All I basically want to do is have www.myhost.com and myhost.com use the same webapp(!) Any info on how to do this would be great! The example that Scott presents below addresses the case where 2 different vhosts use different webapps. I want 2 different vhosts to use the same webapp. I've combed the list and doco and can't find this addressed anywhere. Any help would be greatly appreciated!! using jboss-3.2.0beta2_tomcat-4.1.12 w/ jdk1.4 on linux Thanks! S btw. despite my inability to configure it, jboss rules! Gary S. Cuozzo wrote: i'm doing this right now and just got it working today. i have a single webapp "/global" that will serve all our virtual host customers a set of functionality. i'm using jboss 3.x series with embedded tomcat front-ended with apache. i just have a straight-up .war file right now, with no jboss-web file. just a bunch of servlets/jsp's. all i did was tell apache to pass all requests for "/global" to tomcat via the connector with the proper mount command in httpd.conf. i'm on my way out, but can send more detailed info tomorrow if you need it. hth, gary. poo wrote: Hello, Is there a way to configure multiple virtual hosts to use the same webapp? It appears that jboss-web only allows one virtual-host param. thanks S Scott M Stark wrote: I looked at the problem this morning and the problem is that you have to setup Host elements that matches the virtual host names used in the jboss-web.xml, for example: verbosityLevel = "trace" category = "org.jboss.web.localhost.Engine"/> ... prefix = "a_access" suffix = ".log" pattern = "common" directory = "../server/default/log" /> prefix = "b_access" suffix = ".log" pattern = "common" directory = "../server/default/log" /> ... With this I can deploy two wars to the a.dom.com and b.dot.com virtual hosts with both using the root context: 14:34:03,706 INFO [MainDeployer] Starting deployment of package: file:/C:/tmp/JBoss/jboss-3.0.3RC1/server/tomcat/deploy/a.war/ 14:34:03,716 INFO [EmbeddedCatalinaServiceSX] deploy, ctxPath=, warUrl=file:/C: /tmp/JBoss/jboss-3.0.3RC1/server/tomcat/deploy/a.war/ 14:34:03,786 INFO [Engine] WebappLoader[]: Deploying class repositories to work directory C:\tmp\JBoss\jboss-3.0.3RC1\catalina\work\a.dot.com\_ 14:34:03,786 INFO [Engine] StandardManager[]: Seeding random number generator class java.security.SecureRandom 14:34:03,786 INFO [Engine] StandardManager[]: Seeding of random number generator has been completed 14:34:04,828 INFO [Engine] ContextConfig[]: Added certificates -> request attribute Valve 14:34:05,048 INFO [EmbeddedCatalinaServiceSX] Using Java2 parent classloader delegation: true 14:34:05,048 INFO [Engine] StandardWrapper[:default]: Loading container servlet default 14:34:05,048 INFO [Engine] StandardWrapper[:invoker]: Loading container servlet invoker 14:34:05,098 INFO [MainDeployer] Deployed package: file:/C:/tmp/JBoss/jboss-3.0 .3RC1/server/tomcat/deploy/a.war/ 14:34:05,098 INFO [MainDeployer] Starting deployment of package: file:/C:/tmp/JBoss/jboss-3.0.3RC1/server/tomcat/deploy/b.war/ 14:34:05,118 INFO [EmbeddedCatalinaServiceSX] deploy, ctxPath=, warUrl=file:/C: /tmp/JBoss/jboss-3.0.3RC1/server/tomcat/deploy/b.war/ 14:34:05,128 INFO [Engine] WebappLoader[]: Deploying class repositories to work directory C:\tmp\JBoss\jboss-3.0.3RC1\catalina\work\b.dot.com\_ 14:34:05,128 INFO [Engine] StandardManager[]: Seeding random number generator class java.security.SecureRandom 14:34:05,128 INFO [Engine] StandardManager[]: Seeding of random number generator has been completed 14:34:05,198 INFO [Engine] ContextConfig[]: Added certificates -> request attribute Valve 14:34:05,268 INFO [EmbeddedCatalinaServiceSX] Using Java2 parent classloader delegation: true 14:34:05,268 INFO [Engine] StandardWrapper[:default]: Loading container servlet default 14:34:05,268 INFO [Engine] StandardWrapper[:invoker]: Loading container servlet invoker 14:34:05,358 INFO [MainDeployer] Deployed package: file:/C:/tmp/JBoss/jboss-3.0.3RC1/server/tomcat/deploy/b.war/ testsuite 371>wget http://b.dot.com:8080/index.html --14:45:55-- http://b.dot.com:8080/index.html => `index.html.2' Resolving b.dot.com... done. Connecting to b.dot.com[127.0.0.1]:8080... connected. HTTP request sent, awaiting response... 200 OK Length: 64 [text/html] 100%[>] 64 62.50K/sETA 00:00 14:45:55 (62.50 KB/s) - `index.html.2' saved [64/64] testsuite 372>wget http://a.dot.com:8080/index.html --14:46:01-- http://a.dot.com:8080/index.html => `index.html.3' Resolving a.dot.com... done. Connecting to a.dot.com[172.17.66.55]:8080... connect
Re[2]: [JBoss-user] more info : ejb jars visibility
Yes, it's by the spec. alex Tuesday, December 17, 2002, 7:37:41 PM, you wrote: JC> Alex Loubyansky wrote: >>Hello Jim, >> >>related entities must be in the same ejb-jar module. >> >>alex >> >>Tuesday, December 17, 2002, 6:40:31 PM, you wrote: >> >>JC> Jim Clayson wrote: >> >> >> Hi, I am implementing some beans in cmp2 (jboss304+tc406) for the first time and I am trying to solve a problem which has to do with one bean being able to see another bean, which is packaged into a seperate ejb jar file, at deployment time. Perhaps this question might better fall under the topic of j2ee packaging but here's my question anyway. I have the following relationship hierarchy I am trying to emulate: User 1:N Property 1:N Advert Here is the error from the consol log: [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/Property,service=EJB org.jboss.deployment.DeploymentException: Entity: Advert not found for: org.jboss.metadata.RelationshipRoleMetaData@7421536b at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.(JDBCRelationshipRoleMetaData.java:103) > at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationMetaData.(JDBCRelationMetaData.java:127) > at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:149) > at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:52) > at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:677) > at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:389) > at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198) at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376) at org.jboss.ejb.Container.invoke(Container.java:756) at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy5.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:398) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > User (ejb-jar.xml): User-Property User-has-properties One UserBean properties java.util.Set property-belongs-to-User Many PropertyBean Property (ejb-jar.xml): Property-Adverts property-has-adverts One PropertyBean adverts java.util.Set advert-belongs-to-property > Many AdvertBean Advert (ejb-jar.xml): no relationship definitions. Note each bean is packaged in its own jar file. So it seems I would need to find a way to set up visibility of ejb jars correctly. I'm not sure what the consequences would be of using different packaging so I have not been down that road. I would apreciate it if anyone could give some feedback on this. Jim --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Chan
Re: [JBoss-user] Virtual hosting question
You can setup multiple aliases for a given jboss-web virtual-host. In tomcat this is done via the Alias element in a Host as described in the admin+devel docs: www.dot.com mail.dot.com store.dot.com Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Gary S. Cuozzo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 3:17 PM Subject: Re: [JBoss-user] Virtual hosting question > i'm doing this right now and just got it working today. i have a single > webapp "/global" that will serve all our virtual host customers a set of > functionality. i'm using jboss 3.x series with embedded tomcat > front-ended with apache. > > i just have a straight-up .war file right now, with no jboss-web file. > just a bunch of servlets/jsp's. all i did was tell apache to pass all > requests for "/global" to tomcat via the connector with the proper mount > command in httpd.conf. > > i'm on my way out, but can send more detailed info tomorrow if you need it. > > hth, > gary. --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] ClassCircularityError in org.jboss.mq.server.BasicQueue$1$RestoreMessageTask
3.0.0 had several issues with class loading. The class loading has been updated several times and will be again for the 3.0.5 release. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Eric Kaplan" <[EMAIL PROTECTED]> To: "Jboss-User" <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 11:59 AM Subject: [JBoss-user] ClassCircularityError in org.jboss.mq.server.BasicQueue$1$RestoreMessageTask > Can someone pls shed light on the following stack trace? It's an > intermittant problem on the app server we've seen, jboss 3.0.0. Around the > same time, we get an error on the client. This is jdk1.4 on win2k. jboss > and client running on the same machine. > > JBoss log w exception > > 2002-12-16 14:42:42,163 ERROR [STDERR] java.lang.ClassCircularityError: > org/jboss/mq/server/BasicQueue$1$RestoreMessageTask > 2002-12-16 14:42:42,163 ERROR [STDERR] at > org.jboss.mq.server.BasicQueue.acknowledge(BasicQueue.java:309) --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Internationalization
The internationalization level is basically zero. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "HORTON,NOAH (HP-FtCollins,ex1)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 17, 2002 9:20 AM Subject: [JBoss-user] Internationalization > Hi, > I am evaluating the use of JBoss for a project at Hewlett Packard and am > having trouble determining the level on internationalization of JBoss. Can > anyone clarify if the code itself is internationalized, and if so, for which > locales has it been localized. > > Thanks! > -Noah Horton --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Log4j Question
Title: Message client/jboss-common-client.jar or client/jbossall-client.jar Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From: Razumovsky, Andrew To: '[EMAIL PROTECTED]' Sent: Tuesday, December 17, 2002 9:25 AM Subject: [JBoss-user] Log4j Question I'm having trouble using log4j with JBoss/Tomcat installation on RedHat 8. http://www.jboss.org/developers/guides/logging.jsp guide suggests to import org.jboss.logging.Logger; and then use it. I'm using Eclipse as my IDE and I cannot find any information on which jar file I need to include in the project to make Logger available. And are all settings for log4j defined in JB0SS_HOME/server/default/cong/log4j.xml? Please advise, Andrew Razumovsky
[JBoss-user] mbean IllegalAccessError
Hi I attempted to deploy an mbean under jboss3.0.0 as follows: Packaged all related classes along with a META-INF/jboss-service.xml into a .sar file. Dropped this into the deploy directory. The deployer picks it up and it looks ok, but when I attempt to run a particular method, I am getting java.lang.IllegalAccessError when one class attempts to call a package protected method on another class in the same package. Both classes are packaged in the same sar. I'm wondering if there is a problem because the same class exists in a .ear file deployed to the same server. Any ideas? Eric Kaplan Armanta, Inc. <>
Re: [JBoss-user] more info : ejb jars visibility
Alex Loubyansky wrote: Hello Jim, related entities must be in the same ejb-jar module. alex Tuesday, December 17, 2002, 6:40:31 PM, you wrote: JC> Jim Clayson wrote: Hi, I am implementing some beans in cmp2 (jboss304+tc406) for the first time and I am trying to solve a problem which has to do with one bean being able to see another bean, which is packaged into a seperate ejb jar file, at deployment time. Perhaps this question might better fall under the topic of j2ee packaging but here's my question anyway. I have the following relationship hierarchy I am trying to emulate: User 1:N Property 1:N Advert Here is the error from the consol log: [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/Property,service=EJB org.jboss.deployment.DeploymentException: Entity: Advert not found for: org.jboss.metadata.RelationshipRoleMetaData@7421536b at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.(JDBCRelationshipRoleMetaData.java:103) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationMetaData.(JDBCRelationMetaData.java:127) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:149) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:52) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:677) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:389) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198) at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376) at org.jboss.ejb.Container.invoke(Container.java:756) at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy5.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:398) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) User (ejb-jar.xml): User-Property User-has-properties One UserBean properties java.util.Set property-belongs-to-User Many PropertyBean Property (ejb-jar.xml): Property-Adverts property-has-adverts One PropertyBean adverts java.util.Set advert-belongs-to-property Many AdvertBean Advert (ejb-jar.xml): no relationship definitions. Note each bean is packaged in its own jar file. So it seems I would need to find a way to set up visibility of ejb jars correctly. I'm not sure what the consequences would be of using different packaging so I have not been down that road. I would apreciate it if anyone could give some feedback on this. Jim --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user JC> Hi, JC> Here are my Manifest.mf files: JC> user.jar: JC> Manifest-Version: 1.0 JC> Created-By: Apache Ant 1.5 JC> Class-path: property.jar JC> Class-path: advert.jar JC> property.jar: JC> Manifest-Version: 1.0 JC> Created-By: Apache Ant 1.5 JC> Class-path: advert.jar JC> Class-path: user.jar JC> advert.jar: JC> Manifest-Version: 1.0 JC> Created-By: Apache Ant 1.5 JC> Class-path: user.jar JC> Class-path: property.jar JC> If its any use, here is some of a more recent stack trace (the relevent JC> bit) with DEBUG turned on: JC> 16:17:41,555 INFO [EjbModule] S
[JBoss-user] Log4j Question
Title: Message I'm having trouble using log4j with JBoss/Tomcat installation on RedHat 8. http://www.jboss.org/developers/guides/logging.jsp guide suggests to import org.jboss.logging.Logger; and then use it. I'm using Eclipse as my IDE and I cannot find any information on which jar file I need to include in the project to make Logger available. And are all settings for log4j defined in JB0SS_HOME/server/default/cong/log4j.xml? Please advise, Andrew Razumovsky
[JBoss-user] Internationalization
Hi, I am evaluating the use of JBoss for a project at Hewlett Packard and am having trouble determining the level on internationalization of JBoss. Can anyone clarify if the code itself is internationalized, and if so, for which locales has it been localized. Thanks! -Noah Horton --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re[2]: [JBoss-user] more info : ejb jars visibility
Hello Jim, related entities must be in the same ejb-jar module. alex Tuesday, December 17, 2002, 6:40:31 PM, you wrote: JC> Jim Clayson wrote: >> Hi, >> >> I am implementing some beans in cmp2 (jboss304+tc406) for the first >> time and I am trying to solve a problem which has to do with one bean >> being able to see another bean, which is packaged into a seperate ejb >> jar file, at deployment time. Perhaps this question might better fall >> under the topic of j2ee packaging but here's my question anyway. >> >> I have the following relationship hierarchy I am trying to emulate: >> >> User 1:N Property 1:N Advert >> >> >> Here is the error from the consol log: >> >> [ServiceController] Problem starting service >> jboss.j2ee:jndiName=ejb/Property,service=EJB >> org.jboss.deployment.DeploymentException: Entity: Advert not found >> for: org.jboss.metadata.RelationshipRoleMetaData@7421536b >>at >> >org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.(JDBCRelationshipRoleMetaData.java:103) > >> >>at >> >org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationMetaData.(JDBCRelationMetaData.java:127) > >> >>at >> >org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:149) > >> >>at >> >org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:52) > >> >>at >> >org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:677) > >> >>at >> >org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:389) > >> >>at >> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339) >> >>at >> org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198) >> >>at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376) >>at org.jboss.ejb.Container.invoke(Container.java:756) >>at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058) >>at >> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) >>at >> org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) >> >>at $Proxy5.start(Unknown Source) >>at >> org.jboss.system.ServiceController.start(ServiceController.java:398) >>at java.lang.reflect.Method.invoke(Native Method) >>at >> >org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > >> >> >> User (ejb-jar.xml): >> >>User-Property >> >> >> >> >> User-has-properties >> >>One >> >>UserBean >> >> >>properties >>java.util.Set >> >> >> >> >> >> >> property-belongs-to-User >> >>Many >> >> >>PropertyBean >> >> >> >> >> Property (ejb-jar.xml): >> >> >>Property-Adverts >> >> >> >> >> property-has-adverts >> >>One >> >>PropertyBean >> >> >>adverts >>java.util.Set >> >> >> >> >> >> >> advert-belongs-to-property >> >>Many >> >> >>AdvertBean >> >> >> >> >> Advert (ejb-jar.xml): no relationship definitions. >> >> Note each bean is packaged in its own jar file. So it seems I would >> need to find a way to set up visibility of ejb jars correctly. >> >> I'm not sure what the consequences would be of using different >> packaging so I have not been down that road. >> >> I would apreciate it if anyone could give some feedback on this. >> >> Jim >> >> >> >> --- >> This sf.net email is sponsored by: >> With Great Power, Comes Great Responsibility Learn to use your power >> at OSDN's High Performance Computing Channel >> http://hpc.devchannel.org/ >> ___ >> JBoss-user mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/jboss-user >> JC> Hi, JC> Here are my Manifest.mf files: JC> user.jar: JC> Manifest-Version: 1.0 JC> Created-By: Apache
Re: [JBoss-user] Help :::: Problem with Compound keys ::::
Hello Jordan, first, about the error you are getting. It means that not all primary key fields where mapped to foreign key fields in a relationship, i.e. some pk field[s] isn't mentioned in foreign key fields. Foreign keys as part of primary keys are supported in JBoss-4. Foreign keys as cmp fields that are not pk fields are not currently supported at all. HTH, alex Tuesday, December 17, 2002, 6:22:54 PM, you wrote: JT> Hi, JT> I am trying to create a compound primary key that has has part of its key as JT> the primary key of another entity. Although this is not supported by the EJB JT> spec I know that with some other app servers one can create a set and get JT> method for the FK column and then use them when nessesary (i.e. in JT> ejbCreate()) JT> OK, I have done this but unfortuateley I am having some serious problems JT> that I can't work out. It am receiving an error which reads: JT> 16:57:09,318 ERROR [EntityContainer] Starting failed JT> org.jboss.deployment.DeploymentException: Mappings were not provided for all JT> fields: unmaped fields=[languageId] JT> at JT> org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.loadKey JT> Fields(JDBCRelationshipRoleMetaData.java JT> :390) JT> . JT> This is strange because in my I have entries like: JT> JT> languageId JT> pk_language_id_fk JT> VARCHAR JT> VARCHAR(5) JT> JT> throughout my jbosscmp-jdbc.xml and entries like: JT> JT> JT> languageId JT> JT> within my ejb-jar.xml's tags. I have even tried creating a new JT> field with the same data as what would be included within the relationship JT> column. JT> I am at an end here. What is the best way to create a Compound Key that JT> contains a foreign key? Any suggestions would be most appreciated. JT> thanks JT> Jordan -- Best regards, Alex Loubyansky --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] more info : ejb jars visibility
Jim Clayson wrote: Hi, I am implementing some beans in cmp2 (jboss304+tc406) for the first time and I am trying to solve a problem which has to do with one bean being able to see another bean, which is packaged into a seperate ejb jar file, at deployment time. Perhaps this question might better fall under the topic of j2ee packaging but here's my question anyway. I have the following relationship hierarchy I am trying to emulate: User 1:N Property 1:N Advert Here is the error from the consol log: [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/Property,service=EJB org.jboss.deployment.DeploymentException: Entity: Advert not found for: org.jboss.metadata.RelationshipRoleMetaData@7421536b at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.(JDBCRelationshipRoleMetaData.java:103) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationMetaData.(JDBCRelationMetaData.java:127) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:149) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:52) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:677) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:389) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198) at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376) at org.jboss.ejb.Container.invoke(Container.java:756) at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy5.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:398) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) User (ejb-jar.xml): User-Property User-has-properties One UserBean properties java.util.Set property-belongs-to-User Many PropertyBean Property (ejb-jar.xml): Property-Adverts property-has-adverts One PropertyBean adverts java.util.Set advert-belongs-to-property Many AdvertBean Advert (ejb-jar.xml): no relationship definitions. Note each bean is packaged in its own jar file. So it seems I would need to find a way to set up visibility of ejb jars correctly. I'm not sure what the consequences would be of using different packaging so I have not been down that road. I would apreciate it if anyone could give some feedback on this. Jim --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user Hi, Here are my Manifest.mf files: user.jar: Manifest-Version: 1.0 Created-By: Apache Ant 1.5 Class-path: property.jar Class-path: advert.jar property.jar: Manifest-Version: 1.0 Created-By: Apache Ant 1.5 Class-path: advert.jar Class-path: user.jar advert.jar: Manifest-Version: 1.0 Created-By: Apache Ant 1.5 Class-path: user.jar Class-path: property.jar If its any use, here is some of a more recent stack trace (the relevent bit) with DEBUG turned on: 16:17:41,555 INFO [EjbModule] Starting 16:17:41,556 DEBUG [EjbModule] Application.start(), start container: org.jboss.ejb.StatelessSessionContainer@35d5f529 16:17:41,557 DEBUG [StatelessSessionContainer] Beg
[JBoss-user] Help :::: Problem with Compound keys ::::
Hi, I am trying to create a compound primary key that has has part of its key as the primary key of another entity. Although this is not supported by the EJB spec I know that with some other app servers one can create a set and get method for the FK column and then use them when nessesary (i.e. in ejbCreate()) OK, I have done this but unfortuateley I am having some serious problems that I can't work out. It am receiving an error which reads: 16:57:09,318 ERROR [EntityContainer] Starting failed org.jboss.deployment.DeploymentException: Mappings were not provided for all fields: unmaped fields=[languageId] at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.loadKey Fields(JDBCRelationshipRoleMetaData.java :390) . This is strange because in my I have entries like: languageId pk_language_id_fk VARCHAR VARCHAR(5) throughout my jbosscmp-jdbc.xml and entries like: languageId within my ejb-jar.xml's tags. I have even tried creating a new field with the same data as what would be included within the relationship column. I am at an end here. What is the best way to create a Compound Key that contains a foreign key? Any suggestions would be most appreciated. thanks Jordan --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Urgent!!: Got a java.math.BigDecimal: '100' while looking for a java.math.BigInteger
I'm using JBoss 3.0.3 with Solid 2.0. I also tested this with JBoss 3.0.4 but got the same result. My application tries to store a row in to a table. The table looks like this: CREATE TABLE X ( id VARCHAR (40) NOT NULL, bigDecimalType DECIMAL (18, 4) NOT NULL, bigIntegerType DECIMAL (18) NOT NULL, PRIMARY KEY (id)); JBoss debug output: 2002-12-17 14:35:31,543 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand] Create command executing: INSERT INTO BigNumbersMandatory (bigDecimalType,bigIntegerType,id) VALUES (?,?,?)2002-12-17 14:35:31,543 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand] Set parameter: idx=1, jdbcType=DECIMAL, value=102002-12-17 14:35:31,543 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand] Set parameter: idx=2, jdbcType=DECIMAL, value=1002002-12-17 14:35:31,543 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand] Set parameter: idx=3, jdbcType=VARCHAR, value=Piet2002-12-17 14:35:31,558 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCUpdateCommand] Rows affected = 12002-12-17 14:35:31,574 TRACE [EjbTier] BigNumbersMandatoryBean.ejbPostCreate(BigNumbersMandatoryUpdate update)2002-12-17 14:35:31,590 TRACE [EjbTier] BigNumbersMandatoryBean.ejbStore(): key=id(Piet)2002-12-17 14:35:31,590 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand] Load command executing: SELECT BigNumbersMandatory.id,BigNumbersMandatory.bigDecimalType,BigNumbersMandatory.bigIntegerType FROM BigNumbersMandatory WHERE id=?2002-12-17 14:35:31,590 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand] Set parameter: idx=1, jdbcType=VARCHAR, value=Piet 2002-12-17 14:35:31,621 DEBUG [org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand] Got a java.math.BigDecimal: '100' while looking for a java.math.BigInteger Note that in the create table script the difference between bigint and bigdecimal is the precision. I looked at Informix, Oracle, InstandDB and DB2. They all use BigInteger and BigDecimal the same way, that is: A BigInteger is a BigDecimal without precision (on SQL table creation level). So why not then do the following: below is a piece of jboss-3.0.3-src\server\src\main\org\jboss\ejb\plugins\jaws\jdbc\JDBCCommand.java. See /*** ***/ protected Object getResultObject(ResultSet rs, int idx, Class destination) throws SQLException{ // log.debug("getting a "+destination.getName()+" from resultset at index "+idx); Object result = null; Method method = (Method)rsTypes.get(destination.getName()); if(method != null) { try { result = method.invoke(rs, new Object[]{new Integer(idx)}); if(rs.wasNull()) return null; return result; } catch(IllegalAccessException e) { log.debug("Unable to read from ResultSet: ",e); } catch(InvocationTargetException e) { log.debug("Unable to read from ResultSet: ",e); } } result = rs.getObject(idx); if(result == null) return null; if(destination.isAssignableFrom(result.getClass()) && !result.getClass().equals(MarshalledObject.class) ) return result; else if(log.isDebugEnabled()) {/*** Normally we get here / log.debug("Got a "+result.getClass().getName()+": '"+result+"' while looking for a "+destination.getName()); } / Why not test here to see if the required type is BigInteger and this BigDecimal has a scale of 0. if so, return ((java.math.BigInteger)result).toBigInteger() ? So: if(destination.isAssignableFrom(result.getClass()) && !result.getClass().equals(MarshalledObject.class) ) return result; else { if ( result is of type java.math.BigDecimal and result has scale 0 and destination is of type java.math.BigInteger ) { return ((java.math.BigDecimal)result).toBigInteger(); } else if(log.isDebugEnabled()) { log.debug("Got a "+ result.getClass().getName() + ": '"+result+"' while looking for a "+ destination.getName()); } } Or am I being stupid?? */ rest of the function as is. } Regards, Raymond Brandon -- The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.
RE: [JBoss-user] Same .war that I deploy perfectly in "default" throws exceptions in "all" ?!?
It has been fixed on the 8th of December. And yes, it may happen only under all > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Joao Pedro > Clemente > Envoye : mardi, 17 decembre 2002 15:41 > A : [EMAIL PROTECTED] > Objet : RE: [JBoss-user] Same .war that I deploy perfectly in "default" > throws exceptions in "all" ?!? > > > > > There is a "linkage" error: what version do you use? I know that Scott > > just fixed such a bug wrt to class loading. You should try the same with > > Branch_3_0 > > I use branch_3_0 from last week's cvs. Should I sync my sources? The bug > was fixed just a few days ago? > > And that explains that these errors appear on "all" but not in "default" > ?!? > > Thanks Sacha > > > > -- > Joao Pedro Clemente > jpcl @ rnl.ist.utl.pt > (when not working out) > (when not sleeping) > (when not surfing) > (when not ... ;) > > > > > --- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Same .war that I deploy perfectly in "default"throws exceptions in "all" ?!?
> There is a "linkage" error: what version do you use? I know that Scott > just fixed such a bug wrt to class loading. You should try the same with > Branch_3_0 I use branch_3_0 from last week's cvs. Should I sync my sources? The bug was fixed just a few days ago? And that explains that these errors appear on "all" but not in "default" ?!? Thanks Sacha -- Joao Pedro Clemente jpcl @ rnl.ist.utl.pt (when not working out) (when not sleeping) (when not surfing) (when not ... ;) --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] oracle-xa-service.xml and JMS
On 2002.12.17 06:28:32 -0500 Anthony Geoghegan wrote: > Is it necessary to use XA based transactions with the JDBC2 persistence > manager? No, in fact there is no reason to use an xa datasource setup with it because the jms system does it's own xa transaction control and the jdbc stuff is basically set to autocommit. (At least this is how it worked the last time I looked a few months ago) david jencks > As up till now I've had no problems using just local transaction control. > > Best Regards, > Anthony Geoghegan. > J2EE Developer > CPS Ireland Ltd. > > > > --- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Same .war that I deploy perfectly in "default" throws exceptions in "all" ?!?
There is a "linkage" error: what version do you use? I know that Scott just fixed such a bug wrt to class loading. You should try the same with Branch_3_0 Cheers, sacha > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Joao Pedro > Clemente > Envoye : mardi, 17 decembre 2002 14:26 > A : [EMAIL PROTECTED] > Objet : Re: [JBoss-user] Same .war that I deploy perfectly in "default" > throws exceptions in "all" ?!? > > > > Yes, I also think it's on EJB side. > Thnks you Jules for the quick check. > > Maybe Sacha or Bill Burk can state somehing avbbout this issue? > > Thnaks > -- > Joao Pedro Clemente > jpcl @ rnl.ist.utl.pt > (when not working out) > (when not sleeping) > (when not surfing) > (when not ... ;) > > > > > --- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Same .war that I deploy perfectly in "default"throws exceptions in "all" ?!?
Yes, I also think it's on EJB side. Thnks you Jules for the quick check. Maybe Sacha or Bill Burk can state somehing avbbout this issue? Thnaks -- Joao Pedro Clemente jpcl @ rnl.ist.utl.pt (when not working out) (when not sleeping) (when not surfing) (when not ... ;) --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] help re: ejb jars visibility
Hi, I am implementing some beans in cmp2 (jboss304+tc406) for the first time and I am trying to solve a problem which has to do with one bean being able to see another bean, which is packaged into a seperate ejb jar file, at deployment time. Perhaps this question might better fall under the topic of j2ee packaging but here's my question anyway. I have the following relationship hierarchy I am trying to emulate: User 1:N Property 1:N Advert Here is the error from the consol log: [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/Property,service=EJB org.jboss.deployment.DeploymentException: Entity: Advert not found for: org.jboss.metadata.RelationshipRoleMetaData@7421536b at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationshipRoleMetaData.(JDBCRelationshipRoleMetaData.java:103) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCRelationMetaData.(JDBCRelationMetaData.java:127) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:149) at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:52) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:677) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:389) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:339) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198) at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376) at org.jboss.ejb.Container.invoke(Container.java:756) at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy5.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:398) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) User (ejb-jar.xml): User-Property User-has-properties One UserBean properties java.util.Set property-belongs-to-User Many PropertyBean Property (ejb-jar.xml): Property-Adverts property-has-adverts One PropertyBean adverts java.util.Set advert-belongs-to-property Many AdvertBean Advert (ejb-jar.xml): no relationship definitions. Note each bean is packaged in its own jar file. So it seems I would need to find a way to set up visibility of ejb jars correctly. I'm not sure what the consequences would be of using different packaging so I have not been down that road. I would apreciate it if anyone could give some feedback on this. Jim --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Settlement in Canada, USA,Austraila & Newzealand
Title: Banner >" METHOD="POST"> CORPORATE HEADQUARTERS 7025 Tomken Rd, Suite#231 Mississauga, Ontario, Canada L5S 1R6 Phone :1 905 564 7797, Fax: 1 905 564 8309 Dear Sir/Madam, We are writing this letter to you to find out if you are interested in working, living and settling down in Canada /US / Australia/New Zealand. Our Firm, Worldwide Immigration Consultancy Services is worlds largest immigration and settlement firm. We have assisted thousands of people from around the world in immigrating and settling down in the above-named countries. For more information about our firm please visit our website- www.wwicscanada.com. If you want our lawyers and practitioners to assess your eligibility of moving to these countries please complete the enclosed form and send it to us for assessment. Yours truly, Parvinder Sandhu Senior Director WWICS Group of Companies Head Office South Asia Operations: S.C.O. 2415-2416 Sec 22C Chandigarh 160022, Ph: 0172 38893-95, Fax:0172 545 491, Email: [EMAIL PROTECTED] US Operations : 860 US Route 1 North Edison NJ 08817 Ph:732 650 1080,Fax :732 650 1039, Email:[EMAIL PROTECTED] UAE Operations : Suite#403 Dar al riffa Building, computer street, Bur Dubai, Dubai, Ph: 00971 5393 1314, Fax: 009715 3931315, E-mail: [EMAIL PROTECTED] --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] oracle-xa-service.xml and JMS
Is it necessary to use XA based transactions with the JDBC2 persistence manager? As up till now I've had no problems using just local transaction control. Best Regards, Anthony Geoghegan. J2EE Developer CPS Ireland Ltd. --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Same .war that I deploy perfectly in "default" throws exceptions in "all" ?!?
I've looked at the log, and I don't think the problem is Jetty/JBossWeb. You have a number of EJB related errors in the log. They are not me field of expertise. Good Luck, Jules Joao Pedro Clemente wrote: (Is there a mailing list max message size? This is the third time I try to send this. This time I zipped the log file. I think it can be it) Seems that my reply to this hasn't reached the mailing list for some reason. I'll write this e-mail again, and I'm sorry if it happens to get there twice. OS -- Linux (RedHat) 2.4.18 JVM -- Sun J2SDK 1.4.1_01 Jetty or Tomcat --- Jetty JBoss Version - Jboss 3.0.5RC1 from +- 10Dec cvs Log --- I'll post it as attachment Stacktrace ? WAR ? Stacktrace and war are not attached as I think they will not help. I can send you later if you want, togheter with the sources if needed. Ok, about the log attached: The program is a webmail/frontend to imap. The exception occurs when trying to log in the imap server. By the log trace it seems that it is trying to open a preferences file, that I think it's stored locally (I am not the developer, sorry, but I'm in contact with him) This exception occurs when running in "all" configuration, with an non-modified .war (no clustering tags were attached, so the package runs on a "noCluster" configuration). The weird thing is that in "default" configuration the application works without a problem. I can't understand why the same package behaves differently in "all" or "default" config, if no tags are changed. Thank you for the attention. ( About the INFO /warning messages reported by [org.jboss.ejb.EJBDeployer] , I'll post a new topic right away ) -- Joao Pedro Clemente jpcl @ rnl.ist.utl.pt (when not working out) (when not sleeping) (when not surfing) (when not ... ;) This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] REad uncommitted Transactio Isolation
How exactly can I declare a : "Read uncommitted" Isolation level in oracle-service.xml file? Vassilis --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user