[JBoss-user] [Persistence & CMP/JBoss] - Re: jboss ignores datasource directive in jbosscmp-jdbc.xml
Post what is your datasource configuration (deployment) file of datasource (*-ds.xml). It has to contain definition for two databases or you must have separate datasource configuration file for each database. Then in your JBoss deployment descriptor file you're able to define for each EJB which datasource should be used for that particular EJB or you can define general datasource for all EJBs. (Of course you can define one global datasource for all of your EJBs in application but override datasource pointer just for some of EJB's). I wouldn't touch standardjbosscmp-jdbc.xml because it is application server's configuration file and not your application configuration file. Changing server configuration file actually means that your loose your portability in some way. Deployment of your application on another JBoss server expects the change of its configuration file too. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845551#3845551 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845551 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss, Hibernate, JDBC, hotdeploy causes error
Here is stack trace: LocalManagedConnectionFactory.createManagedConnection crashes at line 160. 09:15:50,995 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.lang.RuntimeException: No message resource found for message property prop.servertype) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:160) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:477) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:213) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:496) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:425) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:318) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:477) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:122) at net.sf.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:56) at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845550#3845550 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845550 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: DB-Independent configuration
I agree it's a problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845549#3845549 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845549 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR with entity beans in different databases?
Yes, or don't use CMR. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845548#3845548 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845548 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
Hi Vishal, I am unable to deploy the mybank bean in chapter 1...error are..0:57:40,436 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss:service=HAJNDI state: FAILED I Depend On: jboss:service=DefaultPartition Depends On Me: java.lang.NoClassDefFoundError: gnu/regexp/UncheckedRE] using eclispe 2.1,lomboz.212,jboss-3.2.1 ANY CLASSPATHS REQUIRED AT ENVIRONMENTAL VARIABLES View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845547#3845547 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845547 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Jboss Clustering :: Session Replication Issue
Hi, We are using JBoss 3.2.3 and we are trying to use clustering feature. We are using apache + mod JK2 for load balancing. We have set up Jboss on 2 windows NT servers in local lan. We have not configured Jboss for sticky session. We found some issue while testing session replication, Case1: 1. Start server1 (all mode) 2. Add few values to session using sample application. 3. Now start server2 (all mode) 4. Add few more values to existing session. We observed that after server2 was started the session state of server1 was successfully replicated on server2. We could say this because when pages were served from server2, it showed all the values that were added to server1 session. Thus replication is happening whenever subsquent server starts up. Case2: (Continuing from above case) 1. After case1, both servers are up and running. 2. Continue adding values to session. Request can get delegated to either server1 or server2 based on apache. We observed that whenever pages were served from server1, only the values present in session of server1 were displayed. And whenever pages were served from server2, the values present in session of server2 were displayed. Thus replication is not happening when both servers are simultaneously running. One observation is that whenever server2 starts following is seen in the logs, DRM service: Finished merging. But this is never seen when both servers are up and running. Is it that we have missed any configuration? or can you give us some pointers for the above problem. Thanks Regards, Nilesh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845434#3845434 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845434 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Message Driven Beans- Is the Clustering support avalilab
Thax Madu, Now I have a new problem, when I when i put the new queue in to the farm folder it gives and error. MBeans waiting for other MBeans: ObjectName: jboss.j2ee:jndiName=local/SimpleJMS2_SimpleWebService,plugin=pool,service=EJB state: DESTROYED I Depend On: Depends On Me: ObjectName: jboss.j2ee:binding=message-driven-bean,jndiName=local/SimpleJMS2_SimpleWebService,plugin=invoker,service=EJB state: DESTROYED I Depend On: Depends On Me: ObjectName: jboss.mq.destination:service=Queue,name=SimpleJMS2Queue state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: ObjectName: jboss.j2ee:binding=message-driven-bean,jndiName=local/SimpleJMS2_SimpleWebService,plugin=invoker,service=EJB state: DESTROYED I Depend On: Depends On Me: ObjectName: jboss.mq:service=DestinationManager state: NOTYETINSTALLED I Depend On: Depends On Me: jboss.mq.destination:service=Queue,name=SimpleJMS2Queue ObjectName: jboss.j2ee:jndiName=local/SimpleJMS2_SimpleWebService,plugin=pool,service=EJB state: DESTROYED I Depend On: Depends On Me: Also even the default queues like A,B ..etc are created only on the first node.Other nodes are note creating any nodes View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845544#3845544 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845544 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Newbie: how do i
thanks darranl, yes, it was the run command i was stuck with. Combination of my stupidity and the file name 'run.bat' led to confusion. Thanks for the quick reply Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845541#3845541 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845541 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Installing a single JSP page
Hi All: I am a newbeee to Jboss.How do I install a single JSp page in JBoss 3.2.2 ?? Thanks vhk View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845538#3845538 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845538 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: XAConnectionFactory not bound
You need to supply a little more information: jboss version platform jdk version? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845537#3845537 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845537 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Http session replication not happening in clustered envi
your session id string appears garbled. i'm currently having the same problem and i wonder whether that contributes to broken session replication. Seems to me, the session id is garbled because jboss (tomcat?) uses incorrect locale. I'm pretty confident that once you get the session id to appear correctly, your clustering problems will resolve. Let me know if you figure out how to fix that, i will do the same if i get there first cheers, -nikita View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845532#3845532 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845532 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: where is org.jboss.security.auth.spi.DatabaseServerLogin
found it! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845531#3845531 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845531 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: how to specified the application path in jboss-3.2.5
hi friend I find the solution of myself. In boss-3.2.5\server\default\conf ,u will find the jboss-server.xml here u will find the tag deploy/ now change the path in this tag View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845390#3845390 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845390 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: LocalStrings resource not found in jboss 4.0 rc1
update: ok seems like copying LocalStrings.properties from a tomcat50-service.jar file in jbossweb-tomcat50.sar and adding it to my .war eliminated "resource not found". note, that i had to create a org.jboss.web.tomcat.session package in my war and place LocalStrings there. Please note that package name in tomcat50-service.jar file was: org.jboss.web.tomcat.t5.session, whereas the error message stated WebCtxLoader was looking for: org.jboss.web.tomcat.session.LocalStrings Is this a bug? Is WebCtxLoader looking for the wrong package? BUT, my session id strings still look garbled: Session id: TtqqbaYACnRLlEjufUS8-A**.node1 any suggestions? -nikita View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845530#3845530 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845530 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: hot redeploy ear ClassCastException
Which fix are you referring to? Ive just looked at the changelog for 3.2.6 RC1 and didnt see anything related. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845376#3845376 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845376 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Run JBoss as a Windows Service
Could someone please let us know if a new download link is available yet? Thanks, Philip View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845382#3845382 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845382 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - where is org.jboss.security.auth.spi.DatabaseServerLoginModu
I found this class in JBoss source. I'm also using it in my auth.conf file example2 { org.jboss.security.auth.spi.DatabaseServerLoginModule required dsJndiName="java:/DefaultDS" principalsQuery="Select Password from Principals where PrincipalID =?" rolesQuery="Select Role 'Roles', RoleGroup 'RoleGroups' from Roles where PrincipalID =?" ; }; But i just can find in what package it's in ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845529#3845529 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845529 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - JBoss JAAS x Tomcat's
I heard that JBoss' JAAS is not propagated to Tomcat (and vice-versa), is that true? If yes, does it mean that if authenticate using JBoss DatabaseServlerLogin for example, i won't be able to use methods such request.isUserInRole() in any servlets?? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845528#3845528 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845528 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - LocalStrings resource not found in jboss 4.0 rc1
Hi, I've deployed a simple distributed .war which has only one jsp page. that page prints out a view counter and session id. whenever this war is deployed at start-up i get the following message: Can't find resource org.jboss.web.tomcat.session.LocalStrings [EMAIL PROTECTED] as the result, the session id prints out incorrectly (some characters are '*'). Curiously, when a similar jsp page is placed inside jbossweb-tomcat50.sarall/deploy/jbossweb-tomcat50.sar/ROOT.war there are no localStrings problems and session id displays correctly. What am I missing? my setup: jboss 4.0 rc1 jds 1 (suse linux. 2.4.21 kernel) java version "1.4.2_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) thanks -nikita View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845527#3845527 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845527 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - can i use properties in web.xml like in jboss-service.xml?
e.g. tomcar.sar/server.xml use ${jboss.bind.address} Can I use ${xxx} in a yyy.war/WEB-INF/web.xml? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845525#3845525 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845525 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Problems with jms-tobic in cluster (ConnectionFactory no
Hi! Yes, I've got a "workaround" on this. As you can see, this is an expected behaviour since JBoss 3.2.4: http://jboss.org/wiki/Wiki.jsp?page=JBossMQHA On option to make the service "activate" before the servers synchronizes state (wich takes 1 minute to happen after the master node crashes) is to do a lookup in the desired component, after that, the user will receive a NameNotFoundException but this call will start the activation process and in the subsequent call everything will work fine. I'm investigating why we get the firs NNFException as the lookup activates the service and we shouldn't get NNFException and if I have news, I can post it here. []'s Daniel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845524#3845524 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845524 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - HttpServletRequest.getServerPort() incorrectly returns 80 ?
All, I'm using JBoss 3.2.5 in a highly vanilla configuration. Specifically, Tomcat's got an HTTP connector on 8080, and I'm *not* using an AJP connector to tunnel requests through Apache. When I'm in a servlet and I call request.getServerPort(), though, it returns port 80, even though I'm accessing it over port 8080. I checked in deploy/jbossweb-tomcat50.sar/server.xml to make sure there was no proxyPort defined, and indeed there isn't. Any ideas why I'm seeing this behavior? Many thanks, -- David Norris [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845523#3845523 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845523 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Problems with jms-tobic in cluster (ConnectionFactory no
Hi folks, Have you had any resolution on this? We're experiencing the same problem in that our queues depend on the DestinationManager which apparently only starts up on the master node. How are the other nodes in the cluster aware of the various jms-queues if this is the case? I'm convinced there is a way to resolve this, but I can't find any documentation that will lead me to how our configuration is off. Thanks, -Jason View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845522#3845522 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845522 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Two applications running at the same time
Hi, I have 2 applications running in the same JBoss at the same time. They do not use DataSources, the connections are made directly by JDBC Connection object. The 2 DB used by these 2 applications are identical but separated and running in the same DB Server. The problem is: when I run the two applications they always access the same DB instead of access each one its own DB. Anybody knows what it could be? Thanks, Alisson View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845521#3845521 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845521 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Two applications running at the same time
Hi, I have 2 applications running in the same JBoss at the same time. They do not use DataSources, the connections are made directly by JDBC Connection object. The 2 DB used by these 2 applications are identical but separated and running in the same DB Server. The problem is: when I run the two applications they always access the same DB instead of access each one its own DB. Anybody knows what it could be? Thanks, Alisson View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845520#3845520 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845520 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Help: JBoss Stops Responding
Have you tried sending the "kill -SIGQUIT " to see if it starts responding again without taking the process offline? We've seen a similar issue and this seems to at least restore some functionality. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845519#3845519 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845519 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: ParseException when creating CMP tables on 3.2.4RC2 and
ORDER is reserved as part of ORDER BY so the error is correct behavior according to JBoss. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845483#3845483 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845483 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - SSO in jboss 3.2.5
Hi all! Can someone please post an example of how the jboss-service.xml file is supposed to look with SSO enabled in jboss 3.2.5? I've managed to do it with jboss 3.2.3, but still no luck with 3.2.5 :( Tia View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845518#3845518 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845518 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Submitting a login
Hi, suppose i have a simple login page like this one. | | |Name: | |Password: | | | | I got 2 questions: - What is j_security_check??? - If i want a better encryption, do i have to use Https View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845515#3845515 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845515 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Composite key -CMP Bean
In composite key class one must have exactly the same names of getters/setters as defined in EJB using this composite PK class. So if your SomeEJB has getId1 and getId2 methods which are mapped on PK fields, then your SomePK must have exactly the same getId1 and getId2 methods! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845508#3845508 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845508 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - what does that log information mean (no current tx!)?
Hi, there: I have an application to use jboss2.4.8, which keeps getting datasource, dataconnection by calling: DataSource ds = (DataSource)initialContext.lookup("java:/DefaultDS"); and con = ds.getConnection(); It seems that whenever I call it, it gives me the log information like: XAConnectionImpl: [EMAIL PROTECTED] has no current tx! Could anyone please tell me: 1. what does that log information mean? 2. how can I get rid of it from my log file? Thanks a lot David Chen View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845506#3845506 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845506 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - what does
Hi, there: I have an application to use jboss2.4.8, which keeps getting datasource, dataconnection by calling: DataSource ds = (DataSource)initialContext.lookup("java:/DefaultDS"); and con = ds.getConnection(); It seems that whenever I call it, it gives me the log information like: XAConnectionImpl: [EMAIL PROTECTED] has no current tx! Could anyone please tell me: 1. what does that log information mean? 2. how can I get rid of it from my log file? Thanks a lot David Chen View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845505#3845505 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845505 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR with entity beans in different databases?
Thank you for the answer! The solution is to use BMP instead of CMP. Isn't it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845504#3845504 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845504 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: DB-Independent configuration
Yes, theoretically specifying database mapping is optional in JBoss deployment descriptor but if you do not specify it, JBoss will take default database mapping from standardjbosscmp-jdbc.xml and it is Hypersonic SQL mapping. So if you do not use Hypersonic DB then practically it is not optional. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845503#3845503 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845503 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Deploy EAR with a SAR in it
Hi All, I packaged the hibernate service in a SAR, which is then packaged into a EAR with my other WARs and such. When deploying the EAR on jboss, it seems ignore the SAR and did not deploy it. I then found some information about jboss-app.xml, I added it to the ear. But when I deploy it to jboss, I got the following errors. Did I miss anyting? Thank you for your help! Stan 03:37:16,562 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable. 03:37:16,562 ERROR [STDERR] log4j:ERROR The class "org.apache.log4j.spi.ErrorHandler" was loaded by 03:37:16,563 ERROR [STDERR] log4j:ERROR [EMAIL PROTECTED] url=file:/home/yao/local/jboss-3.2.2/server/default/tmp/deploy/tmp33845cactus-sample-ejb.ear ,addedOrder=35}] whereas object of type 03:37:16,563 ERROR [STDERR] log4j:ERROR "org.jboss.logging.util.OnlyOnceErrorHandler" was loaded by [EMAIL PROTECTED] 03:37:16,802 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported error follows. 03:37:16,803 ERROR [STDERR] java.lang.ClassCastException 03:37:16,804 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:165) 03:37:16,804 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140) 03:37:16,890 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153) 03:37:16,890 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415) 03:37:16,890 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384) 03:37:16,891 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783) 03:37:16,891 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666) 03:37:16,891 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616) 03:37:16,891 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602) 03:37:16,891 ERROR [STDERR] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460) 03:37:16,978 ERROR [STDERR] at org.apache.log4j.LogManager.(LogManager.java:113) 03:37:16,978 ERROR [STDERR] at org.apache.log4j.Category.getInstance(Category.java:530) 03:37:16,979 ERROR [STDERR] at org.apache.commons.logging.impl.Log4jFactory.getInstance(Log4jFactory.java:140) 03:37:16,979 ERROR [STDERR] at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:253) 03:37:16,979 ERROR [STDERR] at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:375) 03:37:16,979 ERROR [STDERR] at net.sf.hibernate.jmx.HibernateService.(HibernateService.java:30) 03:37:16,979 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 03:37:16,979 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) 03:37:17,084 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) 03:37:17,084 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:274) 03:37:17,084 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:847) 03:37:17,084 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:291) 03:37:17,084 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:318) 03:37:17,085 ERROR [STDERR] at org.jboss.system.ServiceCreator.install(ServiceCreator.java:98) 03:37:17,085 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:155) 03:37:17,085 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:118) 03:37:17,172 ERROR [STDERR] at org.jboss.system.ServiceController.install(ServiceController.java:225) 03:37:17,172 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) 03:37:17,172 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 03:37:17,172 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324) 03:37:17,172 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) 03:37:17,173 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) 03:37:17,173 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) 03:37:17,261 ERROR [STDERR] at $Proxy4.install(Unknown Source) 03:37:17,261 ERROR [STDERR] at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183) 03:37:17,261 ERROR [STDERR] at org.jboss.deployment.MainDeployer.creat
[JBoss-user] [Persistence & CMP/JBoss] - Re: Cascade delete
I did exactly that. I read your article on WIKI and found how to use . Without this article I wouldn't even know about DD parameter. (BTW, I tried to do some changes on this article but encountered difficulties to submit it. WIKI editor cripled my response! Something is wrong with this WIKI editor! The preview looked just fine but when I submitted response it was clipled! Take a look.) You explained how JBoss manages cascade deletion of related records: * destroy relationship; * synchronize the state (set foreign key fields to NULL in the database to be able to remove the parent); * remove the parent instance; * for each child repeat the procedure starting from 1. IMHO this is wrong approach. In big majority of cases you will not be able to destroy relationship regarding database referential integrities. Also, more than often foreign keys are NOT NULL columns. So this listed approach will work only with database models without real integrity constraints implemented in it. Ask DBA's and other people working with DB's what they think about databases without referential integrities! My question is what is the difference if I set or not? As it has been mentioned, I tracked JDBC traffic of JBoss and find out that there's no difference for JBoss if I set or not! JBoss sends the same SQL trying to destroy relationships regardles of . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845502#3845502 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845502 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - any caching or copying of libs?
Anyone know if JBoss copies libs anywhere's or caches stuff. I'm making changes to my webapp and don't see my changes so I'm wondering if things are being kept around somewheres. I'm running 3.2.3. If so, what's the correct way to clear it out. Thnxs View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845500#3845500 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845500 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign key violation - why is child deleted first in 1-
No, I don't have synch-on-commit-only set to true. I'll try to pair down my code to isolate my problem, and submit a bug report for it. I haven't done this before...when you say "bug report" do you mean the bug list on the sourceforge site? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845499#3845499 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845499 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - XAConnectionFactory not bound
Hi there! I'm trying to deploy a simple MDB, but I'm getting this error. Here's my deployment descriptors: MailCreatorEJB MailCreator MailCreator mailcreator.MailCreatorBean Container javax.jms.Queue QCF javax.jms.QueueConnectionFactory Container jms/MailQueue org.jboss.mq.server.jmx.Queue MailCreator * Required MailCreator jms/MailQueue QCF QueueConnectionFactory also added this to the jbossmq-destinations-service.xml jboss.mq:service=DestinationManager I still have the hsqld-ds configured and the drivers. Any ideas? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845498#3845498 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845498 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: CallerIdentityModule Problem: 'invalid argument' ecxepti
OK. Almost solved. If I explicitly set the user/pwd in the InitialContext, I can use the datasource. However I thought the purpose of the LoginInitialContext was to use a specifed JAAS realm on the client? I shouldn't have to set the user/pwd in the InitialContext, right? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845497#3845497 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845497 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Jboss-QL function mapping?
Examining 'standardjbosscmp-jdbc.xml', I see numerous jboss-ql function -> SQL function mappings such as | | locate | locate(?1,?2) | | Is it possible to extend jboss-ql by adding new entries? Such as: | | month | month(?1) | | Or is jboss-ql limited to the defined functions? Thanks, Jon View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845496#3845496 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845496 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: LDAP Authentication in Jboss
Thanks Elias, I think this is what we're looking for Scotty View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845495#3845495 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845495 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - CallerIdentityModule Problem: 'invalid argument' ecxeption
Hello, I have a headache after pouring over the 'howto' and other posts in the forums trying to figure out how to correctly configure our Swing client to pass along login information to JBoss. I am almost there and need someone's help. I keep getting a 'invalid arguments in call' sql exception when I try to connect. Here is the current environment - does this look like a correct configuration? TIA. Swing client uses org.jboss.security.jndi.LoginInitialContextFactory Swing client auth.conf | pacificDS {org.jboss.security.ClientLoginModule required;}; | other {org.jboss.security.ClientLoginModule required;}; | JBoss auth.conf | pacificDS {org.jboss.security.ClientLoginModule required;}; | Oracle Datasource copied from docs/examples, but added | pacificDS | JBoss login-config.xml entry for JAAS realm | | | | | oracle | oracle | jboss.jca:service=LocalTxCM,name=jdbc/PacificCarillonDS | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845491#3845491 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845491 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Jboss MQ features
1. Yes 2. Yes, but not "automatically" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845489#3845489 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845489 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - LDAP Authentication in Jboss
Howdy, I'm new to JBOSS, we have a need to implement LDAP authentication in Jboss to secure an application (Nesstar). We essentially need to modify the main login module org.jboss.auth.spi.DatabaseServerLoginModule to authenticate the user. Has anyone done such a herculean task yet, or is there LDAP support built in to Jboss? Thanks Scotty View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845487#3845487 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845487 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Clusters, authenticating proxy and dynamic certificate g
Hello again, In my original posting I overlooked the fact that the server doesn't need to remember the newly generated certificate for the client. It just needs to be able to authenticate the CA for this certificate, which is the server itself. Knowing this simplifies everything. The authenticating proxy as well as all clients need to be equipped with the certificate of my CA to authenticate each other. The JBoss clusters don't have to know about this at all, as the requests that they accept are already "de-SSL'ed". Cheers, Alex View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845486#3845486 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845486 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Startup on Linux: Permission problem
Hello, I'm really hoping that someone out there can point me in the right direction on this one. Our server was running fine, we were able to start/stop it without trouble. Then I tried to deploy some new classes which also required an update to jboss-services.xml (I don't deny that I may have unknowingly wreaked havoc somewhere else). Now when I try to start my server I get the error below. I've removed all of my changes and I still get the error. My 'default' server still works ok, I've compared all of the permissions with my 'all' server and they seem to match. Thanks, -cg 13:15:00,805 INFO [Server] Core system initialized 13:15:00,828 INFO [MainDeployer] Starting deployment of package: file:/var/jboss-3.2.3/server/all/conf/jboss-service.xml 13:15:00,830 ERROR [MainDeployer] Could not make local copy for file:/var/jboss-3.2.3/server/all/conf/jboss-service.xml java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1314) at java.io.File.createTempFile(File.java:1402) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845485#3845485 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845485 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - JBoss, Hibernate, JDBC, hotdeploy causes error
Hello Does anyone have any idea why I am getting an error when I hotdeploy to JBoss 3.2.3. This has not happened before. I start JBoss and no error. Then I hotdeploy application to JBoss and then, while hotdeployment goes on, Hibernate tries to create a new connection. And then comes an error through JBoss pool management that says 'could not get connection'. Now because of that, application don't work. I use jTDS driver v0.9. And problem comes with and without cursor mode. I tried with MS SQL Server JDBC Driver also (in cursor mode), but the error comes with that too. If I just start JBoss without hotdeployment, then the error does not come. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845484#3845484 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845484 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Message driven bean and jboss scheduler
Hi all, I am wondering how to use Jboss scheduler service in MDB,I have a task to get message from MDB clients and process them nightly.How can I achieve this by using Jboss scheduler?Since the onMessage() is called my JMS container and perform() is called by jboss MBean server when time out is reached. Any hints and examples? Many thanks in advance! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845482#3845482 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845482 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.
Hi Vishal, I am on chapter1 of the tutorial. I am using Eclipse3.0, Lomboz3cr23, Jboss-3.2.5. Everthing worked fine until deployment of EJBs. But when I get to creation of Test Client, it gives me 'INvalid Thread Access' error. The log shows the folloeing error: java.lang.Exception: New line delimiter added to new code: 10 at org.eclipse.jdt.internal.ui.javaeditor.DocumentAdapter.validateLineDelimiters(DocumentAdapter.java:431) at org.eclipse.jdt.internal.ui.javaeditor.DocumentAdapter.setContents(DocumentAdapter.java:384) at com.objectlearn.jdt.j2ee.ui.wizards.CreateEJBBusinessMethodWizard.performFinish(CreateEJBBusinessMethodWizard.java:155) at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:609) at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:305) at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431) at org.eclipse.jface.window.Window.runEventLoop(Window.java:668) at org.eclipse.jface.window.Window.open(Window.java:648) at com.objectlearn.jdt.j2ee.ui.actions.AddEJBMethodAction.run(AddEJBMethodAction.java:110) at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:71) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:266) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.basicRun(Main.java:183) at org.eclipse.core.launcher.Main.run(Main.java:644) at org.eclipse.core.launcher.Main.main(Main.java:628) Please Help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845481#3845481 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845481 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Run JBoss as a Windows Service
We use the Java Wrapper tool for JBoss and some other things without any problems. It works fine. Looking at your log file I think you will find your JAVA_HOME and JBOSS_HOME environment variables have been defined in Control Panel as 'user' rather than system. The 'user' variables only exist when a user that created them is logged on. The default service will be running on the LocalSystem user. So move your variables to System rather than User. Below is the wrapper.conf we are using. Please note I've editted this a bit before posting to remove some company specific stuff. Hope this helps. When you get wrapper working this is also an MBean you can use which is useful. Gary | wrapper.java.command=%JAVA_HOME%/bin/java | | # Java Main class | wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp | | # Java Classpath (include wrapper.jar) Add class path elements as | # needed starting from 1 | wrapper.java.classpath.1=../../lib/wrapper.jar | wrapper.java.classpath.2=%JAVA_HOME%/lib/tools.jar | wrapper.java.classpath.3=../../bin/run.jar | | # Java Library Path (location of Wrapper.DLL or libwrapper.so) plus syste mpath as per normal JVM | wrapper.java.library.path.1=../../lib | | # Java Additional Parameters | wrapper.java.additional.1=-Dprogram.name=Wrapper | wrapper.java.additional.2=-Dsun.java2d.d3d=false | wrapper.java.additional.3=-Dsun.java2d.noddraw=true | | # Initial Java Heap Size (in MB) | wrapper.java.initmemory=64 | | # Maximum Java Heap Size (in MB) | wrapper.java.maxmemory=256 | | # Application parameters. Add parameters as needed starting from 1 | wrapper.app.parameter.1=org.jboss.Main | wrapper.app.parameter.2=-c | wrapper.app.parameter.3=default | | # Port which the native wrapper code will attempt to connect to | wrapper.port=1777 | | # | # Wrapper Logging Properties | # | # Format of output for the console. (See docs for formats) | wrapper.console.format=PM | | # Log Level for console output. (See docs for log levels) | wrapper.console.loglevel=INFO | | # Log file to use for wrapper output logging. | wrapper.logfile=../../server/reims/log/wrapper.log | | # Format of output for the log file. (See docs for formats) | wrapper.logfile.format=LPTM | | # Log Level for log file output. (See docs for log levels) | wrapper.logfile.loglevel=INFO | | # Maximum size that the log file will be allowed to grow to before | # the log is rolled. Size is specified in bytes. The default value | # of 0, disables log rolling. May abbreviate with the 'k' (kb) or | # 'm' (mb) suffix. For example: 10m = 10 megabytes. | wrapper.logfile.maxsize=256k | | # Maximum number of rolled log files which will be allowed before old | # files are deleted. The default value of 0 implies no limit. | wrapper.logfile.maxfiles=5 | | # Log Level for sys/event log output. (See docs for log levels) | wrapper.syslog.loglevel=ERROR | | # | # Wrapper NT Service Properties | # | # WARNING - Do not modify any of these properties when an application | # using this configuration file has been installed as a service. | # Please uninstall the service before modifying this section. The | # service can then be reinstalled. | | # Name of the service | wrapper.ntservice.name=JBoss | | # Display name of the service | wrapper.ntservice.displayname=JBoss | | # Description of the service | wrapper.ntservice.description=JBoss Service | | # Service dependencies. Add dependencies as needed starting from 1 | #wrapper.ntservice.dependency.1= | | # Mode in which the service is installed. AUTO_START or DEMAND_START | wrapper.ntservice.starttype=AUTO_START | | # Allow the service to interact with the desktop. | wrapper.ntservice.interactive=false | | ## Allow upto 2 minutes to shutdown | wrapper.shutdown.timeout=120 | wrapper.jvm_exit.timeout=120 | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845476#3845476 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845476 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Classloader question
Hello, I am calling a method from a jsp as follows: | <% | com.mycompany.MyClass mc = new com.mycompany.MyClass(); | mc.print(); | %> | I tried dropping the jar for MyClass into the %jboss_home%\lib directory and I get an error. Can anyone tell me why? Are classes in this directory invisible? Thanks in advance, Albert. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845474#3845474 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845474 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: java.net.MalformedURLException: unknown protocol: eudoxu
Why are you writing code in the 'sun' package? I have a vague recollection that the root classloader in Sun's VMs prevents you from loading classes into the 'sun' package. If this is true it's likely to only be the beginning of your issue... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845470#3845470 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845470 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Having trouble connecting jboss 3.2.2 to Oracle 10g
Hi ; i'm trying to set up a copy of our development environment at work. we are using jboss3.2.2 and oracle 9i. However instead of Oracle 9i i am using Oracle10G. The problem i am having is when i submit a call to the database through our login page. i get an error stating that : "java.lang.unsatisfiedlinkerror: no ocijdbc9 in java.library.path" we use a file called "Oracle-ds.xml" to specifiy the database. the connection-url tag uses "jdbc:oracle:oci8:@x" to specify the DB. for Oracle 10g is 'oci8' proper? or is their another item to be used? any ideas how the connection should be done? Thanks for any help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845468#3845468 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845468 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Jboss MQ features
Hi, I'm comparing features between IBM QM and Jboss MQ. Does Jboss MQ supports: 1. delivery mode "exactly once" (one and only one message will be delivered). 2. automatic transmission to remote server without usage any additional software thank you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845467#3845467 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845467 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - RW/RO EJB invalidation pattern not working
Greetings, I created a read-only ejb Primitive that I pretend to invalidate through the read-write ejb PrimitiveRW. Both extends Standard CMP 2.x EntityBean with cache invalidation configuration (the read only extends CMP extended life time but this configuration extends the other configuration with longer passivation timeout). I simply do a lookup for a RW ejb instance, which I set the name to the same older name to generate a invalidation to other instances beans: | myRWbean.setName(myRWbean.getName()); | But my RO bean isn't invalidated (the load never happens) when I do a new lookup!? I'm using jboss 3.2.5 and below is my jboss.xml: | | | | | | Primitive | ejb/PrimitiveLocal | true | CMP extended life time | | | | | true | | DefaultPartition | org.jboss.ha.framework.interfaces.RoundRobin | org.jboss.ha.framework.interfaces.RoundRobin | | | true | | PrimitiveCacheGroup | | | | | PrimitiveRW | ejb/PrimitiveRWLocal | Standard CMP 2.x EntityBean with cache invalidation | | | | getName | false | | | setName | false | | | | true | | DefaultPartition | org.jboss.ha.framework.interfaces.RoundRobin | org.jboss.ha.framework.interfaces.RoundRobin | | | false | | PrimitiveCacheGroup | | | | | | | CMP extended life time | | | org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy | | |50 |100 |300 |86400 |400 |60 |1 |0.75 | | | | | | | | Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845466#3845466 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845466 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: General question about the twiddle and deployer scripts
Either you're not in the %JBOSS_HOME%\bin folder or that folder is not in your PATH. Try changing directories to %JBOSS_HOME%\bin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845465#3845465 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845465 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: javax.ejb.ObjectNotFoundException: No such entity!
Can you try to write a simple JDBC test that executes the same statement using the same DataSource inside the JBoss and see if it sees the row? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845464#3845464 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845464 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: 2 J2EE application with the same EJB
"wtff" wrote : yes this is possible. | | First of all, if you just deploy ejb-jars by placing them somewhere below the deploy directory, their classes will be loaded into the same loader repository. | So lets first start with the simple case of having an ejb which you want to deploy two times, lets say with different configuration settings. You can do this, but you have to make sure to use two different ejb-names and two different JNDI paths. | How can I have two different ejb-names? Modifing the ejb-jar.xml of each one? I cannot do that, since in this way I should also modify the client call. I'd like to have the same EJB name, but a differenti J2EE application name. In Orion this is possible, I can deploy the same Jar in 2 different application, and the only thing to do on the client is changing the J2EE application name in the lookup. "wtff" wrote : | If the bean should also be able to exist in two different versions, you have to ensure that they are loaded into different classloader repositories. In order to achieve this, you have to put them into two different ear archives. Within the jboss-app.xml file in the META-INF directory of the ear archive you need to specify a separate loader repository for each ear: | | | | | | | | | http://www.jboss.org/j2ee/dtd/jboss-app_3_2.dtd";> | | | | | | | | jmx-domain-name:loader=application-ONE | | | | | | | | | Thanks for your help, I'll try to make the 2 EAR's, but if you can ask to the above question, I'll be very thankful. Reagards Alessandro Rizzi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845462#3845462 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845462 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR with entity beans in different databases?
The tables should be in the same db. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845461#3845461 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845461 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: ABSTRACT_SCHEMA problem with ejb-ql
Order is a reserved word. Choose something different. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845460#3845460 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845460 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign key violation - why is child deleted first in 1-
I can reproduce this by invoking the remove() method on an instance which does not have the foreign key and the container has synch-on-commit-only set to true. But it's not your case, right? If you have a simple testcase, please, open a bug report and attach the testcase. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845459#3845459 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845459 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - JCA ClassCastException
I have a RA accessing an EJB remotely. On first deployment everything works fine, but when i redeploy the EJB, the RA always throws a ClassCastException when calling the Home factory. Seems to be some weird classloading issue. Also it's the same class bound to jndi, for some reason the ClassLoader rejects it. Can someone help me out on this? I already searched google for days, read the mailing list, the wiki, tried everything... I am on JBoss 3.2.5 Thanks,Heiko View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845457#3845457 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845457 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JMS-HA with HTTP Tunneling problem
Sorry, I forgot to say that the JBoss version I am using is 3.2.5... Gianlu View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845456#3845456 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845456 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Need help
Hi. I'm new in JBOSS. I have Jboss3.2.3, Eclipse, Lomboz, and Firebird DB, and CMP for receiving table from database on index.jsp.Everything is ok, but I dont have any security staff in my project, and there's is not so much time. Can anybody help with step by step instructions . It can be simple user, password login in JSP code or JAAS in JBOSS. Please help me! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845455#3845455 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845455 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Cascade delete
Read the wiki page on batch-cascade-delete which describes why cascade-delete is the default. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845454#3845454 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845454 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Use of corba callbacks in JBoss
Hello, I am working on a server task that requires me to log into a third party application via CORBA and register a callback with the third party app. I will then be notified when events occur on the third party server. What I was wondering was if this would fit into J2EE engine such as JBoss. I was checking out the use of .javax.resource.spi.work.Work interface and thought that might work, but when you register a callback in CORBA, it tends to spawn extra threads, and I figured that might break the thread usage model of a J2EE engine such as JBoss. Overall, it seems as though my best bet is to use some interface in the JCA, but not sure if that would be correct or not. Any suggestions or guidance would be very appreciated. Thanks for your help Anton View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845452#3845452 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845452 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Cascade delete
I work with JBoss v3.2.3, MySQL v4.0.20d and MySQL Connector/J 3.0.14 (stable) JDBC driver. I created one-to-many relationship between CustomerEJB-OrderEJB CMP beans. There is referential integrity between CUSTOMERS and ORDERS tables also cascading delete feature is set and it works if I delete Customer row from DB tool. I tracked JDBC connection to see what JBoss does under the hood when I try to delete a row from customer table (Customer.remove()). First I tried it without in ejb-jar.xml (of course DB complaints about that), and after that I tried it with but the situation is complitely the same. But the SQL under the hood was complitely the same. JBoss tries to set foreign keys in ORDERS table to null and it is not allowed by database model (I realy do not want to have orphan records in ORDERS table). Ok, when I use it works but I think that is intended exactly for the purpose that does. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845451#3845451 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845451 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - JMS-HA with HTTP Tunneling problem
Hi all. I set up two JBoss instances in cluster, and I have my JMS clients able to connect to the two instances and to correctly manage the shutdown of one of them. I did this by using JNDI (by configuring "org.jnp.interfaces.NamingContextFactory" as initial context factory). Now I would like to make my JMS clients connect to JBoss using HTTP Tunneling. I'm able to make JMS clients connect to a single instance of JBoss using HTTP Tunneling (by using "org.jboss.naming.HttpNamingContextFactory" as initial context factory and the JNDIFactory servlet as provider URL). I tried to do the same with the two clustered JBoss instances, but it didn't work... I also tried to configure the HAJNDIFactory servlet as provider URL, but I wasn't able to set it up correctly (I had an exception thrown during the JBoss startup). Finally, I am not even sure that it is possible to use the JBoss high availability with HTTP Tunneling... Some help? Is it possible to use HTTP Tunneling with JMS-HA? If yes, what did I do wrong in the JMS clients and JBoss configurations? How can I correctly configure the HAJNDIFactory servlet (if it is the one that I should use)? Thanks in advance, Gianlu View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845448#3845448 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845448 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - java.net.MalformedURLException: unknown protocol: eudoxus
To All ] java.net.MalformedURLException: unknown protocol: eudoxus 09:15:59,697 INFO [STDOUT] at java.net.URL.(URL.java:544) 09:15:59,697 INFO [STDOUT] at java.net.URL.(URL.java:434) 09:15:59,697 INFO [STDOUT] at java.net.URL.(URL.java:383) I have implemented a new URL protocol eudoxus. I have defined the implementation in the class sun.net.www.protocol.eudoxus.Handler. When I place the jar file that contains this class in an ear and reference it from the manifest file in the war I get this exception. Where should this file be placed. I believe it is accessed through reflection from the URL class. Thanks Solomon View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845445#3845445 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845445 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: RAR inside an EAR
Yes you do need to reference the ear: http://www.jboss.org/wiki/Wiki.jsp?page=ConfigConnectionFactory Otherwise how would it know which rar to use if the rar was deployed at the top level or in a different ear. This is the same syntax used for resolving ejb-links uniquely. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845443#3845443 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845443 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - JBoss 3.2.5 - Exception deploying Web module (working on 3.2
All We have an EAR (containing an EJB module and a Web module) that deploys on JBoss 3.2.3. When I try and deploy the same file on JBoss 3.2.5 I get the following exception: 13:28:21,674 INFO [Server] JBoss (MX MicroKernel) [3.2.5 (build: CVSTag=JBoss_3_2_5 date=200406251954)] 13:28:21,674 INFO [Tomcat5] Saw org.jboss.system.server.started notification, starting connectors 13:28:21,783 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 13:28:21,830 WARN [MapperListener] Error registering contexts ReflectionException: Cannot find method findMappingObject with this signature Cause: java.lang.NoSuchMethodException: org.apache.commons.modeler.BaseModelMBean.findMappingObject() at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:490) It appears that JBoss 3.2.5 uses Tomcat 5.0.26 (which never got out of beta?). Anyway when I looked at the source for the MapperListener class I found the following line: Object context = mBeanServer.invoke(objectName, "findMappingObject", null, null); If however you check the org.apache.commons.modeler.BaseModelMBean code this method isn not declared. My question is whether this is a known bug, whether there is a work around or whether I should deploy the next JBoss release (and when that might come). Thanks (great product too!) Chris Mein EBRD View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845442#3845442 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845442 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - bug in ExprEditor.edit(NewExpr call) when in try-catch-block
I'm using java-assist to rewrite code using ExprEditor and NewExpr.replace(). When my code looks like this: HashMap h=new HashMap(size); it has to be converted to HashMap h=new HashMapWrapper(size,some_extra_params); The wrapper is not a real wrapper, but just extends the real HashMap. Everything works fine, but the byte code is screwed up when trying to patch: try { HashMap h=new HashMap(size); } catch (Exception e) { // } Something goes wrong with the try-block (I already tried the latest source from CVS). When I 'm trying to decompile the try block is just gone; it can't even decompile properly. The strange thing is that this only happens when the constructor call (NewExpr) is the FIRST call in a try-block. So, this works perfectly: try { String blah="blah"; HashMap h=new HashMap(size); } catch (Exception e) { // } It looks like a bug... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845433#3845433 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845433 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Two applications running at the same time
Hi, I have 2 applications running at the same JBoss. They do not use DataSources, the connections are made directly by JDBC Connection object. The 2 DB used by these two applications are identical but separated and running in the same DB Server. The problem is: when I run the two applications they always access the same DB instead of access each one its own DB. Anybody knows what it could be? Thanks, Alisson View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845428#3845428 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845428 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: 2 J2EE application with the same EJB
yes this is possible. First of all, if you just deploy ejb-jars by placing them somewhere below the deploy directory, their classes will be loaded into the same loader repository. So lets first start with the simple case of having an ejb which you want to deploy two times, lets say with different configuration settings. You can do this, but you have to make sure to use two different ejb-names and two different JNDI paths. If the bean should also be able to exist in two different versions, you have to ensure that they are loaded into different classloader repositories. In order to achieve this, you have to put them into two different ear archives. Within the jboss-app.xml file in the META-INF directory of the ear archive you need to specify a separate loader repository for each ear: | | | http://www.jboss.org/j2ee/dtd/jboss-app_3_2.dtd";> | | | | jmx-domain-name:loader=application-ONE | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845427#3845427 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845427 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Lost or forgotten messages in queue
Just a few references to the file persistence manager. Adrian (JBossMQ lead) says that the file persistence manager is not supported anymore and that it is only there for backward compatibility with 2.4. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=43492 http://www.jboss.org/index.html?module=bb&op=viewtopic&t=48381 There are problems with the file persistence manager. I think one of the causes is that it is not transactionally reliable. This is because not all JVMs guarantee that when a call to flush() returns, that the data is actually on disc... I think that there are also scalability issues with file persistence (max no of files in one dir on windows, startup times?). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845426#3845426 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845426 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: load balancing web services
How would you load balance a normal web app? The client will always have a fixed host:port. I don't think this a ws related question, you may want to read up on jboss clustering, mod_jk, etc. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845420#3845420 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845420 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Prepared Statement Caching
I'm using JBoss 3.2.3 (Jetty) and have just enable prepared-statement-caching by setting the prepared-statement-cache-size in the datasource descriptor. The setting however appears to have had no effect, and I can see in the debugger that I keep getting a new instance of a prepared statement. Is there anything else I need to do apart from simply modify the datasource descriptor? Descriptor snippet below.. oracle.jdbc.driver.OracleDriver org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter Blah jdbc:oracle:thin:@server1:1521:server1 user pass 20 40 5000 5 50 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845419#3845419 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845419 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: load balancing web services
Hi I access web services like this : http://machine-name:8080/jboss-net/services/MyEndPoint what if "machine-name" machine crashed?! How can I get HA in that scenario? can I call the http without the machine-name ? just as I call ejb without the machine name in provider-url and achieve HA ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845418#3845418 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845418 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Configuring multiple JVMs(Work environments) in JBoss App Se
I want to configure muliple deployment environmnts(Multiple JVMs/Containers) for different developers in JBoss application server. Developers should be able to configure seperate class paths for their deployments. Please let me know how to achive this in JBoss. thanks Navin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845417#3845417 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845417 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: PreparedStatementCache
We are seeing the same behaviour, setting the prepared-statement-cache-size doesn't seem to have any effect. Is there another setting that needs to be set apart from just the datasource descriptor? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845416#3845416 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845416 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: console to view global JNDI Namespace
Go to http://localhost:8080/jmx-console Click on JNDI View Click on List View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845415#3845415 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845415 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: Newbie: how do i
Which bit don't you understand, I assume that you know how to copy and rename a folder using Windows. To execute the command 'run -c myconfig' you need to open a command prompt and move the the JBoss bin directory so that you can enter the command. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845413#3845413 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845413 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - More information about monitors
Hello, Can anyone give me a brief explanation of what monitors are for (monitoring-service.xml). Where does their output go? Can anyone give me a concrete example of how a monitor would be used? Thanks in advance, Julien. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845412#3845412 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845412 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Farming documentation
"lac_raz" wrote : but what if I want to control the deployment order of the nodes (e.g. first deploy to second node and then to the third one)? Under what circumstances would it be desirable to control the deployment order after the master comes up? We're clustering, but we have some problems therein and we're not using the farming stuff in order to cluster, and I think that this is causing some additional problems on 3.2.5. My current idea is that the fact that we're not using the farming stuff for clustering and controlling some of the configuration under jboss/server/all/deploy by hand is causing other similar problems. I'd like to get current and I'm thinking that maybe it's time to purchase the documentation here. ;) So my question is that if you're farming why would it be desirable to control deployment order of nodes in the cluster? Thanks, -Jason View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845384#3845384 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845384 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Online education
Is it working? When trying to see/hear one of the past educations - what is supposed to happen after registering. To me nothing happens, well sometime there was an empty page but nothing more. Using Firefox if that will matter. /L View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845406#3845406 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845406 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign key violation - why is child deleted first in 1-
Sure. Here is the full stacktrace. Sorry for cutting it short the first time. 2004-08-17 07:41:29,140 INFO [STDOUT] DEBUG: parameters: 2 | 2004-08-17 07:41:29,156 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Group#findByPrimaryKey] Executing SQL: SELECT t0_Group.groupKey FROM CdhpGroup t0_Group WHERE t0_Group.groupKey=? | 2004-08-17 07:41:29,187 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Group] Executing SQL: SELECT groupName, physicalAddressKey, mailingAddressKey, feeBankAccountNumber, feeBankKey, createEnrollmentVerificationLetterInd, createDateTime, createUserId, lastUpdateDateTime, lastUpdateUserId FROM CdhpGroup WHERE (groupKey=?) | 2004-08-17 07:41:29,203 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.Group] load relation SQL: SELECT physicalAddressKey FROM CdhpGroup WHERE (groupKey=?) | 2004-08-17 07:41:29,203 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.Group] load relation SQL: SELECT benefitPlanKey FROM CDHPBenefitPlan WHERE (groupKey=?) | 2004-08-17 07:41:29,218 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.Group] load relation SQL: SELECT groupKey, effDate FROM CDHPGroupId WHERE (groupKey=?) | 2004-08-17 07:41:29,218 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityCommand.Address] Executing SQL: DELETE FROM CDHPAddress WHERE addressKey=? | 2004-08-17 07:41:29,218 ERROR [org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityCommand.Address] Could not remove 3 | java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]DELETE statement conflicted with COLUMN REFERENCE constraint 'FK_CdhpGroup_PhysicalAddress'. The conflict occurred in database 'ASIFSA', table 'CdhpGroup', column 'PhysicalAddressKey'. | at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) | at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source) | at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source) | at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source) | at com.microsoft.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source) | at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source) | at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source) | at com.microsoft.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source) | at com.microsoft.jdbc.base.BaseStatement.postImplExecute(Unknown Source) | at com.microsoft.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source) | at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source) | at com.microsoft.jdbc.base.BaseStatement.executeUpdateInternal(Unknown Source) | at com.microsoft.jdbc.base.BasePreparedStatement.executeUpdate(Unknown Source) | at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:335) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityCommand.executeDeleteSQL(JDBCRemoveEntityCommand.java:155) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCRemoveEntityCommand.execute(JDBCRemoveEntityCommand.java:103) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.removeEntity(JDBCStoreManager.java:666) | at org.jboss.ejb.plugins.CMPPersistenceManager.removeEntity(CMPPersistenceManager.java:466) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.removeEntity(CachedConnectionInterceptor.java:430) | at org.jboss.ejb.EntityContainer.remove(EntityContainer.java:500) | 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.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1102) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:72) | at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:317) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) | at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:118) | at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:175) | at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89) | at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:54) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInt
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Lost or forgotten messages in queue
Is JDBC persistence more reliable than the file persistence manager or why, in your opinion, show they prefer JDBC persistence? If you say "The queue depth only includes messages not yet delivered to JMS consumers" do you think that JBoss behaves right saying QueueDepth is five (meaning 5 messages already delivered to the client), although there are 10 msgs in the queue physically? Or are you saying the file persistence manager is buggy? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845405#3845405 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845405 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: How to access HA Singleton MBean clusterwide via EJB
Thanks Nicholas for your Answer. But what do you exactly mean by "Stub"? Yesterdy I tryed to bind the service itself into JNDI with no success. Excerpt from MBeans startSingleton(): | Name n = context.getNameParser("").parse("service/mbean/MyService"); | NonSerializableFactory.rebind(n, this, true); | A lookup on the client (EJB) returned a javax.naming.Reference. So I tryed | MyService s = (MyService) PortableRemoteObject.narrow(o, MyService.class); | which results in ClassCastException. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845403#3845403 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845403 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss+WSMQ - connection to queue is closed after several
WSMQ stands for WebSphere MQ (i.e. MQ Series) Unfortunately the network connection is never broken (there are 2 other sockets open all the time !!!) and as I mentioned before there are no exceptions in log files. I noticed that if there are no messages in the queue for a few hours and then a message is sent to the queue the connection (1 out of 3 sockets) is closed and JBoss no longer receives any messages. It seems JBoss has no idea that the connection was lost and does not try to reconnect. Is there any way to monitor it and force JBoss to connect again to the queue ? If it is restarted it works fine again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845402#3845402 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845402 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user