[JBoss-user] [Persistence CMP/JBoss] - Re: Insertin records on One-to-Many relation
You have to use the cmr field of the user that is created. After creation you can have an empty Collection on calling the getCMRfield() method. Then you can use the Collection methods to add related CMP's to that collection. Suppose you hava an collection of roles(CMP's) in a Collection newRoles. user.getRoles.addAll(newRoles); This is just one way. Read the EJB spec for more. Johan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855154#3855154 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855154 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - jboss error with tutorial example Fibbonacci Application
I am trying to deploy the the Fibonacci Application example porvided in the jboss tutorial. I have exactly followed the instructions but am getting this error. Please if someone can help me out 08:13:37,111 WARN [verifier] EJB spec violation: Bean : Fibo Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local home interface, if any, in the local-home element. Info : Class not found on 'tutorial.interfaces.FiboLocalHome': No ClassLoaders found for: tutorial.interfaces.FiboLocalHome 08:13:37,121 WARN [verifier] EJB spec violation: Bean : Fibo Section: 22.2 Warning: The bean provider must specify the fully-qualified name of the enterprise bean's local interface, if any, in the element. Info : Class not found on 'tutorial.interfaces.FiboLocal': No ClassLoaders found for: tutorial.interfaces.FiboLocal 08:13:37,131 ERROR [MainDeployer] could not create deployment: file:/D:/jboss/jboss-3.2.6/server/all/tmp/deploy/tmp21794FiboApp.ear-contents/FiboEJB.jar org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:775) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191) 08:13:37,161 ERROR [MainDeployer] could not create deployment: file:/D:/jboss/jboss-3.2.6/server/all/deploy/FiboApp.ear org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:775) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855157#3855157 Reply to the
[JBoss-user] [EJB/JBoss] - Re: Error: lock 0
As to the performance, just test it as it depends on lot of factors. As to the CMR, make sure the field access and collection iteration is done in the same tx. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855159#3855159 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855159 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JBosss and Apache
Sorry, don't know where to find the full document. In short, the missing part is that you need to configure a clusterwide id for your tomcat. This is done by adding jvmRoute=... to the engine-tag in your tomcat. e.g.: ... Have a look at the documentation from apache.org (don't know a direct link). There is no difference if you start Tomcat within JBoss or as an external process. The configuration is similar in both cases. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855160#3855160 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855160 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Timestamp issue
Be aware of how you fill the CMP field (if you're using CMP). Look at the type mappings in the standardjbosscmp-jdbc.xml file. E.g use a Calendar object in your application to create a correct date and time object (aware of timezone etc.) and use this object to fill a date, time or timestamp field (used by CMP or plain JDBC). Johan. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855162#3855162 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855162 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: EAR deployment problem - Incomplete Deployment listing
Even the DTD doesn't know anything about EARs with other EARs inside. JBoss should? http://java.sun.com/dtd/application_1_3.dtd View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855163#3855163 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855163 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Axis EJB provider not registered with JBoss 3.2.6
Have you considered using standard portable J2EE web services (WS4EE) with JBossWS? http://www.jboss.org/wiki/Wiki.jsp?page=JBossWS Borland probably wants to support that and discontinue JBoss.NET View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855164#3855164 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855164 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.5 - Exception deploying Web module (working on
Not sure if this will be any help to anyone but... The problem occurs when using the commons-logging.jar package inside a web application deployed on JBoss 3.2.5 (or higher). The latest JBoss uses Tomcat 5.X and evidently there is a class loading issue with this (there are other posts with the details). So basically just remove the commons logging jar file from the deployed package and things will work. Chris Mein View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855165#3855165 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855165 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: JBosss and Apache
I fixed the wiki page. Keep in mind that we strongly recommend using mod_jk1.2 instead http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855166#3855166 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855166 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Problem connecting AS400
I've always used Jboss 3.0.7. To connect AS/400 from my application following data source works perfectly. ?xml version=1.0 encoding=UTF-8? | | !-- = -- | !-- -- | !-- JBoss Server Configuration -- | !-- -- | !-- = -- | | !-- LIMS datasource connections -- | | server | | classpath codebase=lib archives=jt400.jar, classes12.zip, nls_charset12.jar/ | | !-- = -- | !-- limsDS_03 DEMOENG ENVIRONMENT-- | !-- = -- | mbean code=org.jboss.resource.connectionmanager.LocalTxConnectionManager name=jboss.jca:service=LocalTxCM,name=limsDS_03 | | depends optional-attribute-name=ManagedConnectionFactoryName | !--embedded mbean-- | mbean code=org.jboss.resource.connectionmanager.RARDeployment name=jboss.jca:service=LocalTxDS,name=limsDS_03 | | attribute name=JndiNameilogistics/lims/defaultDS_03/attribute | | attribute name=ManagedConnectionFactoryProperties | properties | config-property name=ConnectionURL type=java.lang.Stringjdbc:as400://DCSNL1;naming=system;libraries=*LIBL/config-property | config-property name=DriverClass type=java.lang.Stringcom.ibm.as400.access.AS400JDBCDriver/config-property | config-property name=UserName type=java.lang.StringUSER/config-property | config-property name=Password type=java.lang.StringPASSWORD/config-property | /properties | | /attribute | | !--Below here are advanced properties -- | !--hack-- | depends optional-attribute-name=OldRarDeploymentjboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper/depends | | /mbean | /depends | | depends optional-attribute-name=ManagedConnectionPool | !--embedded mbean-- | mbean code=org.jboss.resource.connectionmanager.JBossManagedConnectionPool name=jboss.jca:service=LocalTxPool,name=limsDS_03 | | attribute name=MinSize0/attribute | attribute name=MaxSize50/attribute | attribute name=BlockingTimeoutMillis5000/attribute | attribute name=IdleTimeoutMinutes15/attribute | !--criteria indicates if Subject (from security domain) or app supplied | parameters (such as from getConnection(user, pw)) are used to distinguish | connections in the pool. Choices are | ByContainerAndApplication (use both), | ByContainer (use Subject), | ByApplication (use app supplied params only), | ByNothing (all connections are equivalent, usually if adapter supports | reauthentication)-- | attribute name=CriteriaByContainer/attribute | /mbean | | /depends | depends optional-attribute-name=CachedConnectionManagerjboss.jca:service=CachedConnectionManager/depends | | !-- | depends optional-attribute-name=JaasSecurityManagerServicejboss.security:service=JaasSecurityManager/depends | -- | | attribute name=TransactionManagerjava:/TransactionManager/attribute | !--make the rar deploy! hack till better deployment-- | dependsjboss.jca:service=RARDeployer/depends | | /mbean | !-- = -- | !-- limsDS_03 -- | !-- = -- | /server | Now I desided to step over to Jboss 3.2.3 (It was good idea :-)) OK . Using the examples I 've changed the datasource as following: | datasources | | local-tx-datasource | jndi-nameilogistics/lims/defaultDS_03/jndi-name | connection-urljdbc:as400://dcsnl/connection-url | connection-property name=libraries*LIBL/connection-property | connection-property name=namingsystem/connection-property | driver-classcom.ibm.as400.access.AS400JDBCDriver/driver-class | user-nameUSER/user-name | passwordPASSWORD/password | /local-tx-datasource | | /datasources | But this data source does not work for me After Jboss has been started I see following error messages in the logging: 2004-11-15 10:53:56,218 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.3/server/default/deploy/defaultds03.xml 2004-11-15 10:53:56,234 INFO [org.jboss.deployment.MainDeployer] deployment waiting for deployer: file:/C:/jboss-3.2.3/server/default/deploy/defaultds03.xml 2004-11-15 10:53:56,234 INFO [org.jboss.deployment.MainDeployer] Deployment of package: file:/C:/jboss-3.2.3/server/default/deploy/defaultds03.xml is waiting for an appropriate deployer. 2004-11-15 10:53:56,234
[JBoss-user] [EJB/JBoss] - Re: Error: lock 0
Thank you so much. I will try to change the commit option to B. Later Ill return with feedback and some numbers Again, thank you so much. Bye, Eduardo Rodrigues View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855172#3855172 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855172 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Accessing ejbs in isolated ears from within axis-webapp
Hello, I have deployed an EJB session bean on jboss 3.2.6. The session bean acts as a client for a webservice and therefore I had to activate Isolation with Overriding for the axis libraries, because they interfere with the standard libaries from jboss. Now I'd like to publish this session bean with axis. But the axis webapp complaints about not finding the Remote-Interface of the bean, because it is isolated (ClassNotFoundException). Is there a way to activate overriding but deactivate isolation, so that axis can access the remote interface? Or does somebody know a workaround for this problem? It might be possible to deploy a small module just with the remote interface. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855175#3855175 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855175 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBoss 4.0: Failed to load DynamicSecurityManager
mespee wrote : Resolved: | The key is the login-config.xml. They changed the section under !-- Security domain for | JBossMQ --. I just took the 3.2.5 part of that section, and pasted into | our login-config.xml and then it worked. Hi mespee, I have the same problem but I can't apply your fix. The section you are talking about are equal in my versions of 3.2.5 and 4.0. Could you please post the relevant part of your login-config.xml file? Regards, Boo. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855176#3855176 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855176 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: install jboss 4 on a already jakarta tomcat 5
genman wrote : | JBoss already has tomcat 5 built in. I kwon but I want work with other tomcat in other directory, how this is possible ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855177#3855177 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855177 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Using utility jars inside ear archive
I am developing a quite complex application and have run into the folowing problem. For example I am using eXist as xml-database. I created a MBean for starting the databases at deployment time. For this I have a jar-file containing eXist and a sar-file containing the MBean. As I want the eXist classes to be available to the other modules of my application I cannot add everything to the sar-file. After googling a while I found out that i have to add a Class-Path entry to my MANIFEST.MF, but this didn't change anything :( Any help available for this? Chris View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855178#3855178 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855178 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Providing global jar-files in ear-archive?
Hi, when using Bea-Weblogic there seems to be a way to make jar-files available to all applications on the server if puting them in a special directory insoder the ear-archive. Is there a similar way to do this with jboss? I have quite a large set of independant Application-Parts, that all use the same libraries already provided by the core-ear. At the moment I am packaging these with every application that needs them, but it would be nice if I could make jar-files globaly available. Any Ideas? Chris View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855179#3855179 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855179 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Simple reference of CSS from JSP doesn't work
Raist_Majere, Thanks for your reply. This (now solved) was a bit of a wierd one. The bit of test CSS I was using simply modified the look of h1. I was using Firefox to view the page and for some wierd reason Firefox seems to ignore the first CSS tag defined! So the paths issue was a red herring in the end, that was all working! Regards, Ian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855181#3855181 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855181 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: JBoss kills accept-encoding Header?!?!
How could it be, that the Header accept-encoding with the value gzip, deflate, will be parsed to --- and - ---, if I use jboss 3.2.6 with tomcat instead of standalone tomcat 5 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855182#3855182 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855182 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: JBoss kills accept-encoding Header?!?!
How can I disable this feature??? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855183#3855183 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855183 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: 403 - Access to the requested resource has been denied
Perhaps you need to look at your rolesQuery. The result-set from this query should return role-name and role-group-name (which I have hard-coded to 'Roles'). So maybe you could try something like: select RoleName, 'Roles' from UserRoles where username=? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855185#3855185 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855185 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss - Weblogic comparison
Another tip: Increase the prepared-statment-cache for your datasource. This lead to a dramatic performance increas when doing some SPECjAppServer2004 benchmarking. Yet another Tip: Use the JRockit VM from BEA it did not increase the troughput much, but the response-time was a lot better. It's free and NO I do not get payed for recomending it ... If you have a look at the SPECjAppServer results posted on the web you can see that most vendors use JRockit in their benchmarks. Even If they could youse their own VMs. Don't think they do this because it suxx. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855186#3855186 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855186 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Tuning-Hints for JBoss
At the moment I am working on a project for SAP where we have to compare the new SAP Netweavers performance compared to JBoss 4.0.0. As Installing SAP Netweaver on a Server-Cluster was a total, neverending nightmare and SAP secially wanted uncensored results, I am planing on giving them exactly what they wanted ;) I already evaluated some switches such as: - Using JBoss CLassloader in Tomcat - Turning off Call-by-Value - Increasing the prepared Statement cache - Using the BEA JRockit VM Any other Ideas? I don't want any answers of the form You can't say, you it depends on ... As I am going to test them ;) Regards, Christofer Dutz View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855187#3855187 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855187 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Implications of increasing TransactionTimout value in jb
On Systems with heavy load this parameter can be a very good performance parameter. We used it for shifting the thrashing-point of the system. I would only recomend increaing the transaction timeout, if you realy need the time for your transactions. If not you are only delaying your problems and making them even biger, since some resources are now blocked even longer. In our case increasing the value caused the system to be almost unusable under heavy load. decreasing this was a major performance boost. Regards, Christofer View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855188#3855188 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855188 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Migrate from WL to JBoss .net
I'm trying to migrate and EJB previously deployed as a web service in WL6.1. I've looked at the JBoss WS, and it seems that its not ready for prime time yet. There's far too much manual generation of wsdl files etc. So I revert to JBoss.NET which I have in fact had working in an older version of JBoss. I deployed my EJB in WL using Axis, rather than the WL specific mechanisms, so I expected that it would be simple. I want to deploy my EJB under my web service, rather than under the jboss-net service. Rather than post all the config files I have tried, is there a simple way to do this. I have looked around a lot! By simple I mean, surely it should be possible to do this just by using an EJBProvider from somewhere, and map some servlets in the web.xml file. Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855189#3855189 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855189 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - New Website Design
I see, another try to organize that huge pile of information this website provides. Good that you are trying ... but WhoTF came up with these we are so coporate images at the top? (I saw a nice back of a girl unknown to me, that's the only one I liked so far ;)) They look like canned music. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855190#3855190 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855190 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: Setting cron jobs in jboss
The training would show you how to use the included JBoss Scheduler Service. It's all there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855191#3855191 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855191 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Prevent client access during large deploy...
Hello. If we are deploying/re-deploying a large file (say ear), JBoss begins deploying the individual elements (beans, servlets etc). The client can then access these even though the ear deployment is not complete. One idea i had is to stop the appropriate invokers and then to restart them when i need to. - Is this what others do? Should it work? - I can't seem to start the invoker again and have clients make sucessful calls. - We still have the problem of not knowing when the deployment is actually complete in order to start the invokers again. I remember questions like this in the past but can't seem to find any references to them. Any help appreciated. cheers View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855192#3855192 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855192 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Problem with roles: principalRoles=null
Hello scott, hello robuttera, I experience the same problem. I try to use a protected method in an ejb but it seems the roles are not set properly. Here is the stack trace ... | | 14:01:36,254 INFO [STDOUT] fnowak | 14:01:36,254 INFO [STDOUT] ROLES(members:moderator,administrator,user) | | 14:01:36,264 ERROR [SecurityInterceptor] Insufficient method permissions, principal=fnowak, method=deleteNews, interface=LOCAL, requiredRoles=[administrator, root, server, moderator], principalRoles=null | 14:01:36,264 ERROR [LogInterceptor] EJBException in method: public abstract void com.holomind.ejb.communication.CommunicationAgentLocal.deleteNews(com.holomind.ejb.communication.CommunicationNewsData) throws com.holomind.ejb.communication.CommunicationException, causedBy: | java.lang.SecurityException: Insufficient method permissions, principal=fnowak, method=deleteNews, interface=LOCAL, requiredRoles=[administrator, root, server, moderator], principalRoles=null | at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:219) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624) | at org.jboss.ejb.Container.invoke(Container.java:854) | at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413) | at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:82) | at $Proxy134.deleteNews(Unknown Source) | at com.holomind.cocoon.communication.acting.DeleteNewsAction.act(DeleteNewsAction.java:62) | ... | | I use the Jaas API to log JBoss 4.0.0. I set up the servlet filter shown in tutorial on Jaas. So I keep the login context in a session attribute and print its content just before using the protected method. (see before) Here is the login configuration i use (i do not use an unauthenticatedIdentity) : | application-policy name=other | authentication | login-module | code = org.jboss.security.ClientLoginModule flag = required | /login-module | login-module | code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag=required | module-option name=managedConnectionFactoryNamejboss.jca.service=LocalTxCM,name=MySqlDS/module-option | module-option name=dsJndiNamejava:/MySqlDS/module-option | module-option name=principalsQuery | // skipped for brievty | /module-option | module-option name=rolesQuery | // skipped for brievty | /module-option | /login-module | /authentication | /application-policy | An View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855193#3855193 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855193 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - After upgrading from 3.2.3 to 3.2.6, now xslt routines throw
Hi, our webhoster forced us to upgrade our jboss 3.2.3 installation to 3.2.6. The deployed application still runs as expected but there are now many xslt related error messages in the server log. This is what I see: 12:44:08,699 INFO [STDOUT] [Error] :99:80: Document root element xsl:stylesheet, must match DOCTYPE root stylesheet. 12:44:08,700 INFO [STDOUT] [Error] :99:80: Element type xsl:stylesheet must be declared. 12:44:08,704 INFO [STDOUT] [Error] :105:27: Element type xsl:output must be declared. 12:44:08,710 INFO [STDOUT] [Error] :107:29: Element type xsl:template must be declared. 12:44:08,712 INFO [STDOUT] [Error] :108:15: Element type html must be declared. 12:44:08,714 INFO [STDOUT] [Error] :109:19: Element type head must be declared. 12:44:08,715 INFO [STDOUT] [Error] :110:49: Element type xsl:call-template must be declared. 12:44:08,717 INFO [STDOUT] [Error] :112:19: Element type body must be declared. I am not so much into xslt anymore, but maybe some of you have experienced the same problem and can point me to the couse of this problem :-) --- Transomer setup --- | try { | // Step 1: create a DocumentBuilderFactory and configure it | DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); | | // Optional: set various configuration options | factory.setValidating( false ); | factory.setIgnoringComments( true ); | factory.setIgnoringElementContentWhitespace( true ); | factory.setCoalescing( false ); | factory.setExpandEntityReferences( true ); | | // Step 2: create a DocumentBuilder that satisfies the constraints | // specified by the DocumentBuilderFactory | DocumentBuilder builder = factory.newDocumentBuilder(); | Document document = builder.parse( new ByteArrayInputStream( inputXML.getBytes(encoding) ) ); | DOMSource domsource = new DOMSource( document ); | // | StreamSource stylesource = | new StreamSource( new ByteArrayInputStream( mailTemplate.getBytes(encoding) ) ); | StringWriter sw = new StringWriter(); | StreamResult result = new StreamResult( sw ); | // | TransformerFactory tFactory = TransformerFactory.newInstance(); | Transformer transformer = tFactory.newTransformer( stylesource ); | // | transformer.setOutputProperty(OutputKeys.METHOD, outputMethod); | //transformer.setOutputProperty(OutputKeys.METHOD, xml); | transformer.setOutputProperty(OutputKeys.ENCODING, encoding); | transformer.setOutputProperty(OutputKeys.INDENT, yes); | transformer.transform( domsource, result ); | | emailBody = sw.toString(); | } | one of the stylesheets | ?xml version=1.0 encoding=ISO-8859-1 ? | !DOCTYPE stylesheet [ | !ENTITY iexcl!-- inverted exclamation mark -- | !ENTITY cent !-- cent sign -- | ... | many more of them | ... | !ENTITY thorn!-- small thorn, Icelandic -- | !ENTITY yuml !-- small y, dieresis or umlaut mark -- | ] | xsl:stylesheet version=2.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform; | xsl:output | method=xml | doctype-public=-//W3C//DTD XHTML 1.0 Transitional//EN | doctype-system=http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; | encoding=ISO-8859-1 | indent=yes / | | xsl:template match=/ | html | head | xsl:call-template name=head/ | /head | body | xsl:call-template name=logo/ | xsl:apply-templates select=order / | xsl:call-template name=footer/ | /body | /html | /xsl:template | |xsl:template name=head | meta http-equiv=content-type content=text/html; charset=iso-8859-1 / | titleXY/title | style type=text/css some styles here /style |/xsl:template | |xsl:template name=logo | img src=http://domain.com/ui/media/firmnamebanner.gif; alt=firmnamebanner.gif / |/xsl:template | |xsl:template match=order | div style=margin-top: 20px; margin-left: 50px | Thank you for contacting XY. | br / | br / | br / | Text for transfer: span class=boldxsl:value-of select=account / (xsl:value-of select=@id /)/span | br / | Amount to transfer: span class=boldxsl:value-of select=ordertotal //span | Thank you for using XY. | br /br / | /div |/xsl:template | |xsl:template name=footer | div class='pp_footer' | This e-mail is automatically forwarded. Please do not reply on this
[JBoss-user] [Beginners Corner] - Re: Is JBoss a POS???
We've seen this kind of behavior in the past when using mod_jk2. The reason is still not well identified but it is definitely not a problem caused by JBoss AS. That's why we recommend using mod_jk1.2 instead as explained in this wiki page http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855197#3855197 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855197 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - javax.naming.NameNotFoundException: ejb not bound
Hey group, I'm trying to access a simple Session Bean via JNDI. I'm using JBoss 3.2.6 and everytime the lookup is performed, I get an exception ejb not bound I already searched all the other newsgroup entries, but I couldn't find anything fixing my problem. The strange this is, that the EJB seems to be deployed correctly (I can invoke the start, stop... methods from the jmx console.) I deployed a diffrent EJB project I which I wrote earlier and which worked fine under JBoss 3.2.3 and got the same exception. One thing I recognized is, that in the JBoss Console output I only get a message 15:07:58,403 INFO [EjbModule] Deploying HelloWorldBean shouldn't there be some more messages telling, that the bean was bound, startet, initialized and so on ? This is the stacktrace I receive: javax.naming.NameNotFoundException: ejb not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:490) at org.jnp.server.NamingServer.getBinding(NamingServer.java:498) at org.jnp.server.NamingServer.getObject(NamingServer.java:504) at org.jnp.server.NamingServer.lookup(NamingServer.java:248) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:534) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509) at javax.naming.InitialContext.lookup(Unknown Source) It seems, that my ejb-jar and jboss.xml files are correct, I generated them using MyEclipse and XDoclet. The JNDI-name I use is the same as in the jboss.xml (but I also tried it without the ejb/- prefix) This is the code I wrote: Hashtable properties = new Hashtable(); properties.put(InitialContext.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory); properties.put(InitialContext.PROVIDER_URL,jnp://127.0.0.1:1099); InitialContext initialContext = new InitialContext(properties); Object o = initialContext.lookup(ejb/HelloWorldLocatorBeanHome); Any help would be greatly apprecheated ! Many Thx and best regards, Sebastian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855201#3855201 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855201 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Migrate from WL to JBoss .net
I found the fix to the problem! It was identical to this: http://java2.5341.com/msg/64448.html Where the axis URLMapper service was not running correctly. James View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855204#3855204 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855204 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Building a .ear file
Download the tutorial from http://sourceforge.net/project/showfiles.php?group_id=22866package_id=72248release_id=254457 That is for Eclipse-IDE, but I think, you can understand, how to build a .ear file... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855206#3855206 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855206 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Understanding Jboss - Threads, Pools yada yada
genman wrote : | There are a couple pools you're dealing with: | | 1. Web service connections. These are configured within some .xml file I imagine. This configures the number of simultaneous connections. | 2. Database connections. These are (likely) within some sort of -ds.xml file *or* within a -service.xml file. | | What JBoss is carping about (c.f. InternalManagedConnectionPool) is that it's out of 2. If you increase 1, you usually need 2. Locate some docs about configuring database pooling in JBoss and then find and fix the relevant file. First of all, thanks for your reply. I know that the pool size can be configured by editing the oracle-service.xml file. However, is it possible to have multipe threads managing several pools? What are acceptable limits for pool size? Can I crank it up to say 1000? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855207#3855207 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855207 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - why throw java.net.MalformedURLException: no !/ in spec
?xml version=1.0 encoding=UTF-8? !DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd The IBS CONFIG XMBean Example state-action-on-update value=keep-running/ com.ibs.cofig.mbean.ConfigFile The default constructor ConfigFile !-- Attributes -- The location in JNDI where the Map we manage will be bound jndiName java.lang.String !-- Operations -- The start lifecycle operation start The stop lifecycle operation stop Save a file into database setFile File's system indentifier id int File to be saved file java.io.File Get a file from database getFile File's system indentifier id int return-typejava.io.InputStream/return-type Save a file into database setConfigFile File's name name String File to be saved file java.io.File Get a file from database getConfigFile File's name name String return-typejava.io.InputStream/return-type Save a file into database setConfigSchemaFile File's name name String File to be saved file java.io.File Get a file from database getConfigSchemaFile File's name name String return-typejava.io.InputStream/return-type Save a file into database setConfigExtFile File's name name String File to be saved file java.io.File Get a file from database getConfigExtFile File's name name String return-typejava.io.InputStream/return-type !--Notifications-- The notification sent whenever a value is saved javax.management.Notification notification-typecom.ibs.cofig.mbean.setFile/notification-type this jboss-service.xml is valid form corresponding to jboss_xmbean_1_0.dtd.(I used xmlspy to check it). when I deploy xxx.sar, why jboss throw java.net.MalformedURLException: no !/ in spec? Are there some invalid section?please ponit out the mistake, thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855208#3855208 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855208 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: why throw java.net.MalformedURLException: no !/ in spec
?xml version=1.0 encoding=UTF-8? !DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd !--mbean The IBS CONFIG XMBean Example state-action-on-update value=keep-running/ com.ibs.cofig.mbean.ConfigFile The default constructor ConfigFile The location in JNDI where the Map we manage will be bound jndiName java.lang.String The start lifecycle operation start The stop lifecycle operation stop Save a file into database setFile File's system indentifier id int File to be saved file java.io.File Get a file from database getFile File's system indentifier id int return-typejava.io.InputStream/return-type Save a file into database setConfigFile File's name name String File to be saved file java.io.File Get a file from database getConfigFile File's name name String return-typejava.io.InputStream/return-type Save a file into database setConfigSchemaFile File's name name String File to be saved file java.io.File Get a file from database getConfigSchemaFile File's name name String return-typejava.io.InputStream/return-type Save a file into database setConfigExtFile File's name name String File to be saved file java.io.File Get a file from database getConfigExtFile File's name name String return-typejava.io.InputStream/return-type The notification sent whenever a value is saved javax.management.Notification notification-typecom.ibs.cofig.mbean.setFile/notification-type /mbean-- View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855210#3855210 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855210 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Understanding Jboss - Threads, Pools yada yada
Also, one other thing I'd like someone to help me understand. And please forgive my obvious ignorance... If a connection pool of 50 is specified (minimum), does this mean that jboss will open 50 dedicated connections to a database host? Thanks again... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855212#3855212 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855212 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Where is mod_jk for Solaris?
FYI, I eventually got the one named jakarta-tomcat-connectors-jk-1.2.6-solaris8-sparc-apache-1.3.31_native.so to work, at least to the point of Apache 1.3.31 starting up without errors. I renemed it to mod_jk.so, followed directions in the links for mod_jk + Apache, but the fix was that I had to add the path to libgcc_s.so.1 to my LD_LIBRARY_PATH. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855216#3855216 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855216 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: One more beginner question on JBoss (3.2.6)/Tomcat/Apach
FYI, I eventually got the one named jakarta-tomcat-connectors-jk-1.2.6-solaris8-sparc-apache-1.3.31_native.so to work, at least to the point of Apache 1.3.31 starting up without errors. I renamed it to mod_jk.so, followed directions in the links to mod_jk + Apache, but the fix was that I had to add the path to libgcc_s.so.1 to my LD_LIBRARY_PATH. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855217#3855217 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855217 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Service (SAR file) that relies on an EJB...
[EMAIL PROTECTED] wrote : The ejb container has a jmx name of the form | | | | jboss.j2ee:service=EJB + ,jndiName= + jndiName | | | | where jndiName is the name of the home interface, or the local home if the ejb does not provide a remote home. | | You can also embed the ejb jar in the sar and use the Russian doll depth first deployment order to ensure the ejb is deployed before the containing sar. | Scott, Thanks for writing back. You live in Snoqualmie Pass, eh? I didn't even know they had internet access out there now.. ;) OK.. the second option you mentioned - I understood. And that might be doable. But the first one - that threw me off. You explained the JMX name, but I don't see how I would *access* that or why I would use it.. Thanks for your time. DaveO View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855221#3855221 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855221 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Exercise 7.2f -- Column not found: SHIP
I'm getting this error from the O'Rielly EJB workbook exercise 2f, chapter 7 (Client_72f). Is this a error in the workbook code? Is anyone else getting this error -- does anyone have a fix? Here is more of the message: [java] javax.ejb.CreateException: Could not create entity:java.sql.SQLException: Column not found: SHIP in statement [INSERT INTO CABINEJB (id, name, deckLevel, bedCount, ship) VALUES (?, ?, ?, ?, ?)] I believe I am working with the most current download revision of the workbook source code (the most recent file in the zip is time stamped 5/31/04)... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855224#3855224 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855224 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: Exercise 7.2f -- Column not found: SHIP
Perhaps I should have mentioned; my question refers to the 4th edition (O'Reilly EJBs). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855225#3855225 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855225 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - findByPrimaryKey using a compound PK in a wrapper class
I have the following situation; An entitybean has a compound primary key. The primary key consists of a unique number and a foreign key. I have already found out that I should use some kind of a wrapper class for the compound primary key. The wrapper class is finished and has 2 public fields with exactly the same names as declared in the entitybean. Now I am trying to create the findByPrimaryKey(MyBeanPK pk) method in XDoclet. How do I make the comparison?? All I found in documentation was finding a primary key on just 1 simple argument eg. a String. I believe in my situation I cant use a query like; query = Select Object(R) from MyBean R where R.attribute=?1 Can anyone help me out getting my findByPrimaryKey fixed for a compound primary key in a wrapper class? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855226#3855226 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855226 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: 4.1.3. Package the EJBs
It looks to me like you are using the 3.2.6 getting started code with the J2EE 1.4 tutorial from sun.Make sure you are using the 4.0 code: http://docs.jboss.org/jbossas/getting_started/startguide40.zip View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855227#3855227 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855227 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Using utility jars inside ear archive
Ok ... after another googling Session one of the pages unavailable fpr the last days was online again and I found a solution to my problem. Instead of adding a Class-Path Element to the MANIFEST.MF File I have to add a module to my application.xml file: lib/utility.jar Just thought I should post my solution so it might help somebody else. Chris View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855228#3855228 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855228 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Is JBoss a POS???
FYI for those that don't know. Apache 2.1 is going to include a replacement for JK called mod_proxy_ajp View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855229#3855229 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855229 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss 4.0 documentation
That is the 3.2.6 getting started code. Try: http://docs.jboss.org/jbossas/getting_started/startguide40.zip View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855231#3855231 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855231 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Using utility jars inside ear archive
Haha ... what an intelligent system to stip off the xml-tags ... well I'll just replace with [ and with ] :) [module] [java]lib/jakarta-oro-2.0.6.jar[/java] [/module] Eat this! ;) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855232#3855232 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855232 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Jboss Auto deploy after compile the class files...
Thank you very much , i will test this and inform you, but, one different thing that i deploy my ear. so when i touch my ear ... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855235#3855235 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855235 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: need log4j category to work in my webapp
I had this same problem trying to debug jgroups in jboss 4.0.0, which didn't work till I removed the commons-logging.properties from the ebxmlrr folders. Lot's of thanks - you saved me time here too! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855236#3855236 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855236 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Providing global jar-files in ear-archive?
Can you not include the jars in the class path? The entry can be made in the conf/jboss-service.xml file. Extract the jars in the ear file to a location (ex: /home/mylib/) Include the following line in the jboss-service.xml file: classpath codebase=/home/mylib/ archives=*/ This way the jars are in the classpath and hence available to all the applications on the server. Thanks, Kalyan. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855238#3855238 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855238 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Tomcat Servlet Destroy method
It would also work if I could just make JBoss work with the Tomcat installation I already have. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855239#3855239 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855239 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - What am I doing wrong? Please help.
Here is the scenario. I have a custom jaas login module that my web app and EJBs use. A user performs a login. The webpage calls an EJB to do something. It seems as though the web application authenticates and authorisizes properly, however, the EJB seems to fail in the same process. Am I doing something wrong with security? Here is my error message and login module: 2004-11-12 12:28:36,613 ERROR [org.jboss.ejb.plugins.SecurityInterceptor] Authentication exception, principal=villalobosm 2004-11-12 12:28:36,613 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException in method: public abstract kineteque.myapp.ejb.session.scriptaudit.ScriptAuditSystem kineteque.myapp.ejb.session.scriptaudit.ScriptAuditSystemHome.create() throws java.rmi.RemoteException,javax.ejb.CreateException, causedBy: java.lang.SecurityException: Authentication exception, principal=villalobosm at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:173) package kineteque.myapp.jaas; import org.jboss.security.SimpleGroup; import org.jboss.security.auth.spi.AbstractServerLoginModule; import javax.security.auth.Subject; import javax.security.auth.callback.CallbackHandler; import javax.security.auth.callback.NameCallback; import javax.security.auth.callback.PasswordCallback; import javax.security.auth.callback.Callback; import javax.security.auth.callback.UnsupportedCallbackException; import javax.security.auth.login.FailedLoginException; import javax.security.auth.login.LoginException; import java.io.IOException; import java.security.Principal; import java.security.acl.Group; import java.util.Map; import kineteque.myapp.JNDINames; /** * When subclassing the AbstractServerLoginModule implement the following: * * void initialize(Subject, CallbackHandler, Map, Map) if you have custom options to parse. * boolean login() to perform the authentication activity. * Principal getIdentity() to return the Principal object for the user authenticated by the log() step. * Group[] getRoleSets() to return at least a Group named Roles that contains the roles assigned to the Principal authenticated during login(). A second common group is CallerPrincipal; it provides, if necessary, the user's application identity rather than the security domain identity. * */ public class MyAppLoginModule extends AbstractServerLoginModule { /** The roles that the principal belongs too. */ private Group roles = null; /** The principal that was authenticated. */ private Principal identity = null; /** Standard fail message */ private static final String STANDARD_FAIL_AUTH_MESSAGE = Not Authorized.; /** * Initialize the login module. This stores the subject, callbackHandler * and sharedState, and options for the login session. Subclasses should override * if they need to process their own options. A call to super.initialize(...) * must be made in the case of an override. * @param subject the Subject to update after a successful login. * @param callbackHandler the CallbackHandler that will be used to obtain the * the user identity and credentials. * @param sharedState a Map shared between all configured login module instances * @param options option password-stacking: if true, the login identity will be taken from the * javax.security.auth.login.name value of the sharedState map, and * the proof of identity from the javax.security.auth.login.password * value of the sharedState map. */ public void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options) { //jboss documentation states that this should be //the first line of this method. super.initialize(subject,callbackHandler,sharedState,options); } /** * Looks for javax.security.auth.login.name and javax.security.auth.login.password * values in the sharedState map if the useFirstPass option was true and returns * true if they exist. If they do not or are null, this method returns false. * Subclasses should override to perform the required credential validation steps. * @return * @throws LoginException */ public boolean login() throws LoginException { if (callbackHandler==null) throw new LoginException(No Callback handler available.); //initialize a callback for the username and password NameCallback ncb = new NameCallback(Username: ); PasswordCallback pcb = new PasswordCallback(Password: ,false); Callback[] cb = {ncb,pcb}; try { //get the username and
[JBoss-user] [EJB/JBoss] - Re: Jboss Auto deploy after compile the class files...
If the archive that you are deploying has been recreated with later classes / jars you should not need to touch it as it would already have a later modified time anyway. If your build process is not updating the modified time of the jar / ear it is likely that the archive is not being updated with the later classes. praveen.cheedella, where are you putting the jar that should contain the updated classes? Is it a jar containing ejb components or is it just a jar of classes that you are using? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855241#3855241 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855241 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Using utility jars inside ear archive
| module | javalib/jakarta-oro-2.0.6.jar/java | /module | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855242#3855242 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855242 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: 4.1.3. Package the EJBs
Thanks, that was it. I have unzipped so many bits and pieces, I overlooked that the jbossj2ee-src.zip was included in the startguide40.zip file, so went and got another copy that turned out to be the jboss 3.2 version. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855244#3855244 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855244 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - detecting jboss startup
I need to automatically invoke a stateless session bean method after jboss has started. And probably via a MBean. Can anyone tell me how to detect when jboss has completed its startup process? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855245#3855245 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855245 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Case Sensitivity of Custom Tags - JBoss vs Weblogic
Hi All, We are attempting to use JBoss with a Struts app originally developed under Weblogic. I'm at the point of compiling JSPs in Ant using org.apache.jasper.JspC. There are many custom tag attributes used in the .JSPs that differ from the .TLD files in case only. Never showed itself is a problem under Weblogic, but it is now. Compilation stops with Attribute attribute differing in case only invalid for tag text according to TLD and the like. The JSP spec. says tags must be case sensitive but it is silent on the issue of the attributes. On the surface it appears that Weblogic is more lenient than JBoss with respect to custom tag attribute case sensitivity. So I guess my question would be, is there any way I can get JBoss to ignore case for tag attributes when compiling JSPs? Thanks in advance for any input. Howard View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855247#3855247 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855247 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: detecting jboss startup
Ant can do it with the waitfor task. Probably something like: | waitfor | http url=http://localhost:8080/jmx-console/ | /waitfor | Good luck, Brett View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855248#3855248 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855248 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: detecting jboss startup
1st method: Write an MBean (extend org.jboss.system.ServiceMBeanSupport) and inside the startService() method make the call to your EJB - make a ./deploy/deploy.last folder and deploy your MBean in there. 2nd method: Write an MBean (extend org.jboss.system.ListenerServiceMBeanSupport) and inside the handleNotification2() method make the call to your EJB. During serviceStart() call subscribe(true). Configure the subscription-list attribute to listen for the server started notification, as follows: | .. | attribute name=SubscriptionList | subscription-list | mbean name=jboss.system:type=Server |notification type=org.jboss.system.server.started/ | /mbean | /subscription-list | /attribute | See also: http://www.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX http://www.jboss.org/wiki/Wiki.jsp?page=ExampleMinimalNotificationListener View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855250#3855250 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855250 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Removing stateless session beans
Hello, I'm relatively new to EJBs and I have a question on stateless session beans. I would like to know if I need to remove stateless session beans once I'm finished using them. I understand that my J2EE server (JBoss in this case) has a reserve of bean instances ready to execution business methods. Let's say I create a HelloWorld stateless session bean and call a helloWorld() method on it (the business method). Once the method returns, do I need to remove programatically the session bean in order to make sure that the stateless session bean returns to the server reserve of beans ? I would like to make sure my code does not leave leftover that would threaten the availability of server resources (session beans in this case). Thanks in advance for your help. Fred View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855251#3855251 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855251 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: dynamically create XMBeans?
Chris, I need to dynamically create an XMBean for a project. I'm not quite following how you would do this from what you have posted. Could you outline the steps in more detail or provide some sample code? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855252#3855252 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855252 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: When I install Liferay2.2.1 with JBoss 4.0.0...
I am getting this error too. But, my standardjboss.xml shows: invoker-proxy-binding session-webservice-invoker invoker-mbean/ proxy-factoryorg.jboss.net.ws4ee.server.EJBProxyFactoryImpl/proxy-factory proxy-factory-config/ /invoker-proxy-binding So, seems like the cause of this error is elsewhere... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855253#3855253 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855253 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: One basic problem about authentication..can someone help
You answered the question yourself. Your image is a restricted directory. Place that image in an unrestricted location. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855254#3855254 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855254 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - user mode linux, j2sdk 5.0, jboss 4.0/3.2.6
on my own little debian install of user mode linux binaries (2.4.26-um3), when i try to start any jboss 4.0 or 3.2.6 with jdk 1.4.2_06 or 5.0, it just locks my uml process and i have to kill it off from the host. on my vps host (using linux 2.4.26-um2), jdk 1.4.2_06 works fine with either jboss, but jdk 5.0 causes the server to never finish starting, and instead just spins off a rogue thread using nearly 100% cpu and not getting anywhere. i end up having to kill -9 my java processes to get them to die. i'd love to use j2sdk 5.0 and jboss 4.0.0 on my vps. has anyone done this successfully or know what may be wrong? thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855255#3855255 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855255 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Insertin records on One-to-Many relation
Thanks for your reply I'm gona to read the EJB Spec thanks again View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855261#3855261 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855261 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Providing global jar-files in ear-archive?
This way I have to reconfigure the server. I want to avoid this. In Bea-Weblogic I can explicitly export jars inside an ear to the global server classpath, just as if I had added them to the jboss/server/default/lib directory. I was wandering if such a thing is available on Jboss. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855263#3855263 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855263 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Why an ejbLoad() call for each get* method?
A Session Facade + Value Object design patterns solves this problem JaimeS View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855264#3855264 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855264 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - fail to obtain type-mapping metada
I got a fail to obtain type-mapping metadata error when deploying CMP. I am using JBoss 4.0.0./Java 1.4. I am using mySQL database. My mysqldb-ds.xml in my deploy directiory looks like: local-tx-datasource jndi-nameDefaultDS/jndi-name connection-urljdbc:mysql://localhost:3306/test/connection-url driver-classcom.mysql.jdbc.Driver/driver-class user-nameroot/user-name /local-tx-datasource I have the datasource in standardjbosscmp-jdbc.xml to have the value java:/DefaultDS. The datasource and type-mapping in standardjaws.xml have the values java:/DefaultDS and mySQL, respectively. I also have the datasource and type-mapping in my own jbosscmp-jdbc.xml in META-INF to have the values DefaultDS and mySQL. Do you know why is it complaining jboss.jdbc:datasource=DefaultDS, service=metadata is not registered? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855267#3855267 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855267 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - purpose of eager-load-group in entity
Hello, I'm trying a lot of things with optimizing the loading of CMP's. But still the purpose of the element eager-load-group in is not clear to me. To me it looks like the element is a sort of default. Saying something about the default eager-load-group for a specific CMP bean. I tried e.q. a read-ahead element for a and leaving out the eager-load-group but still the light isn't switching on. In what circumstance does the eager-load-group for a bean make sense? T.I.A. Johan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855268#3855268 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855268 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - cmp: Verifying column names
Hi I'm using jboss 4.0 with postgresql 7.2. I have cmp's with attribute-column-name mappings set through jbosscmp-jdbc.xml, e.g: | jbosscmp-jdbc | . | . | entity | ejb-nameOperator/ejb-name | datasourcejava:/jdbc/AmisPooledDS/datasource | datasource-mappingPostgreSQL 7.2/datasource-mapping | . | . | cmp-field | field-namename/field-name | column-nameoperatorname/column-name | /cmp-field | . | . | /entity | . | . | /jbosscmp-jdbc | The tables are created via psql-scripts, i.e. not during deployment. Is there a way to verify the mapping during deployment: To have jboss check that the (tables and) columns do exist? br. Christian Surlykke View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855269#3855269 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855269 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: TransactionRolledbackLocalException while creating bean
loubyansky, Thanks for the message. I tried adding the following code to my 'ejb-jar.xml' file: |container-transaction | method | ejb-nameProduct/ejb-name | method-intfLocal/method-intf | method-nameaddChild/method-name | method-params | method-paramcom.tm.wineStore.ejb.catalog.ItemValue/method-param | /method-params | /method | trans-attributeRequiresNew/trans-attribute |/container-transaction | (Actually, I'm using Xdoclet so I added a '@ejb.transaction type=RequiresNew to the 'addChild()' method.) The result? The same as before. I added a 'catch (Exception E) { log.debug(...); }' around the ItemLocalHome.create() code, but this bit of exception code was never tickled. The 'addChild()' method completed successfully, but some milliseconds later the JBoss log file contained the same traceback as before.. H. Any more help? Thanks, RB View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855271#3855271 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855271 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: 403 - Access to the requested resource has been denied
I opened up the src for the DatabaseServerModule and I copied the queries exactly. I even made sure to structure my db the same way. Yet same problem... I can enter invalid user name and password all day, but one I enter the right username and password I get the 403 error... So it does seem to authenticate. I also checked the logs no eceptions thrown... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855272#3855272 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855272 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: What am I doing wrong? Please help.
I found out what I did wrong. My login module code must be in the ejb jar files, and also in the war files. Everything else was done correctly :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855273#3855273 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855273 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: One basic problem about authentication..can someone help
move your files out of the directory that requires authentication. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855274#3855274 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855274 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: findByPrimaryKey using a compound PK in a wrapper class
Since you're already using XDoclet I would recommend to let XDoclet create the PK also. Mark those fields which are part of the PK with @ejb.pk-field. Add entitypk to the ejbdoclet task in build.xml. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855279#3855279 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855279 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Securing statis content in external dirs
I successfully followed the instructions in the wiki to get an external directory to serve static content through JBoss 3.2.6 Now I need to secure access to that content through my JBoss security configuration. I figured this would be done through the Realm sub-element of the Context element where I defined the external directory, but I can't seem to get the configuration correct. Is there a way I can perhaps modify the default web.xml to include the path defined in the Context element? If so, where would the accompanying jboss-web.xml go? Or am I seeking to do the impossible, if so, I have another solution, but it involves coding, so I'd rather find something else. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855283#3855283 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855283 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Caching messages in Hypersonic database
The HSQDB database file won't shrink until you do a clean ashutdown. What is the stack trace of the OOMException? If you want to continue using HSQLDB, I would use 1.7.2 (which is in 3.2.7RC I believe, or d/l the .jar file from the website.) Otherwise, I suggest going with a free database like Postgres or MySql, especially if your data is large. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855285#3855285 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855285 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - inserting an already existing bean - not my db insert
I have a problem with random inserting an already existing bean errors at a client - about every month or so. the error occurs on a line where i am not doing any data inserts of my own. The error happens on the home.create() Object ref2 = ctx.lookup(ejb/DestinationGroupSubstituteAccess); javax.ejb.EJBHome substituteHome = (javax.ejb.EJBHome) PortableRemoteObject.narrow(ref2, javax.ejb.EJBHome.class); EJBObject substituteAccess = substituteHome.create(); The stack dump is as follows 2004-11-12 07:36:21,426 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException, causedBy: java.lang.IllegalStateException: INSERTING AN ALREADY EXISTING BEAN, ID = 1098215578440 at org.jboss.ejb.plugins.AbstractInstanceCache.insert(AbstractInstanceCache.java:222) at org.jboss.ejb.plugins.StatefulSessionFilePersistenceManager.createSession(StatefulSessionFilePersistenceManager.java:199) at org.jboss.ejb.StatefulSessionContainer.createHome(StatefulSessionContainer.java:441) at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invokeHome(StatefulSessionContainer.java:756) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:105) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215) at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invokeHome(StatefulSessionInstanceInterceptor.java:128) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:111) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:129) at org.jboss.ejb.StatefulSessionContainer.invokeHome(StatefulSessionContainer.java:368) at org.jboss.ejb.Container.invoke(Container.java:730) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:198) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76) at $Proxy59.create(Unknown Source) at com.canopyint.connect.service.mdb.DestinationDuplicateMDB.processMessage(DestinationDuplicateMDB.java:81) at com.canopyint.connect.common.MdbBase.onMessage(MdbBase.java:201) at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:391) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:88) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60) at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:100) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204) at org.jboss.ejb.MessageDrivenContainer.invoke(MessageDrivenContainer.java:302) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:962) at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1038) at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:243) at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:603) at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:417) at org.jboss.mq.SpySession.run(SpySession.java:296) at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:178) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:642) at java.lang.Thread.run(Thread.java:536) My
[JBoss-user] [Persistence CMP/JBoss] - Transaction problems with jboss4.0.0+hibernate
At the end of a bunch of hibernate calls I commit my JTA transaction, which calls org.jboss.hibernate.session.TransactionSynch.beforeCompletion(). Inside this method I see that session.flush() is called, and it's failing for me because of a db integrity constraint, which is fine. However, the caller doesn't know that it failed because this method just catches the error and logs the warning. How am I supposed to know that the session failed to synchronize with the DB and that I should rollback the transaction? Am I going about this the wrong way completely? Thanks, Emily View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855290#3855290 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855290 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Ear deployment problems (:)
Has anyone solved this? I am having the *Exact* same problem. None of my Exception classes from an external project are being found by JBoss when deploying the War or EJB Jar for my app. Deployment descriptors are correct, the Exception classes JBoss is choking itself trying to find are in the jar AND the war, but I still can't deploy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855291#3855291 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855291 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: why throw java.net.MalformedURLException: no !/ in spec
?xml version=1.0 encoding=UTF-8? !DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd The IBS CONFIG XMBean Example state-action-on-update value=keep-running/ com.ibs.cofig.mbean.ConfigFile The default constructor ConfigFile !-- Attributes -- The location in JNDI where the Map we manage will be bound jndiName java.lang.String !-- Operations -- The start lifecycle operation start The stop lifecycle operation stop Save a file into database setFile File's system indentifier id int File to be saved file java.io.File Get a file from database getFile File's system indentifier id int return-typejava.io.InputStream/return-type Save a file into database setConfigFile File's name name String File to be saved file java.io.File Get a file from database getConfigFile File's name name String return-typejava.io.InputStream/return-type Save a file into database setConfigSchemaFile File's name name String File to be saved file java.io.File Get a file from database getConfigSchemaFile File's name name String return-typejava.io.InputStream/return-type Save a file into database setConfigExtFile File's name name String File to be saved file java.io.File Get a file from database getConfigExtFile File's name name String return-typejava.io.InputStream/return-type !--Notifications-- The notification sent whenever a value is saved javax.management.Notification notification-typecom.ibs.cofig.mbean.setFile/notification-type View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855292#3855292 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855292 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: why throw java.net.MalformedURLException: no !/ in spec
?xml version=1.0 encoding=UTF-8? !DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd mbean descriptionThe IBS CONFIG XMBean Example /description descriptors persistence persistPolicy=Never persistPeriod=10 persistLocation=data/JNDIMap.data persistName=JNDIMap/ currencyTimeLimit value=10/ state-action-on-update value=keep-running/ /descriptors classcom.ibs.cofig.mbean.ConfigFile /class constructor descriptionThe default constructor /description nameConfigFile /name /constructor !-- Attributes -- attribute access=read-write getMethod=getJndiName setMethod=setJndiName descriptionThe location in JNDI where the Map we manage will be bound /description namejndiName /name typejava.lang.String /type descriptors default value=ibs/config/IBS_CONFIG/ /descriptors /attribute !-- Operations -- operation descriptionThe start lifecycle operation /description namestart /operation operation descriptionThe stop lifecycle operation /description namestop /operation operation impact=ACTION descriptionSave a file into database /description namesetFile /name parameter descriptionFile's system indentifier /description nameid /name typeint /type /parameter parameter descriptionFile to be saved /description namefile /name typejava.io.File /type /parameter /operation operation impact=INFO descriptionGet a file from database /description namegetFile /name parameter descriptionFile's system indentifier /description nameid /name typeint /type /parameter return-typejava.io.InputStream /return-type /operation operation impact=ACTION descriptionSave a file into database namesetConfigFile parameter descriptionFile's name /description namename /name typeString /type /parameter parameter descriptionFile to be saved /description namefile /name typejava.io.File /type /parameter /operation operation impact=INFO descriptionGet a file from database /description namegetConfigFile /name parameter descriptionFile's name /description namename /name typeString /type /parameter return-typejava.io.InputStream /return-type /operation operation impact=ACTION descriptionSave a file into database namesetConfigSchemaFile /name parameter descriptionFile's name /description namename /name typeString /type /parameter parameter descriptionFile to be saved /description namefile /name typejava.io.File /type /parameter /operation operation impact=INFO descriptionGet a file from database /description namegetConfigSchemaFile /name parameter descriptionFile's name /description namename /name typeString /type /parameter return-typejava.io.InputStream /return-type /operation operation impact=ACTION descriptionSave a file into database /description namesetConfigExtFile /name parameter descriptionFile's name /description namename /name typeString /type /parameter parameter descriptionFile to be saved /description namefile /name typejava.io.File /type /parameter /operation operation impact=INFO descriptionGet a file from database /description
[JBoss-user] [Management, JMX/JBoss] - Re: why throw java.net.MalformedURLException: no !/ in spec
I understand your meaning, thanks. I use jboss3.2.1 | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE mbean SYSTEM D:\eclipse\workspace\ibsext\jboss_xmbean_1_0.dtd | mbean | descriptionThe IBS CONFIG XMBean Example/description | descriptors | persistence persistPolicy=Never persistPeriod=10 persistLocation=data/JNDIMap.data persistName=JNDIMap/ | currencyTimeLimit value=10/ | state-action-on-update value=keep-running/ | /descriptors | classcom.ibs.cofig.mbean.ConfigFile/class | constructor | descriptionThe default constructor/description | nameConfigFile/name | /constructor | !-- Attributes -- | attribute access=read-write getMethod=getJndiName setMethod=setJndiName | descriptionThe location in JNDI where the Map we manage will be bound/description | namejndiName/name | typejava.lang.String/type | descriptors | default value=ibs/config/IBS_CONFIG/ | /descriptors | /attribute | !-- Operations -- | operation | descriptionThe start lifecycle operation/description | namestart/name | /operation | operation | descriptionThe stop lifecycle operation/description | namestop/name | /operation | operation impact=ACTION | descriptionSave a file into database/description | namesetFile/name | parameter | descriptionFile's system indentifier/description | nameid/name | typeint/type | /parameter | parameter | descriptionFile to be saved/description | namefile/name | typejava.io.File/type | /parameter | /operation | operation impact=INFO | descriptionGet a file from database/description | namegetFile/name | parameter | descriptionFile's system indentifier/description | nameid/name | typeint/type | /parameter | return-typejava.io.InputStream/return-type | /operation | operation impact=ACTION | descriptionSave a file into database/description | namesetConfigFile/name | parameter | descriptionFile's name/description | namename/name | typeString/type | /parameter | parameter | descriptionFile to be saved/description | namefile/name | typejava.io.File/type | /parameter | /operation | operation impact=INFO | descriptionGet a file from database/description | namegetConfigFile/name | parameter | descriptionFile's name/description | namename/name | typeString/type | /parameter | return-typejava.io.InputStream/return-type | /operation | operation impact=ACTION | descriptionSave a file into database/description | namesetConfigSchemaFile/name | parameter | descriptionFile's name/description | namename/name | typeString/type | /parameter | parameter | descriptionFile to be saved/description | namefile/name | typejava.io.File/type | /parameter | /operation | operation impact=INFO | descriptionGet a file from database/description | namegetConfigSchemaFile/name | parameter | descriptionFile's name/description | namename/name | typeString/type | /parameter | return-typejava.io.InputStream/return-type | /operation | operation impact=ACTION | descriptionSave a file into database/description | namesetConfigExtFile/name | parameter | descriptionFile's name/description | namename/name | typeString/type | /parameter | parameter | descriptionFile to be saved/description | namefile/name | typejava.io.File/type | /parameter | /operation | operation impact=INFO | descriptionGet a file from database/description | namegetConfigExtFile/name | parameter |
[JBoss-user] [Installation Configuration] - Re: Change default port of 8080
Changed the port as per your prior reply from 8080 to 8089, Still get the following message: How to I get JBoss to run on something other than 8080? THANKS - Ken Cooper ...22:55:50,906 INFO [Server] Core system initialized 22:55:54,062 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 22:55:54,265 INFO [WebService] Using RMI server codebase: http://bianchi:8083/ 22:55:54,625 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server [EMAIL PROTECTED] 22:56:03,015 INFO [Embedded] Catalina naming disabled 22:56:04,000 ERROR [Http11Protocol] Error initializing endpoint java.net.BindException: Address already in use: JVM_Bind:8080 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855295#3855295 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855295 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss hanging problem, more info...
Here's some more info. Just recently, about the same time of the hang, whenever I startup jboss I get the following exception, perhaps this is related: --- GMS: address is 10.51.241.62:49800 (additional data: 17 bytes) --- 20:03:57,216 INFO [DefaultPartition] Number of cluster members: 1 20:03:57,218 INFO [DefaultPartition] Other members: 0 20:03:57,219 INFO [DefaultPartition] Fetching state (will wait for 6 milliseconds): 20:03:57,225 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: 0) : [10.51.241.62:1099] 20:03:57,242 INFO [DefaultPartition] I am (10.51.241.62:1099) received membershipChanged event: 20:03:57,243 INFO [DefaultPartition] Dead members: 0 ([]) 20:03:57,244 INFO [DefaultPartition] New Members : 0 ([]) 20:03:57,245 INFO [DefaultPartition] All Members : 1 ([10.51.241.62:1099]) 20:03:57,385 INFO [HANamingService] Listening on /0.0.0.0:1100 20:03:57,396 WARN [HANamingService] Failed to start AutomaticDiscovery java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface at java.net.PlainDatagramSocketImpl.socketSetOption(Native Method) at java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java: 260) at java.net.MulticastSocket.setInterface(MulticastSocket.java:418) at org.jboss.ha.jndi.DetachedHANamingService$AutomaticDiscovery.start(Detac hedHANamingService.java:437) at org.jboss.ha.jndi.DetachedHANamingService.startService(DetachedHANamingS ervice.java:243) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupp ort.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBean Support.java:221) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.jav a:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav a:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController .java:884) at $Proxy18.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:414) at org.jboss.system.ServiceController.start(ServiceController.java:436) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.jav a:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav a:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.jav a:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav a:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy8.deploy(Unknown Source) at
[JBoss-user] [Messaging, JMS JBossMQ] - extending jboss's MQ to other servers - design
hello , we shiped an application consist of offline clients using a stand alone application to process their data and when a client is online - he send an rpc call to announce he is online , and exchange his data using messages to jbossMQ for persisting and further processing. now , the client wants to make the system available to web clients from a web application on tomcat on a diffrent machine, now the requirment is to do as less changes as possible to the jboss application. the question is how can i send Messages from tomcat/spring web application to jboss's queue, via http (firewall) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855297#3855297 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855297 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Hyperlinking to pdf files...
I'm running jboss-3.2.6, with the included Tomcat web server. >From a java servlet I want to create a link to a pdf file. Consider the following two lines from my servlet: out.println(a href='test1.gif'>Click here to get the logo/a>br>); out.println(a href='test2.pdf'>Click here to get the pdf/a>br>); The first one correctly links to the gif file when the user clicks on the text. The second line produces the error The requested resource (/demo/test2.pdf) is not available. test1.gif and test2.pdf are both in the same folder as deployed in the web server. I've shown this to a few people and they think that the second line should work. They would expect the file to come up in Acrobat. Is there some configuration option I have to enable in the web server to allow linking to pdf files? Thanks, Mike-
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Applet as JMS Client
edmond wrote : In order to call InitialContext(), what information should be supplied with Context.INITIAL_CONTEXT_FACTORY? The code fragment is as fllow. | Hashtable env = new Hashtable(); | env.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory ); | env.put(Context.PROVIDER_URL, hostName); | env.put(Context.APPLET,this); | Context context = new InitialContext(env); | | But get error as can not instantiate the class:: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org/jnp/interfaces/NamingContextFactory ] | I have catched the problem. It is the white space at the end of string org.jnp.interfaces.NamingContextFactory!! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855298#3855298 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855298 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: failed to install jboss4
INFO [NamingService] Started jnpPort=1099, rmiPort=1098 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855299#3855299 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855299 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: 403 - Access to the requested resource has been denied
This might be a stupid question, but did you check if the role that is returned matches the user's role? I'm not sure if it's case-sensitive. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855300#3855300 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855300 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: findByPrimaryKey using a compound PK in a wrapper class
lafr wrote : Since you're already using XDoclet I would recommend to let XDoclet create the PK also. | Mark those fields which are part of the PK with @ejb.pk-field. | Add entitypk to the ejbdoclet task in build.xml. | I am familiar with that, but now I would like to know how to use the compound primary key in XDoclet's ejb.finder methods. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855301#3855301 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3855301 --- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user