[JBoss-user] [EJB/JBoss] - Hotdeployable
Been searching this problem on this forum but haven't found any solution. Startup JBoss3.2.3 and everything goes well. First hot deployment of our ear file goes well. After changing our application we do an redeploy of our ear file and here the problem begins: 14:14:50,233 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/D:/JBossDeployDirectory/APPLIC/ourProgram.ear 14:14:50,561 WARN [DeploymentInfo] Could not delete file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp45966ourProgram.ear-contents/ourProgram.war/ restart will delete it 14:14:50,796 INFO [EJBModule] destroy(), remove EJB-Module: jboss.management.local:J2EEApplication=ourProgram.ear,J2EEServer=Local,j2eeType=EJBModule,name=ourProgram.jar 14:14:50,827 WARN [DeploymentInfo] Could not delete file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp45966ourProgram.ear restart will delete it 14:14:50,858 INFO [MainDeployer] Starting deployment of package: file:/D:/JBossDeployDirectory/APPLIC/ourProgram.ear 14:14:50,952 INFO [EARDeployer] Init J2EE application: file:/D:/JBossDeployDirectory/APPLIC/ourProgram.ear So JBoss can't delete the temporary part. What the heck who cares now?? But a little later comes: 14:19:51,173 ERROR [EjbModule] Initialization failed javax.management.InstanceAlreadyExistsException: jboss.j2ee:jndiName=DocumentManager,service=EJB already registered. With other words: after a redeploy we are obliged to restart JBoss in order to run our application. I thought JBoss was hotdeployable??? Could anybody help??? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822822#3822822 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822822 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET SOAP] - Re: JBoss.NET Examples
You can find the uptodate examples at: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-HelloWorld.shtml for the simple one, and and more complex ejb one here: http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/jboss-net-EJB-example.shtml Also, you can find the xdoclet version of the ejb one here (but this will probably move to somewhere alongside the other two examples in the future) http://www.csd.abdn.ac.uk/~bscharla/teaching/CS5302/practicals/practical9.shtml Hope you find them useful. cheers, Bruce View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822826#3822826 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822826 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] a few questions about problem with InitialContext, scheduling and new version of jboss
Hallo, I am running Jboss 3.2.2 with sun java 1.4.2_03 in 32-bit version (on Solaris). I have bean, which works as client of ejb. Inside, I call something as: try{ log.info(1); InitialContext ctx = new InitialContext(); log.info(2); ... but it crashes to NPE: [some_client][INFO]1 [some_client][ERROR] NullPointerException ... I was worked for weeks, but not now. I was try to stop jboss, delete the /data, /work, /tmp and start again, but stil does not work. Why? where can I look else? This cliet is in /deploy directory in jar, as ejb jar package too. And, another question - is possible to schedule business method on stateless session ejb from scheduler-service.xml? Or I must always have a scheduled bean or special scheduled mbean to call it? The last question - when will be new jboss? I was red some messages here thant 3.2.3 is erroneous and will be released the new version early, but still there is 3.2.3 ... Shortly, is 3.2.3 defective or not? Thanks, Jiri --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: mod_jk.conf is NOT created
Have a look here: http://jboss.org/wiki/Wiki.jsp?page=UsingMod_jkWithJBoss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822828#3822828 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822828 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: [Theme], How to change the code?
I've tried your path, but my extralite.java theme is empty! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822829#3822829 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822829 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Disabling war file
My requirement I want to deploy a war file and disable it i.e. it should not accept any requests. In future I should be able to enable it so that it can accept requests. I do not deploy the war file when I need to accept request but before it can. Is it possible in Tomcat..just like in Websphere we can start and stop an installed application? Thanks Pradeep View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822830#3822830 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822830 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Standard taglib with jboss 3.2.3, tomcat 5
We're using JSTL 1.1 with JBoss 3.2.3 and Jetty 5 beta2 with no problems. We have jstl.jar in the server/default/lib directory and standard.jar in the WEB-INF/lib directory of each of our webapps. We used a similar configuration for JSTL 1.0 with Jetty 4. Servlet 2.4 containers (i.e. Jetty 5 Tomcat 5) should pick up tld's in WEB-INF or jars in WEB-INF/lib without any declarations in web.xml - there's a bunch of stuff about this in the 2.4 spec. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822831#3822831 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822831 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - MSSQL 2000 + JBOSS 3.x problem
Hi All, There ware a thread called Interesting ClassCastException while configuring DataSource for MSSQL DB. I have the same problem :( I modified mssql-ds.xml file from doc/examples... directory, put it into sever/default/deploy directory and run the server. The datasource appeard in jmx-console. When I deploy simple application reffering to that datasource I get: 10:36:19,786 ERROR [MainDeployer] could not start deployment: file:/C:/dev/jboss323/server/default/deploy/sample.war/ org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.ClassCastException) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:440) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) . What am I doing wrong. My web.xml has: resource-ref res-ref-namesecurity/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref My jboss-web.xml has: resource-ref res-ref-nameidb/res-ref-name jndi-namejava:/idb/jndi-name /resource-ref And I still get ClassCastException. I don't have any third party jars in my application lib. In server/default/lib I have three jars (MSSQL JDBC drivers) Pls: HELP The previous thread: Hello all; I am getting a rather interesting ClassCastException fior DataSource tied to a SQl Server connection. I am using the Opti driver, and setting up the connection using the *-ds.xml style settup file. Also, am running ver 3.2.1 of Jboss with Tomcat, compiled and ran on the 1.4. jdk/VM. Here is the issue; when the DataSource is obtained from jndi, and cast to a DataSource, there is a Class cast expepiton when the WrapperDataSource is cast. I have inserted quite a bit of debug material-- and here's the wierd part; The object returned is a WrapperDatasource object (not null) where debug lines say it implements the DataSource interface, but is NOT an instanceof DataSource. For a sanity check, I made sure we are talking about the DataSource in the right namespace. How is it possible that the object is a WrapeprDatasource that sure enough implemnts DataSource interface (as it should..along with Serializable, Referenceable, etc..), but is not an instance of DataSource? Experiments where I compile/run against 1.3 jdk/vm yield identical results. Just wanted to post the fix for this issue. Or at least, the fix that worked for me. I removed just about all of the third party jar libs from the ear file. Iterestingly enough, none of them contained the DataSource class--- but it fixed the issue. I moved those files to the server/lib directory View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822833#3822833 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822833 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56alloc_id438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JNDI name of application-policy is not bound
Actually I get the login form first, then when I submit the login credentials, I get the exception above. Martin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822834#3822834 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822834 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JNDI name of application-policy is not bound
Missing security-domain in jboss.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822835#3822835 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822835 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Exception destroying ManagedConnection
Hello All, I am getting a Protocol Violation exception. Any ideas from anyone? This seems to be happening for large result sets. The timeout on the datasource is set to 1 hour. Thanks in advance 11:10:02,272 ERROR [STDERR] java.sql.SQLException: Protocol violation 11:10:02,280 ERROR [STDERR] at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169) 11:10:02,280 ERROR [STDERR] at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:211) 11:10:02,281 ERROR [STDERR] at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:957) 11:10:02,281 ERROR [STDERR] at oracle.jdbc.ttc7.Ocommoncall.receive(Ocommoncall.java:145) 11:10:02,281 ERROR [STDERR] at oracle.jdbc.ttc7.TTC7Protocol.rollback(TTC7Protocol.java:416) 11:10:02,282 ERROR [STDERR] at oracle.jdbc.driver.OracleConnection.rollback(OracleConnection.java:947) 11:10:02,282 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.rollback(LocalManagedConnection.java:273) 11:10:02,282 ERROR [STDERR] at org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalConnectionEventListener.rollback(LocalTxConnectionManager.java:650) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822837#3822837 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822837 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: General Architecture Question
I would recommend option 1. Whilst I don't have figures to back this up, I would say that the overhead of communicating between Apache and the servlet engine on a different machine using JK2 is going to be much less that the overhead of communicating between machines using RMI. Also I think it's better for security - JBoss opens a number of ports, some of which you don't want accessible externally. If you keep JBoss on the internal machine(s) you can restrict it's communication through the firewall to the JK2 port. Also, (at least this is true with Jetty - I've not used the embedded Tomcat) there will be seperate HTTP and AJP13 (used by JK2) ports open on the servlet engine. By only configuring those webapps you want visible externally in the mod_jk2 settings you can have other webapps deployed on the server (e.g. the jmx-console) that are internally accessible on the HTTP port only. Of course you need to do some testing once you've got everything set up - if your database is stressed then you may find having JBoss on the same machine isn't practical. If you have more than one back end server you could run JBoss on one and the database on the other. Again I think the overhead of JDBC communication between JBoss and the database on different machines is going to be less than any case where you have to use remote RMI. We have 2 servers running JBoss talking to a seperate database server. Hope that helps. Andrew View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822838#3822838 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822838 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: JSTL 2.0
We use JSTL 1.1 with JBoss 3.2.3 using Jetty 5.0beta2 as the servlet container. In order to deploy webapps using the 2.4 schema (and therefore get JSP2 JSTL 1.1 to work) we had to upgrade xercesImpl.jar (in $JBOSS_HOME/lib) to a version that handles schemas properly. We used the version that was bundled with the Jetty distribution. I would guess that when using Tomcat 5 you will need to do something similar. As an aside, the server seems to start quite a bit quicker with the newer version of xerces. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822839#3822839 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822839 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Re: MSSQL 2000 + JBOSS 3.x problem
Hi, Finally I remove all other MSSQL Datasource definitions form my JBoss deploy directory. When I have only one MSSQL Datasource the applications deploys withoud ClassCastException, but when I have two MSSQL datasource references in my application I get ClassCastException. How to setup more then one MSSQL Datasource for JBoss 3.0.x/3.2.x? I tried with one *-ds.xml and two separated *-ds.xml files but it does not work. Best regards Maciek View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822840#3822840 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822840 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: what's the reason behind 3.2.3 not bundling Jetty anymor
Tomcat is now the default servlet engine, but there is still a version of JBoss 3.2.3 that is bundled with Jetty: http://sourceforge.net/project/showfiles.php?group_id=22866package_id=16943 You can also get jbossweb-jetty.sar's from the Jetty project directly if you want to upgrade Jetty seperately. http://sourceforge.net/project/showfiles.php?group_id=7322 Or you can switch to using Tomcat. The switch to Tomcat as the default servlet engine came about when Remy Maucherat (Tomcat lead developer) was hired by JBoss. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822841#3822841 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822841 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - jmx-console not registering AJP13 Listener??
Hi All, Am using Jboss 3.2.3 with Jetty 4.2.14 on Linux. I get following error when i invoke AJP13 page on jmx-console eg. http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBeanname=jboss.jetty%3AServer%3D0%2CAJP13Listener%3D0 The page gets displayed properly but my server log shows following exception. I have tried setting identifyListener=true but in vein. Does this a bug in jmx-console or i am missing something? any input greatly appreciated. 2004-02-24 13:40:09,631 WARN [org.jboss.jetty] WARNING: Exception for /jmx-console/HtmlAdaptor?action=inspectMBeanname=jboss.web%3AJetty%3D0%2CAJP13Listener%3D0 javax.management.InstanceNotFoundException: jboss.web:Jetty=0,AJP13Listener=0 is not registered. at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:354) at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:557) at org.jboss.jmx.adaptor.control.Server.getMBeanData(Server.java:77) at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.inspectMBean(HtmlAdaptorServlet.java:180) at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:75) at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:56) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:356) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1803) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:523) at org.mortbay.http.HttpContext.handle(HttpContext.java:1753) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.jboss.jetty.Jetty.service(Jetty.java:456) at org.mortbay.http.HttpConnection.service(HttpConnection.java:790) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:952) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:494) thanks krishna View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822842#3822842 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822842 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - How to link a servlet with a datasource located in another E
Hi, I've got 2 EAR (Servlets and EJB) deployed, with there own (closed) classloader. I would like to use a datasource declared in one EAR from a servlet located in the other EAR ! Without any configuration, that doesn't work, I get an SQL exception about a problem of sequence. I think a should add something about this datasource in my web.xml, but I don't know what. NB : JBoss 3.0.6, JDBC and Oracle 9i Thanks Damien View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822843#3822843 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822843 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - error-page DD entry seems not to work on jboss-3.2.3
Hi! My application's web.xml contains the following: | error-page | error-code403/error-code | location/not_authorized.jsp/location | /error-page | I use form based auth and if I try to login with a user which has not enough rights to access the secured area, the standard error page ist displayed instead of my not_authorized.jsp. What am I doing wrong? Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822846#3822846 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822846 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Transaction Warnings
I have developed my first, simple, Bean managed Entity bean. I am using Jboss-3.0.4 and mySql-3.2 Everyting works, but every time I access the database using the bean, i get some warnings, like: 1) javax.transaction.xa.XAException: wrong id in commit: expeced: null, got: XidImpl 2) javax.transaction.xa.XAException: Error trying to start local tx: javax.resource.ResourceException: SQLException May be there is something wrong in my code or in some xml file. Where can I find a full, working example of Bean managed Entity bean for Jboss-3 to compare with mine ? Luigi Fonti View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822849#3822849 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822849 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - How 2 use JBossMQ?
Hello, i'm trying to write my first JMS MDB and client. I dont know which JMS i should import. | import javax.jms.*; | import org.jbosss.*; | | | | | I think if i use a JBoss i should use JBossMQ. But if i write only the second import i get Errors, so i think i have to use the javax jms. | | But thats not whar i want to. So how can i use the JMS from JBoss instead of the Suns JMS? | | | | And what exactly are the differences between the JMSs (JMS, OpenJMS, JBossMQ)? | | Is there any JMS better than the others? Why? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822850#3822850 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822850 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - How 2 use JBossMQ?
Hello, i'm trying to write my first JMS MDB and client. I dont know which JMS i should import. | import javax.jms.*; | import org.jbosss.*; | I think if i use a JBoss i should use JBossMQ. But if i write only the second import i get Errors, so i think i have to use the javax jms. But thats not whar i want to. So how can i use the JMS from JBoss instead of the Suns JMS? And what exactly are the differences between the JMSs (JMS, OpenJMS, JBossMQ)? Is there any JMS better than the others? Why? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822851#3822851 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822851 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Re: JBoss MSSQL database server connection problem
Well I'll post it today... soon... I have just one quistion. Does Jboss expect me to make a dataacces bean to connect my database? And then have my mssql-db.xml file to call that bean? I thought that the driver made the connection, with the parameters, i wrote in the mssql-ds.xml file. I'll post all the files I have editet I'm really struggeling in the deep end of the water here right now, so any help is appriciated View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822852#3822852 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822852 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Re: JBoss MSSQL database server connection problem
In the standardjbosscmp-jdbc.xml file I have changed the folowing: The out commented lines are the original source with the hypersonic database. As u can see i have changed the attributes to MSSQLDS and MS SQLSERVER2000 jbosscmp-jdbc !-- java:/DefaultDS -- java:/MSSQLDS !-- datasource-mappingHypersonic SQL/datasource-mapping -- datasource-mappingMS SQLSERVER2000/datasource-mapping Then finally I have my mssql-ds.xml file: local-tx-datasource jndi-nameMSSQLDS/jndi-name connection-urljdbc:microsoft:sqlserver://localhost:1433;DatabaseName=GHEM3;SelectMethod=Cursor/connection-url driver-classcom.microsoft.jdbc.sqlserver.SQLServerDriver/driver-class user-namesa/user-name strange !-- sql to call when connection is created new-connection-sqlsome arbitrary sql/new-connection-sql -- !-- sql to call on an existing pooled connection when it is obtained from pool check-valid-connection-sqlsome arbitrary sql/check-valid-connection-sql -- /local-tx-datasource I have not done ANY other changes. The bug i get is view as followed: I have no idea, what the MBeanException is. I know that a bean has a mitch match, but i don't know witch one. What does I miss Where is the method:'checkIncompleteDeployments()'?? 13:34:55,221 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/ default/deploy/management/web-console.war 13:34:55,221 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope ration 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss.mq:service=InvocationLayer,type=HTTP state: CONFIGURED I Depend On: jboss.mq:service=Invoker jboss.web:service=WebServer Depends On Me: , ObjectName: jboss.mq:service=DestinationManager state: CONFIGURED I Depend On: jboss.mq:service=MessageCache jboss.mq:service=PersistenceManager jboss.mq:service=StateManager Depends On Me: jboss.mq.destination:service=Topic,name=testTopic jboss.mq.destination:service=Topic,name=securedTopic jboss.mq.destination:service=Topic,name=testDurableTopic jboss.mq.destination:service=Queue,name=testQueue jboss.mq.destination:service=Queue,name=A jboss.mq.destination:service=Queue,name=B jboss.mq.destination:service=Queue,name=C jboss.mq.destination:service=Queue,name=D jboss.mq.destination:service=Queue,name=ex jboss.mq:service=SecurityManager jboss.mq.destination:service=Queue,name=DLQ , ObjectName: jboss.mq:service=PersistenceManager state: CONFIGURED I Depend On: jboss.jca:service=LocalTxCM,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager , ObjectName: jboss.mq.destination:service=Topic,name=testTopic state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822853#3822853 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822853 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - How to use SingletonController (Clustering Doku Chapter 11)?
Hi out there!! I have read the above mentioned part of the clustering docu several times, but I still don't know how to use it. But first I will explain what I'm planning to do: I have a clustered jboss here with 2 or more cluster nodes on the partition. There are several functions in my beans that need to be executed by a singleton - that means they may only be executed once in the whole cluster and they create or change data that must be unique. So I thought it would be good to use the DistributedState Service and the Singleton Service. I hope my assumption is right so far. So I tried to create a stateless session bean that calls a mbean that I created. And this mbean is the target of the HASingletonController. It has the start and stop method and becomes started only on the master node. So far everything is fine. But how do I address the Singleton on the master node? So far the actions my singleton executes takes place on whatever machine the stateless session bean has been called. Can anybody explain how to do the thing I want or could anyone perhaps give me some code that shows me how to do this? Or am I missing some essential things here? Thank you all for your help! Peter PS: I'm on the JBoss Advanced training next week in Frankfurt. Will this topic be part of the training? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822854#3822854 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822854 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: can't deploy CMP Bean in jboss3.2.3
Hi, I faced with exactly the same problem when I tried to deploy the CmpRoster example. Have you found any solution ? Regards: Csaba View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822855#3822855 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822855 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Re: Datasource link to - java:/DefaultDS
Hi Ralph, sorry to hear that. But I still think the problem is in your configuration files, since it looks like JBoss doesn't find your resource reference and so decides to use its DefaultDS instead. I recommend looking at your jboss.xml once again. In my installation, the resource-managers section is last, behind the enterprise-beans section. I'm not quite sure if this really matters, but since it is defined that way in the DTD, I decided to stick with it - and it works! Greetings, Ala View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822856#3822856 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822856 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Transaction deadlock detection don't work.
Hi together. We're using JBOSS 3.0.0. with BMP and SAPDB. I've tried the following small situation. SessionBean with 2 functions: - methode testA{} doing a finder-method and selecting beans from 1 to 1000 deleting these 1000 EJBs - methode testB{} doing a finder-method and selecting beans from 1000 to 2000 simply modifing an attribute of the beans 2 clients will be startet, one calling method A and 1 calling method B. The client calling method B is called first. So, Method B will changes an attribute of EJB 1000. Also Methode A selects this Beans in the finder and tries do delete this bean. Now JBOSS is not blocking this request (Thread A). The remove seams to work and at the end of the two threads (during commit) boths threads are blocking. I#ve tried it also with JBoss 3.2.2 RC4. Any ideas how to configure JBoss to prevent this situation. Thanks for Help. Method A public void testA(){ .. Collection list = this.testLocalHome.findAllByIdRange(1, 1000); Iterator i = list.iterator(); while(i.hasNext()){ TestLocal local = (TestLocal)i.next(); local.remove(); } } public void testB(){ .. Collection list = this.testLocalHome.findAllByIdRange(1000, 2000); Iterator i = list.iterator(); while(i.hasNext()){ TestLocal local = (TestLocal)i.next(); local.setName(Hallo); } } deployment settings: ![CDATA[]] ejb-nameTest/ejb-name local-hometest.TestLocalHome/local-home test.TestLocal ejb-classtest.TestBMP/ejb-class persistence-typeBean/persistence-type prim-key-classtest.TestPK/prim-key-class False resource-ref res-ref-namejdbc/SAPDBDS/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref container-transaction ejb-nameTest/ejb-name method-name*/method-name trans-attributeRequired/trans-attribute /container-transaction container-transaction ejb-nameTestSession/ejb-name method-name*/method-name trans-attributeRequired/trans-attribute /container-transaction BMPs defiend in commit-option A. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822857#3822857 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822857 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JBoss SX seems to cache user/roles
You should keep the caching on. If you don't, the LoginModule will be called on every request (and it seems that the JaasSecurityManager won't work without cache). If you want to update the password/roles of users, you have to flush the cache through JMX by calling jboss.security:service=JaasSecurityManager.flushAuthenticationCache(securityDomain, principal). There are lots of posts in the forums explaining how to do that. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822858#3822858 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822858 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Installation Configuration] - Re: IntegrateApache Jboss-Tomcat, with SSL, users,
yes , i did [EMAIL PROTECTED] 24/02 14:42 Have you compiled mod_jk? From: JAIME GOMEZ [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 24 Feb 2004 16:20:04 -0500 To: [EMAIL PROTECTED] Subject: [JBoss-user] [Installation Configuration] - Re: Integrate Apache Jboss-Tomcat, with SSL, users,IP Peolple, i try to install : Apache 1.3.29 with Jboss3.2.3 but i have problem when using the jakarta-tomcat-connector-4.1.29 , i don't how to install the mod_jk2. I had been to try with the information of http://jboss.org/wiki/Wiki.jsp?page=UsingMod_jkWithJBoss but when start the apache , don't read the file worker2.properties hope their help Jaime --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Connectors and JCA/JBoss] - Re: oracle-jdbc2-service.xml
Hello, I found the solution in the forum. http://www.jboss.org/index.html?module=bbop=viewtopict=38872 Now it worked, but the solution is for Oracle 8, with this version I haven't this problem, so it might be a configuration problem in Oracle. Regards Bjrn View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822860#3822860 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822860 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56alloc_id438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - How to read *.properties files?
Hello *, maybe I'm wrong, but I've read some time ago, that you should not use java.io.* within EJBs. Thus, how can I read a configuration from a *.properties file? Is the following way really forbidden (even though it works)? public void ejbCreate() throws CreateException { try { Properties props = new Properties(); props.load(MyBean.class.getResourceAsStream(MyBean.properties)); // ... } Thanks a lot in advance for your help! Best regards, Marco. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822862#3822862 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822862 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Installation Configuration] - Re: IntegrateApache Jboss-Tomcat, with SSL, users,
I did , this is my resumen : Build JK2 1. Requirement * RedHat 9.0 * Jakarta-tomcat-4.1.29 * Jakarta-tomcat-connectors-4.1.29 2. Instalation Install jakarta-tomcat-4.1.29 and jakarta-tomcat-connectors-4.1.29-src where : * CATALINA_HOME = path to jakarta-tomcat-4.1.29 * JTC_HOME = path to jakarta-tomcat-connectors-4.1.29-src 3. Build * cd $JTC_HOME/jk * cp build.properties.samples build.properties * vi build.properties ( change the path of tomcat41.home and apache13.home ) * ant native the compile module will be generated inside the directory $JCT_HOME/jk/build [EMAIL PROTECTED] 24/02 14:42 Have you compiled mod_jk? From: JAIME GOMEZ [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 24 Feb 2004 16:20:04 -0500 To: [EMAIL PROTECTED] Subject: [JBoss-user] [Installation Configuration] - Re: Integrate Apache Jboss-Tomcat, with SSL, users,IP Peolple, i try to install : Apache 1.3.29 with Jboss3.2.3 but i have problem when using the jakarta-tomcat-connector-4.1.29 , i don't how to install the mod_jk2. I had been to try with the information of http://jboss.org/wiki/Wiki.jsp?page=UsingMod_jkWithJBoss but when start the apache , don't read the file worker2.properties hope their help Jaime --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56alloc_id438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files
Does no one know the answer to this?? Is the question not clear? Please help!! I'm stuck and don't know how to get my application to work! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822864#3822864 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822864 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - JBoss 3.2.2 abnormal termination
hi, our JBoss 3.2.2 terminates without any message on a Linux system. We've build own linux system and use the latest SUNs J2SE. I've seen allready this posting: http://www.jboss.org/index.html?module=bbop=viewtopict=44206 We try to start our JBoss with nohup. Regards, Rafal View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822866#3822866 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822866 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - During startup server tries to load all messages in a JMS qu
We are using JBoss 3.2.3 with Sybase as the JMS Store If we restart JBoss with a significant number of messages (for eg above 15000) on any of the JMS queues. It takes very long time to start up. Logs suggest that the server is trying to load the JMS queue (one with a very high queue depth). At one point the the startup took a very long time and resulted in an out of memory exception. The only way we could get the server to start was by increasing the heap size from 256 to 512 (the other option was to delete/drain the queue). Is there configuration to configure the server to not load the entire queue during startup? Rgds, Amresh View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822867#3822867 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822867 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: How to read *.properties files?
Using java.io is forbidden because a filesystem is not considered a safe medium to use. You should use a database instead, for example. You could create a property table, with a PropertyEJB CMP bean, in which you will store your properties. Of course, you can still use java.io in a WAR (it is not forbidden in a WAR). That's what Struts do with its configuration file. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822871#3822871 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822871 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: During startup server tries to load all messages in a JM
It's a limit to JbossMQ scalability. Even if the memory cache is low, Jboss still needs to load all references of the messages in memory. I think it's on Adrian's TODO list for 3.2.4 :) Regards, Stephane View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822872#3822872 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822872 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: How 2 use JBossMQ?
javax.jms are the interfaces client's code should use. org.jboss is the implementation and is specific to Jboss. You should not refer to this in your code. Regards, Stephane View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822873#3822873 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822873 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files
I can't help you but I found useful this lecture about classloading: http://webdev.apl.jhu.edu/~jcs/corej2ee.spring03/deploy/doc/book/public/02_J2EE_Application_Components.pdf I hope this can help you! Gio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822877#3822877 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822877 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Bean lock and inheritance on PKs
I use jboss 3.2.1 I've got two ejbs. They both use PK classes, derived from one super class. The super class has the hash code and equals methods and works fine as a PK class in its own right. But when I use the derived classes jboss throws a java.lang.IllegalStateException removing bean lock and it has tx set! The derived classes are actually empty other than their constructors and do not have their own hash code or equals methods, but I assumed jboss would find them in the super class. Is this a bad assumption ? Ideas anyone ? Thanks, Tony. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822878#3822878 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822878 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Seems to be creating tables?
JBoss seems to be creating its own database tables, so it is never finding the real tables? Can this be possible? I have a table called UIRole, which I've populated with test data. Then when JBoss starts it seems to create and use a different table called UIRoleTable... Really? Very confusing. So of course it doesnt' find any of the data in the real table... why does it create its own table? I would expect that it would just throw an exception if it can't find the right one, instead of creating a different one? Can this behavior be turned off? If so how? dt View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822879#3822879 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822879 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET SOAP] - Re: Prblem accesing a EJB method from a C++ application
Can you access the ws from a java client? Do you have a stack trace? cheers -thomas View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822881#3822881 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822881 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files
Why not forget about the reference in the manifest file and add the library file as module in your application.xml? That is likely to cause less problems when redeploying as well. Joachim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822883#3822883 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822883 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Re: Seems to be creating tables?
In jbosscmp-jdbc.xml there is a tag create-table which indicates whether tables should be created or not. However, this only creates the table if it does not exist. The problem is that in your deployment descriptors, the table name is wrong (does not match the real table name). Joachim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822884#3822884 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822884 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: How 2 use JBossMQ?
toniG; This article may be helpful: http://www-106.ibm.com/developerworks/java/library/j-jmsvendor/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822886#3822886 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822886 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - CMP Roster Deployment problem
Hi, When I deploy the CMP Roster example, I get the following error (excerpt from the server log file. Environment: JBoss 3.2.3 fresh install, JDK 1.4.2_03 Windows 2000, all service pack. Please help by offering a solution. Regards, Csaba 2004-02-25 13:11:37,543 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:jndiName=local/LeagueEJB,service=EJB java.lang.NoSuchMethodError: org.apache.bcel.generic.InstructionFactory.createNewArray(Lorg/apache/bcel/generic/Type;S)Lorg/apache/bcel/generic/Instruction; at org.jboss.proxy.compiler.ProxyImplementationFactory.createProxyMethod(ProxyImplementationFactory.java:319) at org.jboss.proxy.compiler.ProxyCompiler.getCode(ProxyCompiler.java:167) at org.jboss.proxy.compiler.Runtime.makeProxyType(Runtime.java:66) at org.jboss.proxy.compiler.ProxyCompiler.(ProxyCompiler.java:76) at org.jboss.proxy.compiler.Proxies$Impl.newTarget(Proxies.java:603) at org.jboss.proxy.compiler.Proxies.newTarget(Proxies.java:78) at org.jboss.proxy.compiler.Proxy.newProxyInstance(Proxy.java:49) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateBeanClassInstanceCommand.(JDBCCreateBeanClassInstanceCommand.java:62) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateBeanClassInstanceCommand(JDBCCommandFactory.java:123) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:463) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:388) at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:152) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:342) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy14.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy34.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:331) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy14.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy12.start(Unknown Source) at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:544) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) at
[JBoss-user] [HTTPD, Servlets JSP] - Re: General Architecture Question
Andrew, Thank you for your thoughful response. I especially appreciated the insights into the security impact JBoss could have if outside the firewall. It's also my plan to segregate the DBMS from the app server as you suggested. Thanks again. Jack View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822888#3822888 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822888 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Exception in thread
my deployment files are: ejb-jar.xml: ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE ejb-jar (View Source for full doctype...) - ejb-jar JBoss Hello World Application display-nameHello World EJB/display-name - enterprise-beans - ejb-nameHelloWorld/ejb-name prova.main.bean.HelloWorldHome prova.main.bean.HelloWorld ejb-classprova.main.bean.HelloWorldBean/ejb-class session-typeStateless/session-type transaction-typeBean/transaction-type /enterprise-beans /ejb-jar jboss.xml: ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE jboss (View Source for full doctype...) - - enterprise-beans - ejb-nameHelloWorld/ejb-name jndi-nameHelloWorld/jndi-name configuration-nameStandard Stateless SessionBean/configuration-name /enterprise-beans I'm using Ant to create jar file: build.xml: ?xml version=1.0 ? - !-- Esempio: Hello World -- - - !-- Build classpath -- - - - !-- So that we can get jndi.properties for InitialContext -- - !-- Provo a compilare -- - - - !-- Costruisco la dirctory -- - - - - - - !-- Provo ad eseguire -- - - - - - - when the client run, it give me this error: Exception in thread main java.lang.NoClassDefFoundError: /home/raffaele/Documents/esempio1/main/CountClient Please, can anyone help me? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822889#3822889 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822889 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: During startup server tries to load all messages in a JM
Thanks Stephane Any idea when is JBoss 3.2.4 expected to be rolled out? Also is this fix on Adrian's MUST HAVE list or NICE TO HAVE list. Rgds, Amresh View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822890#3822890 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822890 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - please help me out!!! connection error
I am using MSSQL Server and Jboss 3.2.3. The problem is when I try to connect to the database, I get the following error message. This is part of the error message on the console. == 10:03:42,702 ERROR [NascoReporting] SQL Exception in com.nascopgh.reporting.ejb.ReportingSpreadSheetBean java.sql.SQLException: Connection handle has been closed and is unusable at org.jboss.resource.adapter.jdbc.WrappedConnection.checkStatus(Wrapped Connection.java:772) at org.jboss.resource.adapter.jdbc.WrappedConnection.createStatement(WrappedConnection.java:137) == [mssql-ds.xml] local-tx-datasource jndi-namegenesisDS/jndi-name connection-urljdbc:microsoft:sqlserver://dbdev1:1433;Development=Development/connection-url driver-classcom.microsoft.jdbc.sqlserver.SQLServerDriver/driver-class user-nameDevUser/user-name devuser /local-tx-datasource [jboss.xml] ejb-nameReportingSpreadSheetBean/ejb-name jndi-namereporting/jndi-name resource-ref res-ref-namegenesisDS/res-ref-name jndi-namejava:/genesisDS/jndi-name /resource-ref method-attributes /method-attributes [ejb-jar.xml] resource-refres-ref-namegenesisDS/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth res-sharing-scopeUnshareable/res-sharing-scope /resource-ref [source code] ctx = new InitialContext ( ); ds = ( DataSource ) ctx.lookup( java:/genesisDS ); conn = ds.getConnection ( ); please help me out. Byoung View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822891#3822891 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822891 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Interoperability of Tomcat and JBoss?
Hi folks, I'm interested in the way Tomcat and JBoss are working together...just roughly. Which one will be integrated in which and things like that (sorry, but I'm a real newbie in any java stuff and I have just to setup the environment for our developpers). Cheers, Stifi View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822894#3822894 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822894 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - UnsupportedCallbackException using TextInputCallback
Hi, for the login I need more than a username and password. I tried to get the additional information by using the TextInputCallback. My Problem is that I get a UnknownCallbackException in my custom LoginModule with the TextInputCallback, only NameCallback and PasswordCallback succeed. The array passed to callbackHandler.handle() has 3 callbacks, but the client gets an array with only 2. Here's the (server) code: NameCallback nc = new NameCallback(username); PasswordCallback pc = new PasswordCallback(password, false); TextInputCallback orgNameCB = new TextInputCallback(organizationName); username = null; password = null; organizationName = null; Callback[] callbacks = {nc, pc, orgNameCB}; try { callbackHandler.handle(callbacks); username = nc.getName(); password = new String(pc.getPassword()); organizationName = orgNameCB.getText(); ... Is anyone using TextInputCallback and how did you get it to work? Thanks for your help, nick.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822893#3822893 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822893 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Hotdeployable
Post some more of your error from the logs. The cannot remove directory bit has nothing to do with your jndi conflict; I redeploy EJBs where it can't remove the temp directories all day long and have no issues. Also double check that you don't have two of your .ears deployed and that you're not getting any other errors on startup. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822895#3822895 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822895 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Re: please help me out!!! connection error
Is this a stateful session bean with the connection staying alive across invocations? In that case, check your logs. The connecton was probably closed by JBoss already. This can be modified in transaction-service.xml Joachim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822896#3822896 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822896 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JBoss SX seems to cache user/roles
Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822898#3822898 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822898 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Re: please help me out!!! connection error
Than you for your explanation. This program is stateless sesstion bean. Could you tell me what I shoud do? Thank you in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822899#3822899 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822899 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Can't shutdown when running multiple instances
Windows 2000 server JBoss 3.2.3 Setup my service-binding.xml as in the example and it is working great. My basic setup is that I have the default server setup in the service-binding.xml and for each additional instance I need I simply copy the default server and paste it in the same file, then change the name and simply increment each port by 100 from the last. Again, starting up multiple instances works great. Example: Default naming port 1099, default rmi port 1098 defaultE2RD naming port 1199, defaultE2RD rmi port 1198 My problem is shutting down. The only option for me is ctrl+c but that sucks as I want to have scripts to deploy, stop, start, etc. The shutdown command I enter is: C:\jboss-3.2.3\bin\shutdown.bat --server=defaultE2RD Note: I also don't know the command to stop/start remotely. The exception I get is below Note: it is trying to connect to defaultE2RD:1099, it should use the service-binding.xml and connect to defaultE2RD:1199 What do I need to enter for shutdown? Added bonus... How to do it remotely? Thanks, Dale 10:33:00,231 WARN [NamingContext] Failed to connect to defaultE2RD:1099 javax.naming.CommunicationException: Failed to connect to server defaultE2RD:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server defaultE2RD:1099 [Root except ion is java.net.UnknownHostException: defaultE2RD: defaultE2RD]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:215) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1181) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jboss.Shutdown.main(Shutdown.java:182) Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server defaultE2RD:1099 [R oot exception is java.net.UnknownHostException: defaultE2RD: defaultE2RD] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:190) ... 5 more Caused by: java.net.UnknownHostException: defaultE2RD: defaultE2RD at java.net.InetAddress.getAllByName0(InetAddress.java:1011) at java.net.InetAddress.getAllByName0(InetAddress.java:981) at java.net.InetAddress.getAllByName(InetAddress.java:975) at java.net.InetAddress.getByName(InetAddress.java:889) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:61) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:186) ... 5 more Exception in thread main java.lang.ClassCastException at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:986) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1192) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jboss.Shutdown.main(Shutdown.java:182) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822900#3822900 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822900 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Stop application on shutdown
Hi, in this thread: http://jboss.org/index.html?module=bbop=viewtopict=45890 someone asked about starting an application on startup. The answer was to use a servlets init-method and load-on-startup 1 . Is there a similar method that gets called on stopping/undeploying the application ? Can such a method be used to unregister notification listeners from JMX MBeanservers ? Thanks in advance Stefan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822901#3822901 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822901 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JBoss SX seems to cache user/roles
I did some serching around I came up with a code snippet | Object[] params = new Object[]{jaasDomainName, simplePrincipal}; | String[] signature = new String[]{ java.lang.String , | java.security.Principal }; | mbeanServer.invoke(jaasObjectName, flushAuthenticationCache , params, | signature); | Code from http://www.junlu.com/msg/36344.html I'll need to do some more research. I have not worked with JMX much. But thanks for the trail. I also found this: (JBossTestServices) | /** Flush all authentication credentials for the java:/jaas/other security | | 295 domain | | 296 */ | | 297 3 void flushAuthCache() throws Exception | | 298 { | | 299 3 ObjectName jaasMgr = new ObjectName(jboss.security:service=JaasSecurityManager); | | 300 3 Object[] params = {other}; | | 301 3 String[] signature = {java.lang.String}; | | 302 3 invoke(jaasMgr, flushAuthenticationCache, params, signature); | | 303 } | | | The above can be found at: http://www.thecortex.net/clover/eg/jboss/report/org/jboss/test/JBossTestServices.html It is sure nice having the entire code base online so it can be googled! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822903#3822903 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822903 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Connectors and JCA/JBoss] - Re: JBoss Connection Pool for non-DB resource
Oops, I left out that I am trying to do this on JBoss 3.2.1. Thanks, -MLA View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822906#3822906 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822906 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Connectors and JCA/JBoss] - JBoss Connection Pool for non-DB resource
All, How would I go about setting up a container managed connection pool? Ideally, it would be similar to the same methodology that is implemented for datasources. Thanks, -MLA View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822905#3822905 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822905 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files
I originally tried the reference in the application.xml. Didn't work. I then tried the classpath in the manifest file. Didn't work. Something doesn't seem right. This was an app created in a WebLogic environment and I've been tasked with porting it to JBoss. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822904#3822904 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822904 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0 Workbook] - Workbook Exercise 7.1 and iSeries/AS400 datasource
Does anybody have experience with CMP entity relationships and mapping them to AS400 datasources? I am working my way through the book and I have all examples to this point(chapter 7) working so I am sure datasource is configured and working. The one-to-one unidirectional and bidirectional examples worked perfectly, the third example is one-many unidirectional and this is where the problem starts. Can anybody offer up what the jbosscmp-jdbc.xml file might need to look like for this example? All the EJBs delop without error but when I run client_71c I get an error that produces the following server log: 2004-02-24 14:24:47,167 INFO [STDOUT] ejbCreate 2004-02-24 14:24:47,250 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract com.titan.phone.PhoneLocal com.titan.phone.PhoneHomeLocal.create(java.lang.String,byte) throws javax.ejb.CreateException, causedBy: java.sql.SQLException: Data type mismatch. at com.ibm.as400.access.JDError.throwSQLException(JDError.java:382) at com.ibm.as400.access.SQLLongVarcharForBitData.set(SQLLongVarcharForBitData.java:217) at com.ibm.as400.access.AS400JDBCPreparedStatement.setValue(AS400JDBCPreparedStatement.java:2817) at com.ibm.as400.access.AS400JDBCPreparedStatement.setObject(AS400JDBCPreparedStatement.java:2339) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.setObject(WrappedPreparedStatement.java:623) at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.setParameter(JDBCUtil.java:1278) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822908#3822908 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822908 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: LinkageErrors
You're probably adding different versions of the commons-* libraries that may have incompatible changes in the interfaces and/or class signatures. You should isolate your deployment with the loader-repository tag in the jboss-service.xml of your SAR archive. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822907#3822907 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822907 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - datasource packaged in a SAR howto
Hi all, i'd like to package my datasource config in a sar within my ear. I declared the SAR in a jboss-app.xml (in the ear META-INF, pointing to the sar) : moduleservicemyDS.sar/service/module but for the SAR's jboss-service.xml, i don't really know what mbean to invoke :( can somebody explain this or even better, show me an example? thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822909#3822909 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822909 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Interoperability of Tomcat and JBoss?
Tomcat is embedded as a service to JBoss. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822910#3822910 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822910 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - callbacks from CMP or caching layer
hi folks, i have an entity bean which has a String field containing xml. since i reference this bean often, i want to cache the parsed DOM locally in my application. of course, i can't store the DOM object in the bean since there are troublesome issues associated with persisting java objects directly what i need then is a way for my application's own private cache of DOM objects to get notifications from jboss' CMP or caching layer, telling it when these beans have changed. then, after such notification, my application can flush its own cache of the DOM object corresponding to that particular bean. questions: (1) is there any way to get reference to such a jboss notification object from JMX or JNDI? (2) if my whole approach seems problematic, please let me know. thanks, mike View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822911#3822911 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822911 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files
Post the application.xml you used to reference it from there. It might help to not put the library file in a subdirectory. Joachim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822912#3822912 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822912 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Re: please help me out!!! connection error
pbk97030 wrote : This program is stateless sesstion bean. Are you keeping your connection open? If that is the case, you cannot be using a SLSB, as the connection is state... In the other case, better to post your code if you can. You might be doing something wrong in the JDBC stuff. Joachim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822913#3822913 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822913 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - What are some of the common Gotchas/issues with JBOSS?
Hello. I wasn't exactly sure where to post this question. We are currently looking at replacing our exisiting app servers (Weblogic) with Jboss. We have already migrated one app over succesfully with minor changes to our code. Everything works great. But the other applications we are lookingat migrating are on a grander scale than what we moved originally. I am asking if anyone has either some compilation or might be able to help me determine what are some common issues with migrating from one app server to another with specific regards to Jboss and the way it does things. The site incorporates JMS, EJBs, etc. Our current platform is windows based running Weblogic 8.1. We would look to moving to a linux platform using Jboss. any help is appreciated. I do want to say moving the one application over did not have serious issues. Mainly small changes. So was very happy to see that. Thanks for your time. Kevin. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822915#3822915 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822915 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: javax.ejb.EJBException: Reentrant method call detected
I saw this issue when I first converted some code over to ValueObject. The problem was with value objects that are related bi-directionally. You baiscally have a circular reference. If you enable reentrant behavior, you won't get the exception, but you will blow your stack with an endless loop of method calls. The way I got around it was to setup my value objects so that each one as two flavors: a full one and a 'relation' one. The relation versions did not include the CMR method. So, the full version calls the relation version (which doesn't in turn call back into the full version). Does that make any sense? Hopefully. :) Maybe somebody else has a better way, but that worked for me. Gary. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822917#3822917 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822917 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Re: please help me out!!! connection error
This is part of my source code. Please check my code out and reply to me. Especially, the error is occurred in the following code. pstmt = conn.prepareStatement ( SQL_SELECT_STATUS_DESC ); Thank you in advance - try { conn = getConnection ( ); log.info(DB Connection: + conn); //log.info(conn.isClosed()); for(int i = 0; i listOfLoanNumber.size();i++){ log.info(inside the loop); pstmt = conn.prepareStatement ( SQL_SELECT_STATUS_DESC ); pstmt.setString ( 1, (String)listOfLoanNumber.elementAt(i) ); rs = pstmt.executeQuery(); if(rs.next()){ OrderBean orbean = new OrderBean(); orbean.setOrderNumber(rs.getString(1)); orbean.setLoanNumber((String)listOfLoanNumber.elementAt(i)); orbean.setOrderStatus(rs.getString(2)); orbean.setComment(rs.getString(3)); listOfStatus.add(orbean); } else { OrderBean orbean = new OrderBean(); orbean.setLoanNumber((String)listOfLoanNumber.elementAt(i)); orbean.setOrderStatus(); orbean.setComment(); listOfStatus.add(orbean); } rs.close(); pstmt.close(); } conn.close ( ); } catch ( NamingException e ) { throw new EJBException ( e.toString() ); } catch ( SQLException e ) { throw new SQLException ( e.toString() ); } finally { try{ if(pstmt!= null) pstmt.close(); if(rs != null) rs.close(); if(conn != null) conn.close(); } catch(SQLException e){ log.error(SQL Exception in + this.getClass().getName(), e); } } View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822918#3822918 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822918 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files
I'll show you what I had in WebLogic. Here's what I have in my ear: DocumentBean.jar MessageDocumentBean.jar MessageLoggingBean.jar TRIF.war APP-INF/lib/SharedUtils.jar meta-inf/application.xml meta-inf/Manifest.mf Here's my Manifest.mf: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.5.3 Created-By: 1.4.2_03-b02 (Sun Microsystems Inc.) Here's my application.xml: ?xml version=1.0 encoding=UTF-8? !DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd' display-nameTRIF/display-name TradeRanger Infrastructure DocumentBean.jar MessageLoggingBean.jar MessageDocumentBean.jar web-uriTRIF.war/web-uri context-root/ I've tried adding a Class-Path attribute to the manifest with no success. I've tried adding a module element to the application.xml with no success. (I even tried all three types of modules besides web just for the sake of trying.) So something like SharedUtils.jar And I've tried putting the SharedUtils.jar in just a lib subdirectory (no APP-INF above it), and tried putting it in no subdirectory. It's a class withing the SharedUtils.jar that can't seem to be found at runtime. Do I need to create a directory structure under the lib directory that mimicks my package structure? (I know this is done in the classes directory in a web app.) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822920#3822920 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822920 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - CANNOT lookup on a datasource
Hello, I'm working on a program mixing EJB and object whose persistance is managed by DAO over JDBC. I'd like to use the JBoss' connection pool to manage the connection available. I thought that the best way is to look up for the datasource and after to get connection from it. However I didn't success to look up for the DS. I don't know why and I wrote a small code to determine all the jndi names. I ran the same code on JOnAS and I got the JNDI name of my DS. So I used as DataSource a RDBMS which is MaxDB 7.5. here's my connector file : | datasources | xa-datasource | jndi-nameMaxdbXADS/jndi-name | track-connection-by-txtrue/track-connection-by-tx | xa-datasource-classcom.sap.dbtech.jdbcext.XADataSourceSapDB/xa-datasource-class | xa-datasource-property name=Urljdbc:sapdb://127.0.0.1/XM/xa-datasource-property | xa-datasource-property name=Userdba/xa-datasource-property | xa-datasource-property name=Passworddba/xa-datasource-property | /xa-datasource | | /datasources | The connection is OK because I success to use CMP EJB and to persist data into the MaxDB. Then after I wrote a simple Test class to catch the Datasource : | import java.util.Hashtable; | | import javax.ejb.CreateException; | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.naming.NamingEnumeration; | import javax.naming.NamingException; | import javax.sql.DataSource; | public class Test{ | | static Context ctx = null; | | public static void main(String[]args) { | Test prog = new Test(); | } | | public Test(){ | try { | ctx = getContext(); |} |catch (NamingException e) { | e.printStackTrace(); | System.exit(2); |} | try { | NamingEnumeration enum = ctx.list(); | while (enum.hasMore()) { |System.out.println(enum.next()); | } |} |catch (NamingException e) { | e.printStackTrace(); |} | | // Next, lookup the DataSource | try { | DataSource ds = (DataSource) getContext().lookup(java:/MaxdbXADS); | System.out.println(ds.toString()); | } catch (NamingException e) { | System.out.println(DS Not found); | } | | } | | private static InitialContext getContext() throws NamingException { | Hashtable props = new Hashtable(); | | props.put( | InitialContext.INITIAL_CONTEXT_FACTORY, | org.jnp.interfaces.NamingContextFactory); | props.put(InitialContext.PROVIDER_URL, jnp://127.0.0.1:1099); | | InitialContext initialContext = new InitialContext(props); | return initialContext; | } | } However I've the following result which proofs that i cannot connect on my Datasource. I find strange that when I display the list of Jndi names available there isn't my Datasource ! | HAILConnectionFactory: org.jboss.mq.SpyConnectionFactory | HASessionState: org.jnp.interfaces.NamingContext | jmx: org.jnp.interfaces.NamingContext | OIL2XAConnectionFactory: org.jboss.mq.SpyXAConnectionFactory | HTTPXAConnectionFactory: org.jboss.mq.SpyXAConnectionFactory | ConnectionFactory: org.jboss.mq.SpyConnectionFactory | clustering: org.jnp.interfaces.NamingContext | UserTransactionSessionFactory: $Proxy10 | HTTPConnectionFactory: org.jboss.mq.SpyConnectionFactory | ClientLocal: $Proxy44 | XAConnectionFactory: org.jboss.mq.SpyXAConnectionFactory | invokers: org.jnp.interfaces.NamingContext | UserTransaction: org.jboss.tm.usertx.client.ClientUserTransaction | HAILXAConnectionFactory: org.jboss.mq.SpyXAConnectionFactory | RMIXAConnectionFactory: org.jboss.mq.SpyXAConnectionFactory | UILXAConnectionFactory: javax.naming.LinkRef | UIL2XAConnectionFactory: org.jboss.mq.SpyXAConnectionFactory | HAPartition: org.jnp.interfaces.NamingContext | queue: org.jnp.interfaces.NamingContext | topic: org.jnp.interfaces.NamingContext | console: org.jnp.interfaces.NamingContext | UIL2ConnectionFactory: org.jboss.mq.SpyConnectionFactory | UILConnectionFactory: javax.naming.LinkRef | CommandeLocal: $Proxy45 | RMIConnectionFactory: org.jboss.mq.SpyConnectionFactory | CtrlGererCommandeVenteFacadeBean: $Proxy50 | MaxIDLocal: $Proxy46 | OIL2ConnectionFactory: org.jboss.mq.SpyConnectionFactory | UUIDKeyGeneratorFactory: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory | DS not found | Does anybody have an idea ? Xavier MOGHRABI View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822923#3822923
[JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files
Sorry the xml in the application.xml isn't showing up properly. Should be: TradeRanger Infrastructure DocumentBean.jar and so on. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822924#3822924 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822924 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: JBoss SX seems to cache user/roles
Well I tried... I can't seem to init the server | protected void init() throws Exception { | | if (initialContext == null) { | | initialContext = new InitialContext(); | | } | | if (server == null) { | | String serverName = System.getProperty(testAdvantage.jboss.server.name); //not set, this prop is null | | if (serverName == null) { | | serverName = InetAddress.getLocalHost().getHostName(); //the host name is RicksMachine | | } | | server = | (Remote) initialContext.lookup(jmx: + serverName + :rmi); | | } | | } | | Here is the exception I get. | 10:07:15,312 ERROR [STDERR] javax.naming.NameNotFoundException: jmx:RicksMachine:rmi not bound | 10:07:15,312 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) | 10:07:15,312 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:503) | 10:07:15,312 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:509) | 10:07:15,312 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:282) | 10:07:15,312 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528) | 10:07:15,312 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) | 10:07:15,312 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:347) | 10:07:15,312 ERROR [STDERR] at org.appfuse.webapp.service.UserManagerJBossSpecific.init(UserManagerJBossSpecific.java:102) | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822926#3822926 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822926 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - How to configure TransactionManager!?
My business layer is in Hibernate. I want to create a service layer of Session Beans to invoke business logic methods. My problem is how to use the TransactionManager to control my methods. I don't want to use UserTransaction interface. I want a container managed transaction facility. Every time a method gets executed in the SB, it goes well but doesn't do anything in the DB. So I guess the transaction service is not well configured. Please can someone tell me how to configure this in JBoss 3.2.3? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822927#3822927 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822927 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: How to read *.properties files?
...alternatively read in the properties to a singleton or some other application config object if Entity Beans are a non-starter (or you have no DB) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822929#3822929 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822929 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - CMP and iSeries/AS400
Can anybody tell me if anything different needs to be done to do CMP 2.0 relationship mapping to AS400 datasources? I have gotten one-to-one relationships working but I cannot get one-to-many working. Does anybody have experience with CMP entity beans on as400 db2 databases? I cannot find any information about accessing DB2/400. Robert View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822930#3822930 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822930 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss Clustering is the Coolest Thing Ever
Hi I am new to jboss clustring , can you help me in configure. i have created two jboss3.2.3 instances on linux machine. all and all1 . when i start both instances, nodes are identifing, but when i shutdown any one one server, request is not going to another instance, please help urgent View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822931#3822931 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822931 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: JBoss Clustering is the Coolest Thing Ever
Hi I am new to jboss clustring , can you help me in configure. i have created two jboss3.2.3 instances on linux machine. all and all1 . when i start both instances, nodes are identifing, but when i shutdown any one one server, request is not going to another instance, please help urgent this is my mail id [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822932#3822932 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822932 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] [Installation Configuration] - Can't shutdown when running multiple instances
Have you tried shutting down with host:port? shutdown.sh --server=sandbox:1098 -Original Message- From: dbronk [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 6:56 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] [Installation Configuration] - Can't shutdown when running multiple instances Windows 2000 server JBoss 3.2.3 Setup my service-binding.xml as in the example and it is working great. My basic setup is that I have the default server setup in the service-binding.xml and for each additional instance I need I simply copy the default server and paste it in the same file, then change the name and simply increment each port by 100 from the last. Again, starting up multiple instances works great. Example: Default naming port 1099, default rmi port 1098 defaultE2RD naming port 1199, defaultE2RD rmi port 1198 My problem is shutting down. The only option for me is ctrl+c but that sucks as I want to have scripts to deploy, stop, start, etc. The shutdown command I enter is: C:\jboss-3.2.3\bin\shutdown.bat --server=defaultE2RD Note: I also don't know the command to stop/start remotely. The exception I get is below Note: it is trying to connect to defaultE2RD:1099, it should use the service-binding.xml and connect to defaultE2RD:1199 What do I need to enter for shutdown? Added bonus... How to do it remotely? Thanks, Dale 10:33:00,231 WARN [NamingContext] Failed to connect to defaultE2RD:1099 javax.naming.CommunicationException: Failed to connect to server defaultE2RD:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server defaultE2RD:1099 [Root except ion is java.net.UnknownHostException: defaultE2RD: defaultE2RD]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:215) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1181) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jboss.Shutdown.main(Shutdown.java:182) Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server defaultE2RD:1099 [R oot exception is java.net.UnknownHostException: defaultE2RD: defaultE2RD] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:190) ... 5 more Caused by: java.net.UnknownHostException: defaultE2RD: defaultE2RD at java.net.InetAddress.getAllByName0(InetAddress.java:1011) at java.net.InetAddress.getAllByName0(InetAddress.java:981) at java.net.InetAddress.getAllByName(InetAddress.java:975) at java.net.InetAddress.getByName(InetAddress.java:889) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.ja va:61) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:186) ... 5 more Exception in thread main java.lang.ClassCastException at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:986) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1192) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jboss.Shutdown.main(Shutdown.java:182) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822900#3822900 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=382290 0 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56alloc_id438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET SOAP] - Changing targetNamespace in WSDL
I have a stateless session bean and use JBOSS-NET to make this bean accessible as a web service. When I look at the generated WSDL in the definitions tag there stands LOCALHOST instead of my server name in all tags (f.e. targetNamespace). How can I change this? I want my server name or ip adress in here. Can you help me? Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822935#3822935 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822935 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Limiting the total memory used by queues.
Hi, I would just like someone to confirm how I specify an exact maximum limit of memory that queued JMS messages should use. I currently have three separate queues all of which store messages using the JDBC persistence manager into a local Firebird database. Do I just need to change the 'org.jboss.mq.server.MessageCache' bean in the jmsmq-service.xml? i.e. The HighMemoryMark, and MaxMemoryMark attributes of this mbean. Also when the messages are swapped out of memory when these limits are reached will they be stored into the currently configured 'PersistenceManager' mbean which is my file in the JDBC one? Because this doesn't seem right because my messages are already in the database as they are durable. Could someone advise me on this? thanks, Jeff. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822936#3822936 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822936 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: FAQ - Read this second
Question: What vendor specifc properties does JBoss provide? Answer: As of 3.2.2 JBoss provides properties for scheduled delivery and redelivery control. See the following link for more information. http://sourceforge.net/tracker/index.php?func=detailaid=744455group_id=22866atid=381174 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822938#3822938 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822938 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Getting new UserTransaction and it is alread marked for roll
Hi all, I have the following code in a server side testcase (cactus): | this.userTransaction = (UserTransaction) getInitialContext().lookup(java:comp/UserTransaction); | System.out.println(Returned user transaction has status + this.userTransaction.getStatus()); | Most of the time this goes fine and I can see status 6 (STATUS_NO_TRANSACTION). Other times however, the status is 1 (STATUS_MARKED_ROLLBACK) as if I am reusing a UserTransaction from a previous test case that was marked for rollback. I am quite sure that the previous test case has rolled back the transaction (does that in tearDown). The problem is that I get an exception when I try to start the transaction. Can anybody help me out here? Many thanks, Rudi. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822937#3822937 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822937 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: New Scheduled Message Delivery Help
I added the link to the FAQ since you guys since can't seem to find the search function. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822939#3822939 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822939 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: New Scheduled Message Delivery Help
Adrian, I am sorry what is the FAQ you are referring to? Thank You, Sanjeev View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822940#3822940 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822940 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET SOAP] - Re: Java Client - JBoss / AXIS - Stateful EJB ?
If you are using JBoss.Net you can add the scope attribute to the @jboss-net.web-service tag something like | * @jboss-net.web-service | * urn=MyStatefullService | * scope=Session | * expose-all=true | Then you just have to maintain the session cookie that axis returns. If you are just using Axis without the JBoss.Net portion, perhaps adding a scope parameter to your service in the deployment descriptor will help you out | service name=MyStatefullService provider=Handler | parameter name=scope value=Session/ | . . . | requestFlow name=MyStatefullServiceRequest | . . . | /requestFlow | responseFlow name=MyStatefullServiceResponse | . . . | /responseFlow | /service | You still have to maintain (return) the cookie on the client side. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822941#3822941 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822941 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: During startup server tries to load all messages in a JM
It is not on my list for 3.2.4 (but I would like to have this feature). The fundamental problem is that the list of messages in JBossMQ's queue/subscriptions are entirely within memory (the messages are not). This is compounded by the fact that to construct those datastructures at a restart it must at reload all messages into memory (no matter how temporarily). Can you provide the example config for sybase? Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822942#3822942 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822942 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Connectors and JCA/JBoss] - Re: JBoss Connection Pool for non-DB resource
For what? The short answer is you write and deploy a resource adapter - a .rar Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822943#3822943 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822943 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: TCPGOSSIP clustering problem with server restart
Thanks Bela for the answer and for the tips. If I find time, I'll build the latest jgroups.jar and test with it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822944#3822944 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822944 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - transactio stopped in another thread ...
is it possible to stop a transaction started in a thread in another thread? i know that makes no sense, but would it be possible to do ?? and if so, how ?? thanx View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822945#3822945 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822945 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET SOAP] - Re: Changing targetNamespace in WSDL
That stuff is controlled in the jbossnet module of the ejbdoclet (in your build.xml file) So if you have something like: | jbossnet xmlencoding=UTF-8 | destdir=/META-INF/ | webDeploymentName=MyServices | targetNameSpace=http://my.url.org/Some/Path; | prefix=mine | / | It should give you | deployment | name=MyServices | xmlns=http://xml.apache.org/axis/wsdd/; | targetNamespace=http://my.url.org/Some/Path; | xmlns:mine=http://my.url.org/Some/Path; | xmlns:java=http://xml.apache.org/axis/wsdd/providers/java; | In your .wsr file. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822946#3822946 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822946 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Re: datasource packaged in a SAR howto
myds-ds.xml Then put your -ds.xml in the ear. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822947#3822947 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822947 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: How to read *.properties files?
Hello! Thanks a lot for your replies! I'm using environment variables in my deployment descriptor, now. They have the disadvantage, that I cannot change them runtime within an EJB, but I think that I can live with that. But what is a singleton or some other application config object? Could you render that more precisely, please? Thanks a lot! Best regards, Marco :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822948#3822948 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822948 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Datasource Configuration] - Re: CANNOT lookup on a datasource
Correct in jboss-3.2 the datasources are not available outside the virtual machine. Although it is convenient, it does not scale and it is a potential security problem. There is code in jboss4 to do this, but I still wouldn't recommend it. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822949#3822949 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822949 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Limiting the total memory used by queues.
Messages are not durable. Subscriptions are durable. Messages can be persistent. If your message is persistent and the subscription is durable, the MessageCache will have little todo. It will just drop the message from memory since it is already persisted in the db. I suggest you use search where you will find the algorithm explain in detail many times. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822950#3822950 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822950 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - different passwords for different connections
Hello *! I'm having the following scenario: One client connects to one jboss server and instanciates a session bean. This sessionbean can now communicate to many other jboss servers (including localhost). For every connection, different usernames/passwords are required. When I'm writing the client side, I'm defining a LoginContext and I write an own ClientLoginModule. But I never link this LoginContext to my InitialContext. Thus, I don't understand, from where does JAAS know that it should use this LoginContext? And if I define more than one LoginContext, how does JAAS know which InitialContext should use which LoginContext? Thousand thanks in advance for your help! Best regards, Marco. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822952#3822952 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822952 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: New Scheduled Message Delivery Help
It is the sticky topic at the top of this forum marked FAQ: Read this second http://www.jboss.org/index.html?module=bbop=viewtopict=43817 Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3822953#3822953 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3822953 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user