[JBoss-user] [Messaging, JMS & JBossMQ] - Re: java.net.SocketException: Connection reset
If you'd search this forum, you would know that I get very annoyed when people post this error message. I even added a section to the FAQ java.net.* == network problem NOT jms problem java.net.SocketException is a network error Connection reset means the other end of the connection died suddenly. Sadly you are far from the first to ask this question and you won't be last to waste my time by not using search. I'm of a mind to convert all java.net messages into "Your network is broken or the client/server died" just to avoid this question. But this would make it harder for those people who know what the errors mean. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832038#3832038 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832038 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: jdbc not bound
Try the following XDoclet snippet: * @ejb.resource-ref res-auth="Application" | * res-name="jdbc/FooDS" | * res-type="javax.sql.DataSource" | * @jboss.resource-ref res-ref-name="jdbc/FooDS" | * jndi-name="java:/FooDS" The JNDI binding for your datasource is "java:/FooDS" as given by the JNDI-name, "FooDS" in the datasource definition (*-ds.xml). The res-ref-name, "jdbc/FooDS" expands to the full reference "java:com/env/jdbc/FooDS". Hope that helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832037#3832037 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832037 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - java.net.SocketException: Connection reset
Hello, When running MDB following error occurs: 06:33:17,937 WARN [OILServerILService] Connection failure (1). java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) at java.io.BufferedInputStream.read(BufferedInputStream.java:201) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133) at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313) at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380) at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452) at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601) at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845) at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:206) at java.lang.Thread.run(Thread.java:534) - Bean code is: /** * @author Administrator * * @ejb.beanname = "MdExample" * destination-type = "javax.jms.Topic" * * @jboss.destination-jndi-name name = "topic/TestTopic" * */ public class MdExampleBean implements MessageDrivenBean, MessageListener { protected MessageDrivenContext ctx; /** * * @return * @throws javax.ejb.CreateException * * @ejb.create-method */ public void ejbCreate() { System.out.println("C> ejbCreate()"); }//F:end public void ejbRemove() throws EJBException { System.out.println("E> ejbRemove()"); }//F:end public void setMessageDrivenContext(MessageDrivenContext ctx) throws EJBException { System.out.println("E> setMessageDrivenContext(MessageDrivenContext ctx)"); this.ctx = ctx; }//F:end public void onMessage(Message msg) { System.out.println("E> onMessage(Message msg)"); if (msg instanceof TextMessage ) { TextMessage tm = (TextMessage) msg; try { String text = tm.getText(); System.out.println("A> " + text); } catch (JMSException e) {} } }//F:end } - I searched the web but found nothing about this error. JBoss version is 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445). Jboss is running on MySQL server. Regards Robert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832036#3832036 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832036 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Out of Memory error
Not a JCA question. You already posted this in the correct forum "Clustering". DO NOT CROSS POST You are unlikely to get many useful answers with such scant details. See the "READ THIS FIRST" in this forum on how to ask questions in a way that will get you an answer. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832034#3832034 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832034 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Out of Memory error
When i tried to hot deploy an ear file (consists of four jars and a war, compressed form) in the farming, JBoss throws java.lang.OutOfMemoryError after the deployment of the ear file. Also I could not see any deployment / error message in the other machine running under cluster mode. where as i can see other ear files get deployed in both the machine when i do the hot deployment in single machine. Any help is appreciable. Thanks, Kumar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832033#3832033 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832033 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: JRMPInvoker in EJB Container, I'd like to know the detai
A JRMPInvoker (Service MBean, RemoteServer, etc) is plugged into the JMX spine and sits there listening for remote invocations and putting them on the invocation bus. It's server-side. The client-side object that starts the invocation sequence is a dynamic proxy, created by a JRMPInvokerProxy MBean. The dynamic proxy gets on the client because the client process looks it up in JNDI and downloads it. Once downloaded, the client process could use it by calling a method on it. The dynamic proxy's invocation handler applies a whole chain of client-side interceptors on the Invocation, and the last interceptor in the chain happens to be an InvokerInterceptor that knows how to call the JRMPInvoker (via JRMPInvokerProxy) over RMI/JRMP. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832031#3832031 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832031 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - OutOfMemory exception on a 2 node cluster freezes the cluste
I have a 2 node cluster - one of the nodes has more system memory than the other one. Today, the node with the less memory threw a OutOfMemory exception. The result was that the entire cluster became unresponsive even though the node with more memory had enough available memory. The desired behavior is of course for the node that is not out of memory to recieve the requests. This was not happening. I brought down the node that was out of memory and everything was ok after that - requests were being honored by the remaining node. This is with JBoss 3.2.3 Please investigate and fix. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832030#3832030 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832030 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: jdbc not bound
Try something like this in ur ejb-jar.xml jdbc/FooDS javax.sql.DataSource Container Shareable and in jboss.xml jdbc/FooDS Actual JNDI Name View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832029#3832029 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832029 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Remote server connection problem
I had been setting the properties through the JNLP, and then through the lib/jnpi.properties file for the command line test. I removed those, and tried a command line test using the example code you gave. The first time was a timeout, after I forgot to change the server name (oops) but after fixing that, the result was another connection refused from 127.0.0.1. This happened with both the HTTPS and JNP interfaces. What I think is happening is that it's looking up the EJB, and the server is telling it to get it from 127.0.0.1, rather than from the server's local network address ... playing with it while replying ... BINGO. :-D While digging around looking for answers, I found that the server was in fact resolving itself to the external (nat'd www) IP address. This meant that the address used for this stuff couldn't get past the firewall. I noticed this while shutting down the server, it said the name wasn't bound. So as far as JBoss was concerned, it couldn't access 210.x.x.x, and it never knew about 192.168.0.10, so sending 127.0.0.1 was a perfectly resonably thing to do :-/ I'd actually fixed this yesterday while the server was up, but it didn't re-bind, so the fix didn't really get fixed until I restarted JBoss. Oops. Thanks for the help folks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832026#3832026 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832026 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: HTTPS and JBoss
Also, have a look at the last section of Chapter 8 in the JBoss Book. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832024#3832024 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832024 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - JRMPInvoker in EJB Container, I'd like to know the detail in
Hi , everyone, I am reading the source code of JBoss 3.2.3. But I am confused for JRMPInvoker. As we known, there is a communication object named JRMPInvoker, which is a ServiceMBean, stands in the server side and listens request from clients. And server assembles a dynamic proxy for clients to send invocation. There is an object named JRMPInvokerProxy inside the dynamic proxy responsible for concrete communication. It is strange that what the JRMPInvokerProxy invokes in client side is JRMPInvoker itself according to source code. But JRMPInvoker should be an object in the SERVER SIDE! It looks up Registry, which is inside the application server, for a corresponding EJB container and forwards the invocation to the container. I canÂt believe my eyes and check again. But it is true that the JRMPInvokerProxy invokes a member variable named remoteInvoker which type is Invoker. The remoteInvoker is initialized to JRMPInvoker in the constructor of JRMPInvokerProxy in server side. (JRMPInvoker.java line 387) I suppose that what the JRMPInvokerProxy invokes is not the really JRMPInvoker but a stub because JRMPInvoker extends RemoteServer. But I can not find enough evidence to prove it. Does anyone have some idea? Any help is appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832021#3832021 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832021 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Won't use manually generated CMP primary keys.
I can create Long primary keys on mySQL using auto-increment fields. For one table, I need to generate the Long number myself. If I disable auto-increment, I get getGeneratedKeys returned an empty ResultSet If I enable auto-increment for the primary key, JBoss ignores the id I set in ejbCreate and uses its own. JBoss is clearly generating the next id for use but I don't want it to. How do I tell JBoss to stop, without resorting to BMP? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832020#3832020 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832020 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Unable to compile class for JSP.
You forgot to include <%@ page language="java" import="java.util.*, yourpackageforclass.UserDate" /> tag. this tag must come before tag. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832017#3832017 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832017 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: Integrate Axis 1.2 with JBoss !!
Axis 1.2 is already in JBoss4 (head) as it is required for WSS (wss47j) and Web Service Addressing. It is a simple matter to backport it to JBoss3.2.x however it hasn't been done mostly because there isn't an official release yet. There is some API change in Axis 1.2 that requires some change in the JBoss.Net classes but I think it is really only a few lines of code. -jason View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831952#3831952 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831952 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: [ERROR] NAKACK.handleXmitReq()
Okay, I fixed the ConcurrentModificationException, fix is in head and 3.2 I also think I fixed the NAKACK problem (in JGroups head). Anyone who wants to try this out, please check out the latest JGroups CVS and give it a shot. If this turns out to fix the bug, I'll create a new kgroups.jar and update JBoss head and 3.2. Bela View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832016#3832016 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832016 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - EJB-QL Jboss 3.2.3 error:
Hi, If i put even simple SELECT statement in ejb-ql i am getting error... Thanks in adavance.. 15:12:26,069 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=crimeportal/Location,service=EJB org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT DISTINCT underling.organization.theBoss FROM gangster underling WHERE underling.name = ?1 OR underling.nickName = ?1'; - nested throwable: (java.lang.NoSuchMethodError) at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:50) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:59) at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:212) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:490) 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 java.lang.reflect.Method.invoke(Native Method) 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 java.lang.reflect.Method.invoke(Native Method) 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 $Proxy31.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:331) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at java.lang.reflect.Method.invoke(Native Method) 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 java.lang.reflect.Method.invoke(Native Method) 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.deploy(MainDeployer.java:642) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at java.lang.reflect.Method.invoke(Native Method) 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 $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191) + nested throwable: java.lang.NoSuchMethodError at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.visit(JDBCEJBQLCompiler.java:932) at org.jboss.ejb.plugins.cmp.ejbql.ASTSelect.jjtAccept(ASTSelect.java:25) at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.visit(JDBCEJBQLCompiler.java:487) at org.jboss.ejb.plugins.cmp.ejbql.ASTEJBQL.jjtAccept(ASTEJBQL.java:23) at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.compileEJBQL(JDBCEJBQLCompiler.java:148) at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:42) at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:59) at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQuer
[JBoss-user] [Beginners Corner] - Re: Unable to access MySQL datasource
So just to get this straight: If i use the datasource binding with a command line application i'm wasting my time. There's no way? And also, if i am using the datasource from within a bean, as defined above, i need to use it as java:comp/evn/jdbc/MySQLDS ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832013#3832013 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832013 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: MBean depends on ExternalContext ?
| jboss.jndi:service=ExternalContext,jndiName=external/JNDI | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832012#3832012 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832012 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - MBean depends on ExternalContext ?
Hi all, Is it possible a MBean depends on ExternalContext ? I have a MBean which depends on ExternalContext, defined in my jboss-service.xml, as shown below : ... jboss.jndi:service=ExternalContext ... The ExternalContext MBean is setup in /default/deploy/user_service.xml as : ... external/JNDI /conf/extjndi.properties javax.naming.directory.InitialDirContext ... The Properties file ( in /default/conf ) is look like this : java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory java.naming.provider.url=file:///usr/local And the structue of my sar is : META-INF/ META-INF/MANIFEST.MF example/ example/jmx/ example/jmx/ExtJNDIManager.class example/jmx/ExtJNDIManagerMBean.class META-INF/jboss-service.xml When I deploy my sar, I got an Incomplete Deployment error : ... [org.jboss.management.j2ee.factory.ServiceModuleFactory] Create MBean, name: nusa:service=ExtJNDIManager, SAR Module: jboss.management.local:J2EEServer=Local,j2eeType=ServiceModule,name=ExtJNDI. sar 15:33:02,505 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: ExtJNDI.sar 15:33:02,505 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/Java/Software/jboss-3.2.4RC2/server/default/deploy/ExtJNDI.sar 15:33:02,505 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/Java/Software/jboss-3.2.4RC2/server/default/deploy/ExtJNDI.sar -> file:/C:/Java/Software/jboss-3.2.4RC2/server/default/deploy/ExtJNDI.sar 15:33:02,505 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: MBeans waiting for other MBeans: ObjectName: nusa:service=ExtJNDIManager state: CONFIGURED I Depend On: jboss.jndi:service=ExternalContext Depends On Me: MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: ObjectName: jboss.jndi:service=ExternalContext state: NOTYETINSTALLED I Depend On: Depends On Me: nusa:service=ExtJNDIManager The code for ExtJNDIManager is shown below : public class ExtJNDIManager extends ServiceMBeanSupport implements ExtJNDIManagerMBean { /** * */ public ExtJNDIManager() { log.info("=== ExtJNDIManager.Constructor ..."); } /** * */ public void startService() throws Exception { log.info("=== ExtJNDIManager.startService()"); } /** * */ public void stopService() throws Exception { log.info("=== ExtJNDIManager.stopService()"); } } The startService() is never called, only constructor(). What's wrong with my sar ? What am I missing ? Why startService() never get called ? Thanks for any help, nusa View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832010#3832010 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832010 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Unknown-PK Problems...
Yes, CMR and unknown-pk are distinct concepts, but they could interact in practice because CMR creates foreign key relationships and thus uses the pk of the entity at the other end of the relationship. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832009#3832009 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832009 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Calling a MBean from the server side.
Why is all that necessary? If all you want to do is invoke an MBean from within an EJB or another MBean, you can just do a simple lookup on the MBean, right? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832008#3832008 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832008 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBOSS hangs after contineous running for about 2 weeks
set JAVA_OPTS = "-Djava.io.tmpdir= your folder" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832006#3832006 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832006 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: SRP authentication is missing Base64Encoder
Hi! VBN Developer, Hi! Dude are you by any chance trying to call a toString() on the Subject (javax.security.auth.Subject). In that case it does throw this error. As per my understanding jboss-client.jar does not have Base64Encoder. So hope this helps! See ya! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832004#3832004 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832004 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - optimistic locking, finder/ejbselect/ejbstore(), and version
Hey all, I've been attempting to get optimistic locking to work (think value-object pattern). This is what I have tried so far: @ejb.bean use-soft-locking="true" -looks like will be depreciated anyhow @jboss:optimistic-locking modified-strategy="true" -and @jboss:optimistic-locking version-column="true" column-name="version" I would like to see a version field that gets incremented only when the data is changed (i.e. a 'setXXX' is used). The use-case is the value-object pattern where multiple value objects may be out at one time, one value-object may changed and allow it to update the data if it hasn't been previously changed. Instead, I'm getting incrementation every time a finder or an ejbSelect is being called. This breaks the value-object pattern as if I get the first object to read, no prob. Get second object to read, no prob. Send a change to the first object back - breaks as since the second object was retrieved via finder and NOT changed, the version field is still incremented and the first object can't update changes as it things the data it had is stale. Any ideas please? -D View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832003#3832003 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832003 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: SRPCacheLoginModule using wrong sessionID for 2nd login
Found and solution to this problem really nasty one! Multiple logins(ie setting multiple session = true in the auth file) does not work for SRP if you want the solution please contact bye emailing [EMAIL PROTECTED] or [EMAIL PROTECTED] Thanks! (HURRRAY!...) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832002#3832002 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832002 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: jdbc not bound
Ummm... if you have a look you'd notice that the postgres-service.xml I posted IS the example postgres-ds.xml with the relevant bits changed and some comments removed for brevity. Also, I should point out that I am avoiding entity beans in favour of DAOs and such don't have a jbosscmp-jdbc.xml file to use. In fact, I am using XDoclet to do the EJB and XML generation. There is a configuration option you can use to specify datasources but it doesn't appear to be working. I shall direct the question at the XDoclet mailing list. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831998#3831998 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831998 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: jsp syntax question
And this is not a parameter. This is an attribute. I guess, we are going off-topic, as this is just a basic jsp stuff, and not JBoss related one. If you have any such questions, it is better to ask me by e-mail: [EMAIL PROTECTED] Vlad View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831997#3831997 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831997 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Strange behaviour in non-tx DataSource, when a transacti
So you report a bug that has already been fixed, but then claim you cannot upgrade because of a bug you haven't reported. I suppose that makes sense in some twisted sort of logic. Yes, I am rude. But only to time wasters. I consider that even more rude. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831996#3831996 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831996 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: jsp syntax question
ok would you take a look at what I have now and tell me why I cannot get the parameter in the jsp page. Here is the code for my serletpackage nnet; | | import javax.servlet.*; | import javax.servlet.http.*; | import java.io.*; | import java.util.*; | import java.security.Principal; | | /** | * Title: NNET | * Description: Northland Intranet | * Copyright: Copyright (c) 2004 | * Company: NMI | * @author not attributable | * @version 1.0 | */ | | public class home extends HttpServlet { | | | //Initialize global variables | public void init() throws ServletException { | } | | //Process the HTTP Get request | public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { | | Principal user = request.getUserPrincipal(); | String username = user.getName(); | | | | request.setAttribute("username",username); | RequestDispatcher rd = | request.getRequestDispatcher("home2.jsp"); | rd.forward(request, response); | | } | | //Clean up resources | public void destroy() { | } | } | and here is the code for the jsp<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %> | <%@ taglib uri="http://java.sun.com/jstl/sql"; prefix="sql" %> | <%@ taglib uri="http://java.sun.com/jstl/xml"; prefix="x" %> | | | | | index | | | | | | | | | | Welcome to NNET ${username} | | | | | | | | | | | | | | | What is teh syntax to get the jsp page to read the parameter from the servlet?? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831994#3831994 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831994 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Strange behaviour in non-tx DataSource, when a transacti
Adrian, I can't stand anymore your comments in these forums. If 3.2.3 was not full of bugs, we would be able to upgrade. I've been reading you for months and I can say one thing for sure; you are rude. We've been using 3.2.0RC1 for months and there is no way we can move forward to another release since JBossCMP in 3.2.1, 3.2.2 and 3.2.3 returns invalid data after a random period of time. This is a showstopper. BTW, You are Director of Support, never forget what your role is... Joe View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831992#3831992 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831992 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Rolback Problem
I tried both of these suggestions - throwing an EJBException and calling setRollbackOnly on the EJBContext at the end of createFoo(). In both cases a TransactionRolledbackLocalException is generated, but the creation of the Foo entity bean is NOT rolled back in the db. So then I figured it might be something in the way that our mysql was configured. When I ran the mysql admin tool, I found that the table_type (ie., storage engine) comes up myisam which does not support transaction rollbacks. Remember that 4.X versions of mysql ship with innodb and bdb starage engines which do support transactions. Can this be the problem or does JBoss reset the storage engine? I suppose what I'm asking is whether there is some required or preferred mysql configuration for transactions or whether the JBoss just handles this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831990#3831990 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831990 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: error on connection.close()
The interrupted exception is how it stops the thread internally. See ReadTask.stop() or WriteTask.stop() You should not leave it to the garbage collector, that is a guaranteed mechanism to leave sockets open and run out of client sockets to bind to. The gc is only guaranteed to run when you are running out of memory, not running out sockets. Besides, jbossmq's Connection implementation has no finalize() { this.close(); } it wouldn't work because the connection is hard referenced by the ping clock daemon (it would never get called). Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831989#3831989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831989 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - error on connection.close()
I have an MDB that sends a messaeg to another JMS Queue. When I do a QueueConnection connect.close() on the SENDING MDB I find that I get the following exception on the RECEIVING MDB: 2004-04-22 14:07:31,384 TRACE [org.jboss.mq.il.uil2.SocketManager] WriteTask was interrupted | java.lang.InterruptedException | at EDU.oswego.cs.dl.util.concurrent.LinkedQueue.take(LinkedQueue.java:106) | at org.jboss.mq.il.uil2.SocketManager$WriteTask.run(SocketManager.java:473) | at java.lang.Thread.run(Thread.java:534) | 2004-04-22 14:07:31,384 DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run | 2004-04-22 14:07:31,384 TRACE [org.jboss.mq.il.uil2.SocketManager] Exiting on IOE | java.net.SocketException: socket closed | at java.net.SocketInputStream.socketRead0(Native Method) | at java.net.SocketInputStream.read(SocketInputStream.java:129) | at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) | at java.io.BufferedInputStream.read(BufferedInputStream.java:201) | at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:67) | at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133) | at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313) | at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380) | at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452) | at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601) | at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:278) | at java.lang.Thread.run(Thread.java:534) | 2004-04-22 14:07:31,399 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE | java.net.SocketException: socket closed | at java.net.SocketInputStream.socketRead0(Native Method) | at java.net.SocketInputStream.read(SocketInputStream.java:129) | at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) | at java.io.BufferedInputStream.read(BufferedInputStream.java:201) | at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:67) | at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133) | at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313) | at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380) | at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452) | at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601) | at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:278) | at java.lang.Thread.run(Thread.java:534) | 2004-04-22 14:07:31,399 DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run The receiving MDB processes the message fine, the exception just worries me. If I don't do the connect.close(), the exception does not appear. For now I am not doing the connect.close() and allowing the GC to kill the connection object, but I would rather do this explicitly. I realize its a TRACE level log, so is the exception something I should worry about? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831988#3831988 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831988 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss JMS server hangs after running for an extended per
Just to close this issue: It looks like it was OptimizeIt. As an FYI to everyone, when JBoss crashes it writes a file Hs_err_pidXXX to your directory. Looking at the file, it was obvious what the cause was. I removed the Optimize it libraries from our classpath and it seems to have fixed the lockup problem. Here is our log: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc005) occurred at PC=0x1C5F9A64 Function=oiiGetToolID+0x9904 Library=d:\Borland\JavaStudio\OptimizeitEntSuite\lib\pri.dll Current Java thread: at intuitive.audit.profiler.OIContext.stringBufferAllocatorEntered0(Native Method) at intuitive.audit.profiler.OIContext.stringBufferAllocatorEntered(OIContext.java:257) at java.util.LinkedList$ListItr.(LinkedList.java:468) at java.util.LinkedList.listIterator(LinkedList.java:459) at org.opennms.protocols.snmp.SnmpTimer$Scheduler.run(SnmpTimer.java:159) - locked <0x11060bd8> (a java.lang.Object) at java.lang.Thread.run(Thread.java:534) Dynamic libraries: 0x0040 - 0x00406000 d:\j2sdk1.4.2\bin\java.exe 0x77F8 - 0x77FFD000 C:\WINNT\system32\ntdll.dll 0x7C2D - 0x7C332000 C:\WINNT\system32\ADVAPI32.dll 0x7C57 - 0x7C628000 C:\WINNT\system32\KERNEL32.DLL 0x77D3 - 0x77DA1000 C:\WINNT\system32\RPCRT4.DLL 0x7800 - 0x78045000 C:\WINNT\system32\MSVCRT.dll 0x0800 - 0x08136000 d:\j2sdk1.4.2\jre\bin\client\jvm.dll 0x77E1 - 0x77E75000 C:\WINNT\system32\USER32.dll 0x77F4 - 0x77F7E000 C:\WINNT\system32\GDI32.DLL 0x7757 - 0x775A C:\WINNT\system32\WINMM.dll 0x1000 - 0x10007000 d:\j2sdk1.4.2\jre\bin\hpi.dll 0x007C - 0x007CE000 d:\j2sdk1.4.2\jre\bin\verify.dll 0x007D - 0x007E8000 d:\j2sdk1.4.2\jre\bin\java.dll 0x007F - 0x007FD000 d:\j2sdk1.4.2\jre\bin\zip.dll 0x1C1B - 0x1C1CB000 d:\Borland\JavaStudio\OptimizeitEntSuite\lib\oii.dll 0x1C5E - 0x1C613000 d:\Borland\JavaStudio\OptimizeitEntSuite\lib\pri.dll 0x1CB3 - 0x1CB4C000 d:\j2sdk1.4.2\jre\bin\jdwp.dll 0x6D1D - 0x6D1D5000 C:\Program Files\Oracle\jre\1.3.1\bin\dt_socket.dll 0x7503 - 0x75044000 C:\WINNT\system32\ws2_32.dll 0x7502 - 0x75028000 C:\WINNT\system32\WS2HELP.DLL 0x74FD - 0x74FEE000 C:\WINNT\system32\msafd.dll 0x7501 - 0x75017000 C:\WINNT\System32\wshtcpip.dll 0x20E6 - 0x20F6A000 D:\j2sdk1.4.2\jre\bin\awt.dll 0x7780 - 0x7781E000 C:\WINNT\system32\WINSPOOL.DRV 0x7662 - 0x7663 C:\WINNT\system32\MPR.DLL 0x75E6 - 0x75E7A000 C:\WINNT\system32\IMM32.dll 0x77A5 - 0x77B3F000 C:\WINNT\system32\ole32.dll 0x20F7 - 0x20FC D:\j2sdk1.4.2\jre\bin\fontmanager.dll 0x20FC - 0x20FCF000 D:\j2sdk1.4.2\jre\bin\net.dll 0x782C - 0x782CC000 C:\WINNT\System32\rnr20.dll 0x7798 - 0x779A4000 C:\WINNT\system32\DNSAPI.DLL 0x7505 - 0x75058000 C:\WINNT\system32\WSOCK32.DLL 0x7734 - 0x77353000 C:\WINNT\system32\iphlpapi.dll 0x7752 - 0x77525000 C:\WINNT\system32\ICMP.DLL 0x7732 - 0x77337000 C:\WINNT\system32\MPRAPI.DLL 0x7515 - 0x7515F000 C:\WINNT\system32\SAMLIB.DLL 0x7517 - 0x751BF000 C:\WINNT\system32\NETAPI32.DLL 0x7C34 - 0x7C34F000 C:\WINNT\system32\SECUR32.DLL 0x751C - 0x751C6000 C:\WINNT\system32\NETRAP.DLL 0x7795 - 0x7797A000 C:\WINNT\system32\WLDAP32.DLL 0x779B - 0x77A4B000 C:\WINNT\system32\OLEAUT32.DLL 0x773B - 0x773DF000 C:\WINNT\system32\ACTIVEDS.DLL 0x7738 - 0x773A3000 C:\WINNT\system32\ADSLDPC.DLL 0x7783 - 0x7783E000 C:\WINNT\system32\RTUTILS.DLL 0x7788 - 0x7790E000 C:\WINNT\system32\SETUPAPI.DLL 0x7C0F - 0x7C151000 C:\WINNT\system32\USERENV.DLL 0x774E - 0x77513000 C:\WINNT\system32\RASAPI32.DLL 0x774C - 0x774D1000 C:\WINNT\system32\RASMAN.DLL 0x7753 - 0x77552000 C:\WINNT\system32\TAPI32.DLL 0x77B5 - 0x77BD9000 C:\WINNT\system32\COMCTL32.DLL 0x6318 - 0x631C8000 C:\WINNT\system32\SHLWAPI.DLL 0x7736 - 0x77379000 C:\WINNT\system32\DHCPCSVC.DLL 0x777E - 0x777E8000 C:\WINNT\System32\winrnr.dll 0x777F - 0x777F5000 C:\WINNT\system32\rasadhlp.dll 0x2148 - 0x214C3000 D:\Borland\JavaStudio\OptimizeitEntSuite\lib\auditjni.dll 0x2FC7 - 0x2FC75000 D:\j2sdk1.4.2\jre\bin\rmi.dll 0x62F0 - 0x62F0F000 D:\oracle\ora92\bin\ocijdbc9.dll 0x610A - 0x6113F000 D:\oracle\ora92\bin\oracore9.dll 0x612A - 0x61319000 D:\oracle\ora92\bin\oranls9.dll 0x613A - 0x613B1000 D:\oracle\ora92\bin\oraunls9.dll 0x6060 - 0x60784000 D:\oracle\ora92\bin\
[JBoss-user] [JBoss.NET & SOAP] - Re: Integrate Axis 1.2 with JBoss !!
"kkanagaraj" wrote : Hi Jason, | Thanks for your suggestion !. | | 1. Are you sure that Jboss 4 has implemented Axis 1.2, coz axis 1.2 itself in a beta version. Yup, I put it there myself :-) "kkanagaraj" wrote : | 2. I tried installing Axis 1.2 on JBoss 3.2.3: | - In default mode of server, I copied Axis.war into deploy directory and tested, its working fine.. That should always work, As long as you haven't moved the JBoss.Net stuff, Axis will work on its own. "kkanagaraj" wrote : | - In All mode of server, I have to integrate with Jboss.net, so I just copied the all the jar files (axis.jar,commons-logging,etc..) into jboss-net.sar and started the server.. Without editing the JBoss.Net source in the 3.2.x branch you won't have much success with that. and you can't move the JBoss.Net stuff from 4.x back to 3.2.x either. "kkanagaraj" wrote : | Iam sure, as u said, I need updated version jboss-net.jar !!. Just thinking what to do now, whether to go for JBoss 4.0 or run the JBoss 3.2.3 in default mode and use Axis 1.2. | If you are not in a production environment, the easiest thing to do would be to just checkout jboss-head from cvs and build that. It does include Axis 1.2 and a JBoss.Net that works with it. -jason View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831986#3831986 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831986 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Problem when starting JBOSS on Unix
Try a 1.4 JDK or I think JBoss might need to be compiled with the 1.3 JDK View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831985#3831985 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831985 --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: HTTPS and JBoss
The following assume the usage of JBoss 3.2 (I'm using 3.2.3): Add the following section to your $JBOSS_HOME/server/$CONFIG/deploy/jbossweb-*/META-INF/jboss-service.xml | | | | Just fill in the IP, path to the keystore, and the password for the keystore. If you did not use Java to generate the keypair and cert you'll need to import your private key in to the keystore which can be a pain. You can google for a solution to that though. There are tools out there that do it. I'll try to remember to ask our guy here which tool he uses and post it back here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831982#3831982 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831982 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: HTTPS and JBoss
the wiki is your friend: http://jboss.org/wiki/Wiki.jsp?page=SSLSetup View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831981#3831981 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831981 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: jboss323 tomcat5 directory listing false, I still see di
Sure :) I dont have jboss now in front of my eyes but you should go to $JBOSS_HOME/doc/examples/tomcat (something like that) you will have there an ant script somethign with a name like bla-tomcat5-bla.xml run it with ANT and you'll have another configuration tomcat5 for you ready ! as easy as that! :) Anyone has an answer to the question I posted in that thread? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831979#3831979 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831979 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss on 4-Way Itanium2 64-Bit Server VM
thnx.. that just saved my life - View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831977#3831977 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831977 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Deploy Order - how?
sars will allows be deployed first (unless using the PrefixSorter deployer). can you repost your jboss-service.xml file (wrap it in a code block pls) and also post the jndi name(s) of the ejb(s) you are trying to look up. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831976#3831976 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831976 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Deploy Order - how?
Hello, I am having difficulty with the tags my sars jboss-service.xml file: jboss:j2ee:jndiName=ejb/SystemSettingBeanLocal,service=EJB jboss:j2ee:jndiName=ejb/SessionManagerBeanLocal,service=EJB As you can see I have tried a couple different ways to try an persuade the deployer to load my sar file after the EJBS, but so far no luck. The sar file is always deployed first and consequntly I get an ejb not bound NamingEcxception and the entire EAR fails to deploy. The sar file is deployed inside an exploded ear, the sar file itself is archieved. I am using Jboss 3.2.3. Any suggestions? Hoos View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831974#3831974 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831974 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - SSLB's and MBeans
hi all, i'm new to JBX so apologies if this question sounds niave. I've an application which has a number of stateless session beans running the business logic. I'd like to expose some of the methods on these beans to JMX so that i can manage the beans when they are deployed. However, i can' t seem to deploy the mbeans ;-( I've the session beans and mbean interfaces packages into a jar file and this jar file along with the corresponding jboss-service.xml file are packaged into a .sar. When i deploy the .sar i get the following error : 2004-04-22 15:19:32,639 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/home/codea/applications/jboss-3.2.3/server/gmmh_node1/tmp/deploy/tmp31660gmmh.ear-contents/gmmh-mbean.sar org.jboss.deployment.DeploymentException: create operation failed for package file:/home/codea/applications/jboss-3.2.3/server/gmmh_node1/tmp/deploy/tmp31660gmmh.ear-contents/gmmh-mbean.sar; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.InstantiationException)) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor20.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 $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191) Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.InstantiationException) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:139) at org.jboss.system.ServiceController.install(ServiceController.java:225) at sun.reflect.GeneratedMethodAccessor18.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 $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183) ... 16 more if i convert the session bean into a plain java file it seems to work fine but this is not ideal as i need the other features of session beans. so my question is, is what i'm attempting possible/a good idea or are SSLB's just not mbeanable?? thanks in advance, colum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831972#3831972 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831972 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: New to JBOSS and EJBs
Yes, see docs link above. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831971#3831971 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831971 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - HTTPS and JBoss
Can somebody point me to the documentation for the configurations to enable https, or provides some hints on how. Thanks in advance. Alan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831970#3831970 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831970 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBOSS hangs after contineous running for about 2 weeks
Lothar, I have got the same problem couple of times. Iam using jboss on windows 2000. I found a tmp folder under the server directory, and that folder contains some temp jar files which were created by the server. is there any way to configure so that it does use a different folder instead of the tmp folder. Thanks for your time. cheers ganesh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831968#3831968 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831968 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Unable to access MySQL datasource
As KabKhan said, java:/ namespace is not available of the JVM in which it is deployed. If you need ur commandline client to work, use java:/ namespace and if u wnt to lookit up from within ur JVM, define a resource-ref in the deployment descriptor(lookup DTD of web.xml or ejb-jar.xml for a how-to) and use the java:comp/env/jdbc/RefName View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831967#3831967 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831967 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - New to JBOSS and EJBs
Hi, I am new to JBOSS and ejbs, is there a tutorial i can follow to deploy EJB's in jboss... Please let me know. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831966#3831966 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831966 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss 3.2.3 : Getting a javax.naming.NameNotFoundExcepti
Ok, fair enough Adrian, sorry for this newbie mistake. I'll try to be more precise this time. Meanwhile typing this post, I have just read carefuly the log file and discovered that I had accidently copied my ejb jar file also in the /deploy/jbossweb-tomcat41.sar directory, which caused the problem. Now it works ! Sorry again for calling help while It was just about an unfotunate windows drag'n'drop. Regards, Gregory View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831965#3831965 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831965 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBoss 3.2.3 : Getting a javax.naming.NameNotFoundExcepti
Quoted from "READ THIS FIRST" (my highlighting) Try to keep your posts short but relevent. 1) Post relevent configurations, but not everything. 2) Post full exception traces (often the real exception is embedded at the end of the stacktrace) 3) Look for relevent exceptions BEFORE the exception you are reporting. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831964#3831964 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831964 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - JBoss 3.2.3 : Getting a javax.naming.NameNotFoundException:
Hi Jboss fellowship, If only I hadn't changed anything since this morning... I wouldn't bother you with my post ! I am getting an exception at server startup : 16:46:25,904 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss.j2ee:jndiName=local/SIPReceiver,service=EJB state: FAILED I Depend On: Depends On Me: javax.naming.NameNotFoundException: DefaultJMSProvider not bound] 16:46:25,904 INFO [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL 16:46:25,964 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.2.3/server/default/conf/jboss-service.xml ** I have a MDBean and a Queue setup on my server. The funny thing is that it used to work fine this morning, but I must have change something, because now It doesn'r work. I've searched the post, and made sure the "RecursiveSearch" is set to True in the jboss-service.xml, but it didn't help. I will appreciate any help. Thanks, Gregory View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831963#3831963 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831963 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Nukes Portlet and Remote Scripting?
Now "iframe" tags are allowed in the spec errata : http://www.jcp.org/aboutJava/communityprocess/final/jsr168/Portlet_Specification_Errata.html anonymous wrote : | Issue 7 | | iframe Tag | | Portlet specification forbids portlet to generate HTML fragment using iframe tag. ÃÂFurther discussion leads to the conclusion that iframe tag can be used, though it must be used with caution. | | Resolution | | PLT.B Markup Fragments | | [This section replaces line 9-10 on page 113 in the Portlet 1.0 specification, iframe is removed from the list of must not use tags and extra caution is listed] | | | Portlets generating HTML fragments must not use the following tags: base, body, frame, frameset, head, html and title. iframe tag can be used, however it must be used with caution. The usage of the iframe tag should not break the portal paradigm. | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831962#3831962 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831962 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: Integrate Axis 1.2 with JBoss !!
Jason, Check this link: http://www.jboss.org/index.html?module=html&op=userdisplay&id=developers/projects/jboss/dotnet It clearly states that Jboss3.2.*, Jboss 4.0 and Head all implements Axis 1.1. Are you really sure that Jboss 4.0 implements Axis 1.2 ?? thanks, -kannan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831960#3831960 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831960 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: After redeployment jndi lookup gets ClassCastException
turn on classloader debugging (insert the following into your log4j.xml file) | | | | | | | | | | | | if you have the jboss admin book, this is talked about in chapter 2 and it explains how to use the jmx console to provide some additional information (not sure if any of this is on a wiki page or not). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831959#3831959 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831959 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET & SOAP] - Re: Integrate Axis 1.2 with JBoss !!
Hi Jason, Thanks for your suggestion !. 1. Are you sure that Jboss 4 has implemented Axis 1.2, coz axis 1.2 itself in a beta version. 2. I tried installing Axis 1.2 on JBoss 3.2.3: - In default mode of server, I copied Axis.war into deploy directory and tested, its working fine. - In All mode of server, I have to integrate with Jboss.net, so I just copied the all the jar files (axis.jar,commons-logging,etc..) into jboss-net.sar and started the server. I tried http://localhost:8080/jboss-net/ - It works fine, but when I invoke any webservice in it, it throws an exception to me : Fault - Could not introspect mbean.; nested exception is: java.lang.NoSuchFieldException: introspectionComplete AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException faultSubcode: faultString: Could not introspect mbean.; nested exception is: java.lang.NoSuchFieldException: introspectionComplete faultActor: faultNode: faultDetail: Iam sure, as u said, I need updated version jboss-net.jar !!. Just thinking what to do now, whether to go for JBoss 4.0 or run the JBoss 3.2.3 in default mode and use Axis 1.2. Can any one give their thoughts please... thanks, -kkanagaraj View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831958#3831958 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831958 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Deploy Order - how?
Thank you very much for your quick response. I appreciate it. Regards, Khaled View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831957#3831957 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831957 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: After redeployment jndi lookup gets ClassCastException
Thanks for your time to help on this issue. "DummyService" MBEAN implements schedulable interface and calls the "Worker" session bean. As I said in my original post, this works fine if you restart the jboss appserver. Here is the jboss log and you can see that "dummyService" MBEAN actually gets unloaded when redeployment occurs -- very strange indeed... 16:08:41,812 INFO [EjbModule] Stopping jboss.j2ee:module=ejb_test.jar,service=E jbModule 16:08:41,843 INFO [StatelessSessionContainer] Stopping jboss.j2ee:jndiName=dumm y/fileFetcherHome,service=EJB 16:08:41,843 INFO [StatelessSessionInstancePool] Stopping jboss.j2ee:jndiName=d ummy/fileFetcherHome,plugin=pool,service=EJB 16:08:41,859 INFO [Scheduler] Stopping dummy:service=dummyService 16:08:41,859 INFO [StatelessSessionContainer] Stopping jboss.j2ee:jndiName=work erHome,service=EJB 16:08:41,859 INFO [StatelessSessionInstancePool] Stopping jboss.j2ee:jndiName=w orkerHome,plugin=pool,service=EJB 16:08:41,859 INFO [StatelessSessionContainer] Stopping jboss.j2ee:jndiName=dumm yManager,service=EJB 16:08:41,859 INFO [StatelessSessionInstancePool] Stopping jboss.j2ee:jndiName=d ummyManager,plugin=pool,service=EJB 16:08:41,859 INFO [EntityContainer] Stopping jboss.j2ee:jndiName=dummyLocalHome ,service=EJB 16:08:41,875 INFO [EntityInstancePool] Stopping jboss.j2ee:jndiName=dummyLocalH ome,plugin=pool,service=EJB 16:08:41,875 INFO [TxConnectionManager] Stopping jboss.jca:service=LocalTxCM,na me=datasource/dummy 16:08:41,875 INFO [JBossManagedConnectionPool] Stopping jboss.jca:service=Manag edConnectionPool,name=datasource/dummy 16:08:41,875 INFO [RARDeployment] Stopping jboss.jca:service=ManagedConnectionF actory,name=datasource/dummy 16:08:41,875 INFO [EARDeployer] Undeploying J2EE application, destroy step: fil e:/C:/temp/local/jboss-3.2.2/server/default/deploy/dummy.ear 16:08:41,906 INFO [EJBModule] destroy(), remove EJB-Module: jboss.management.lo cal:J2EEApplication=dummy.ear,J2EEServer=Local,j2eeType=EJBModule,name=ejb_test. jar 16:08:41,953 WARN [DeploymentInfo] Could not delete file:/C:/temp/local/jboss-3 .2.2/server/default/tmp/deploy/tmp42655dummy.ear restart will delete it 16:08:42,000 INFO [MainDeployer] Starting deployment of package: file:/C:/temp/ local/jboss-3.2.2/server/default/deploy/dummy.ear 16:08:42,015 INFO [EARDeployer] Init J2EE application: file:/C:/temp/local/jbos s-3.2.2/server/default/deploy/dummy.ear 16:08:42,671 INFO [EJBDeployer] nested deployment: file:/C:/temp/local/jboss-3. 2.2/server/default/tmp/deploy/tmp42656dummy.ear-contents/ejb_test.jar-contents/M ETA-INF/mysql-ds.xml 16:08:46,453 INFO [EjbModule] Deploying DummyEJB 16:08:46,484 INFO [EjbModule] Deploying DummyManager 16:08:46,500 INFO [EjbModule] Deploying Worker 16:08:46,531 INFO [EjbModule] Deploying FileFetcher 16:08:46,765 INFO [RARDeployment] Started jboss.jca:service=ManagedConnectionFa ctory,name=datasource/dummy 16:08:46,765 INFO [JBossManagedConnectionPool] Started jboss.jca:service=Manage dConnectionPool,name=datasource/dummy 16:08:46,765 INFO [datasource/dummy] Bound connection factory for resource adap ter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=datasource/dummy to JNDI name 'java:/datasource/dummy' 16:08:46,765 INFO [TxConnectionManager] Started jboss.jca:service=LocalTxCM,nam e=datasource/dummy 16:08:47,281 INFO [DummyEJB] Table 'Test' already exists 16:08:47,281 INFO [EntityInstancePool] Started jboss.j2ee:jndiName=dummyLocalHo me,plugin=pool,service=EJB 16:08:47,296 INFO [EntityContainer] Started jboss.j2ee:jndiName=dummyLocalHome, service=EJB 16:08:47,359 INFO [StatelessSessionInstancePool] Started jboss.j2ee:jndiName=du mmyManager,plugin=pool,service=EJB 16:08:47,359 INFO [StatelessSessionContainer] Started jboss.j2ee:jndiName=dummy Manager,service=EJB 16:08:47,406 INFO [StatelessSessionInstancePool] Started jboss.j2ee:jndiName=wo rkerHome,plugin=pool,service=EJB 16:08:47,406 INFO [StatelessSessionContainer] Started jboss.j2ee:jndiName=worke rHome,service=EJB 16:08:47,406 INFO [STDOUT] DummyService has been initialized() 16:08:47,421 INFO [Scheduler] Started dummy:service=dummyService 16:08:47,421 INFO [StatelessSessionInstancePool] Started jboss.j2ee:jndiName=du mmy/fileFetcherHome,plugin=pool,service=EJB 16:08:47,421 INFO [StatelessSessionContainer] Started jboss.j2ee:jndiName=dummy /fileFetcherHome,service=EJB 16:08:47,421 INFO [EjbModule] Started jboss.j2ee:module=ejb_test.jar,service=Ej bModule 16:08:47,421 INFO [EJBDeployer] Deployed: file:/C:/temp/local/jboss-3.2.2/serve r/default/tmp/deploy/tmp42656dummy.ear-contents/ejb_test.jar 16:08:47,531 INFO [EARDeployer] Started J2EE application: file:/C:/temp/local/j boss-3.2.2/server/default/deploy/dummy.ear 16:08:47,531 INFO [MainDeployer] Deployed package: file:/C:/temp/local/jboss-3. 2.2/server/default/deploy/dummy.ear 16:08:48,453 INFO [STDOUT] DummyService dummyTest() invoked... 16:08:48,484 INFO [STDOUT] $Proxy30 16:08:48,484 ERROR [S
[JBoss-user] [Installation & Configuration] - Re: Deploy Order - how?
use the | | element in your mbean's jboss-service.xml file to state that the mbean should not be deployed until your ejbs are deployed. you can find examples of this in the main jboss-service.xml file in the conf directory. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831955#3831955 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831955 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss clustering test
Hi all, I´m trying to test if my application is running on cluster or not. I have 2 computers in cluster. If I destoy the bean it goes to the other node and get it, but if I request it from many clients at the same time (I have a stress tool) it always respond from the 1st node. It is not doing the load balancing. In my jboss.xml I have no special configuration, only the clustered tag: Dyt_sta_period_lack_Ayuda Dyt_sta_period_lack_AyudaBean Dyt_sta_period_lack_AyudaLocal true What I´m missing? Regards, Hernán. AVISO LEGAL: Esta información es privada y confidencial y está dirigida únicamente a su destinatario. Si usted no es el destinatario original de este mensaje y por este medio pudo acceder a dicha información por favor elimine el mensaje. La distribución o copia de este mensaje está estrictamente prohibida. Esta comunicación es sólo para propósitos de información y no debe ser considerada como propuesta, aceptación ni como una declaración de voluntad oficial de TELECOM ARGENTINA S.A. . La transmisión de e-mails no garantiza que el correo electrónico sea seguro o libre de error. Por consiguiente, no manifestamos que esta información sea completa o precisa. Toda información está sujeta a alterarse sin previo aviso. This information is private and confidential and intended for the recipient only. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and shall not be regarded neither as a proposal, acceptance nor as a statement of will or official statement from TELECOM ARGENTINA S.A. . Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Deploy Order - how?
Hello, I have a small application deployed on JBoss 3.2.3 which consists of EJBs and JMXes. The problem is that, upon deployment, the JMXes come up first and they try to use the yet-to-be-deployed EJBs. How can I make sure that the EJBs deploy ahead of the JMXes? Thanks in advance. Regards, Khaled View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831954#3831954 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831954 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss clustering test
Hi all, I´m trying to test if my application is running on cluster or not. I have 2 computers in cluster. If I destoy the bean it goes to the other node and get it, but if I request it from many clients at the same time (I have a stress tool) it always respond from the 1st node. It is not doing the load balancing. In my jboss.xml I have no special configuration, only the clustered tag: Dyt_sta_period_lack_Ayuda Dyt_sta_period_lack_AyudaBean Dyt_sta_period_lack_AyudaLocal true What I´m missing? Regards, Hernán. AVISO LEGAL: Esta información es privada y confidencial y está dirigida únicamente a su destinatario. Si usted no es el destinatario original de este mensaje y por este medio pudo acceder a dicha información por favor elimine el mensaje. La distribución o copia de este mensaje está estrictamente prohibida. Esta comunicación es sólo para propósitos de información y no debe ser considerada como propuesta, aceptación ni como una declaración de voluntad oficial de TELECOM ARGENTINA S.A. . La transmisión de e-mails no garantiza que el correo electrónico sea seguro o libre de error. Por consiguiente, no manifestamos que esta información sea completa o precisa. Toda información está sujeta a alterarse sin previo aviso. This information is private and confidential and intended for the recipient only. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and shall not be regarded neither as a proposal, acceptance nor as a statement of will or official statement from TELECOM ARGENTINA S.A. . Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Accessing a Bean via IIOP from Borland C++
I already did bind it but how can I see if that was successful? I want to make sure the server is up and ready before fideling with the C++ client. And on which class should I use rmic, the bean or the remote interface? Depending on that I get 83 or 34 IDL files. Is that all necessarry? I looked at the mico examples but they don't look like rmic files and they have only a few IDL files. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831950#3831950 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831950 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Unable to access MySQL datasource
Kab: That sounds quite plausible. I can tell from the JBoss startup messages, and the jmx console, that the data source is bound properly. So, i guess it comes to: How can i best convert this command line app, prior to having a full understanding of J2EE programming, into one that will run in the same JVM and modify the database? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831948#3831948 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831948 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Setting JNDI at run-time
Hi all, I was wondering whether there was a way to set the JNDI Resource-refs (along with resource params) at run-time... I'm deploying a WAR that in turn sets the JNDI params for some other WAR components. This used to work fine in Tomcat 5 by creating XML context files for each of the other WARs with the JNDI params defined there. Is there a way to do this in JBoss? Does it support Context files? Thanks... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831946#3831946 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831946 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss clustering test
Hi all, I´m trying to test if my application is running on cluster or not. I have 2 computers in cluster. If I destoy the bean it goes to the other node and get it, but if I request it from many clients at the same time (I have a stress tool) it always respond from the 1st node. It is not doing the load balancing. In my jboss.xml I have no special configuration, only the clustered tag: Dyt_sta_period_lack_Ayuda Dyt_sta_period_lack_AyudaBean Dyt_sta_period_lack_AyudaLocal true What I´m missing? Regards, Hernán. AVISO LEGAL: Esta información es privada y confidencial y está dirigida únicamente a su destinatario. Si usted no es el destinatario original de este mensaje y por este medio pudo acceder a dicha información por favor elimine el mensaje. La distribución o copia de este mensaje está estrictamente prohibida. Esta comunicación es sólo para propósitos de información y no debe ser considerada como propuesta, aceptación ni como una declaración de voluntad oficial de TELECOM ARGENTINA S.A. . La transmisión de e-mails no garantiza que el correo electrónico sea seguro o libre de error. Por consiguiente, no manifestamos que esta información sea completa o precisa. Toda información está sujeta a alterarse sin previo aviso. This information is private and confidential and intended for the recipient only. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and shall not be regarded neither as a proposal, acceptance nor as a statement of will or official statement from TELECOM ARGENTINA S.A. . Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: jsp syntax question
Save the query result to an ArrayList, and put it to the HttpSession attribute. Any jsp page can get access to the HttpSession attributes using ${sessionScope.} expression alnguage expression. You should read the specification or some good book on servlets and jsp first. And again, don't use dynamic sql! Vlad View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831945#3831945 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831945 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Problems deploying a EAR file
was the obj.jar included in the ear? could you repost your directory structure and contents of the application.xml file? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831943#3831943 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831943 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Remote server connection problem
I am a little bit confused. I think the authenticateAgainstServer is called cause you try to instantiate a Bean, right ? Here how i set the properties: anonymous wrote : | Properties prop = new Properties(); | prop.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | prop.put(Context.PROVIDER_URL, "jnp://JBossServer:1099"); | prop.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | ctx = new InitialContext(prop); | I have activated authentification, too. And it works well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831939#3831939 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831939 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: After redeployment jndi lookup gets ClassCastException
hrm - i'm not really sure. you shouldn't be getting casting exceptions if both archives are being deployed as one unit. the classloader that deploys the ear should be the same one that is being used to look up class references. i haven't experienced this problem when deploying everything in one ear. adding the loader repository isn't going to do you much good in this instance b/c you're not trying to prevent the classes inside the ear from being accessed outside of the ear. assuming you have a mbean in the sar, is it being shutdown and destroyed properly on the hot-deployment? the only other thing that comes to mind is that somehow it's not being completely destoryed and somehow as an incorrect reference. at this point, i'd recommend turing on classloader debugging and posting back the relevant portions here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831938#3831938 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831938 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Unknown-PK Problems...
Unknow-pk got nothing to do with CMR fields View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831936#3831936 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831936 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss clustering test
Hi all, I´m trying to test if my application is running on cluster or not. I have 2 computers in cluster. If I destoy the bean it goes to the other node and get it, but if I request it from many clients at the same time (I have a stress tool) it always respond from the 1st node. It is not doing the load balancing. In my jboss.xml I have no special configuration, only the clustered tag: Dyt_sta_period_lack_Ayuda Dyt_sta_period_lack_AyudaBean Dyt_sta_period_lack_AyudaLocal true What I´m missing? Regards, Hernán. AVISO LEGAL: Esta información es privada y confidencial y está dirigida únicamente a su destinatario. Si usted no es el destinatario original de este mensaje y por este medio pudo acceder a dicha información por favor elimine el mensaje. La distribución o copia de este mensaje está estrictamente prohibida. Esta comunicación es sólo para propósitos de información y no debe ser considerada como propuesta, aceptación ni como una declaración de voluntad oficial de TELECOM ARGENTINA S.A. . La transmisión de e-mails no garantiza que el correo electrónico sea seguro o libre de error. Por consiguiente, no manifestamos que esta información sea completa o precisa. Toda información está sujeta a alterarse sin previo aviso. This information is private and confidential and intended for the recipient only. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and shall not be regarded neither as a proposal, acceptance nor as a statement of will or official statement from TELECOM ARGENTINA S.A. . Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: RemoteException
java.lang.NullPointerException at negocio.ejb.salida.SalidaControllerBean.ejbCreate(Unknown Source) A bug in your code View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831934#3831934 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831934 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Unknown-PK Problems... with XDoclet and CMR
Hi -- Has anybody noticed Unknown-PK Problems, with XDoclet and _CMR_? Are there known-bugs regarding CMR interaction with Unknown-PK that have already been posted against JBoss3.2.3? Anybody know of relevant forum/wiki URLs? Or... has anybody gotten Unknown-PK going with XDoclet and _CMR_, such that successful build, deployment, and runtime behavior is proper with both MySQL and HSQL? Thanks! --Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831933#3831933 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831933 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re:
The /servlet type deployments are a very old way of doing it. I believe it has been deprecated in the spec (meaning it will go away in the future). IIRC, the invoker servlet that handles these deployments is not configured by default - see jbossweb-tomcaxx.sar/web.xml But I'd suggest you migrate away from this usage. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831932#3831932 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831932 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Accessing a Bean via IIOP from Borland C++
You need to bind your bean to the iiop invoker As always, the testsuite is your friend if you want help with configurations: http://cvs.sourceforge.net/viewcvs.py/jboss/jbosstest/src/resources/bankiiop/META-INF/jboss.xml?rev=1.4&view=auto You use 'rmic' to generate the idl. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831931#3831931 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831931 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Problem with Oracle 9 XA jboss 3.2.3
You need to go back further in the log to see what is happening to this connection: [EMAIL PROTECTED] Most likely you have some unfinished business - see the other post about not closing statements. There is no such flag | true | There is a Debug flag in deploy/transaction-service.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831930#3831930 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831930 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Connection handle has been closed and is unusable issue
will spot that your connection is broken. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831928#3831928 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831928 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: How to Declaratively set autoCommit to false
There is no current way to do this. JBoss assumes auto commit is true when the connection is first created, as per spec. Maybe you could provide a patch, with code similar to the transaction isolation override? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831927#3831927 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831927 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Problem with XA and Oracle
Can you stop posting ME TOO type posts on this thread. If does not solve your problem then you have a different problem. If you have a different problem why are you on this thread? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831926#3831926 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831926 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Jaas Login module problem
Do you have the jsp/servlets and the ejb secured with a role? I saw a similar error recently when I forgot to log my user in. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831925#3831925 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831925 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Duplicate key in JMS_MESSAGES
The symptoms you report are exactly the problem that was fixed in 3.2.3 1) Start a client VM - and connect using a ClientID 2) Send messages to a temporary queue/topic but don't receive them 3) Don't close the connection properly, leaving the server to try to tidy up for you (it does not - it doesn't delete the messages in the temporary queue) 4) Repeat from (1) The other part to reproduce the problem is that the message cache must have softened the undeleted temporary messages into the db. i.e. at some point JBossMQ thought you were running low on memory. If this is not your problem (try it on 3.2.3), then please include an analysis similar to what I have done above. The persistence manager cannot recover from the problem. Everytime you start a client (new VM) with the same client id, it will try to use the same key for the temporary destinations, but there are still records lying around from the previous client to confuse it. TOPIC.GPRS.KermitMessageClient.-2147483616 Means: [DestinationType.ClientID.SubscriptionName.ClientVMsConnectionNumber] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831924#3831924 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831924 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Remote server connection problem
Yes, networking is fine - pings and things work as per normal. The app behaves equally badly from the command line. anonymous wrote : | java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: | java.net.ConnectException: Connection refused | at com.freedomwigs.client.gui.app.LoginScreen.manageException(LoginScreen.java:96) | at com.freedomwigs.client.gui.app.LoginScreen.authenticateAgainstServer(LoginScreen.java:179) | at com.freedomwigs.client.gui.app.LoginScreen.doLogin(LoginScreen.java:156) | at com.freedomwigs.client.gui.app.LoginScreen.access$0(LoginScreen.java:149) | at com.freedomwigs.client.gui.app.LoginScreen$1.actionPerformed(LoginScreen.java:198) | The doLogin method is ok, then calls authenticateAgainstServer which fails. It can lookup the LoginBeanHome interface but fails when creating the LoginBean EJB. The 127.0.0.1 is referring to the client machine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831922#3831922 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831922 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: After redeployment jndi lookup gets ClassCastException
It looks that my "enemy" is class-loader so I've added into jboss-app.xml following: dummy:loader=dummy.ear However it does not solving the redeployment issue at all... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831921#3831921 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831921 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Duplicate key in JMS_MESSAGES
Adrian, We have another crash this morning which forced our hand and we deleted the "temporary destinations". The systems is running for 1 hour so far and we have seen no "temporary destinations" created yet. We will monitor the server and try and get an answer to your question. Our experience was that temporary records were surviving restarts, though I am not sure what the TX_OP field were. Do entries in the JMS_Message file such as TOPIC.GPRS.KermitMessageClient.-2147483616 refer to Temporary subscribers and when are they created. Currently our Application restarts when we experience this exception, is this overkill or can the JMS Persistance Manager eventually recover from these exceptions. Thanks, Kevin. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831919#3831919 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831919 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR relation on NOT NULL foreign keys
Hi all, I had the same problem myself, and the only workaround I found is the same as you SHA (declare a simple CMP field for the primary key column, setting it in ejbCreate, and setting the CMR field in ejbPostCreate). To understand all this, I think that we must refer to the EJB spec. The EJB spec says that the bean instance must have its primary key available in ejbPostCreate (where you can call getPrimaryKey). JBoss conforms exactly to this point. But it is a problem when the key is generated by the database and some foreign keys cannot be null. The set to true is useless in our case, because if you want to do anything in ejbPostCreate, you have an error saying that the primay key is null (or somthing like that). I think it works only when the container generates the key. What a shame, and there is many topics on the subject in this forum, but I never find a response from JBoss. I was Weblogic before, and this problem had been the worse to migrate (Weblogic has the same option insert-after-ejb-post-create but it works !) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831917#3831917 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831917 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Problem with XA and Oracle
Hello, I had a similar prolem please check my thread http://www.jboss.org/index.html?module=bb&op=viewtopic&t=48765. I hope it will help you. Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831916#3831916 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831916 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Attempt to get lock ref with a null object
Keep the java.lang.Object type for primary kay class, but remove the id declaration. As the primary key is declared as unknown, you cannot set a CMP field as primary key. Normally, when doing that, no CMP field should be declared for the primary key. But you can anyway, but do not declare the CMP field as primary key. To find your bean, you must use also the findByPrimaryKey method. You can have a look to the: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=47787 topic, which talks about the subject View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831914#3831914 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831914 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - How to know about the Webserver in JBoss?Jetty or Tomcat
Hi... As we observed that Jboss supports Jetty, which is webserver that integrated with Jboss and Tomcat as Web servers. So how to find it out whether this installation contains whether Jetty or Tomcat?? Is there any MBean to look after to distinguish between these two web servers? Pls. do need helpful. Regards, Srikanth View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831915#3831915 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831915 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Dynamic Topic/Queue Creation which survive server restar
JUAL It is clearly stated in the JMS spec, that queue/topic and connection factory construction is not defined and therefore there is no portable mechanism. Please do some research in future before wasting people's time with frivolous questions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831913#3831913 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831913 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: XAER_RMERR Error
Hello, I think I found out what my problem was! I followed Adrian's instructions and turned on all the traces as appears in the READ_ME sticky post and I also turned on track statements in my ds as follows: true | true | true I found out that I was leaking statements!! This only happened when the execute statement threw an exception. I fixed this and I can do 1000 iterations on my bean which meets my test objective. Thanks Adrian for your pointer. It did help me go through the code and determine the problem. Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831912#3831912 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831912 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Over Authenticated HTTPS Proxy
The http connection factory does not provide a mechanism to override the Authenticator it is hardwired in static initialisation. Maybe you could provide a patch where it uses a system property to get the class name to use as the authenticator (defaulting the jboss one). To use the jboss authenticator, you need to do a jaas login. See the JAAS howto, Scott's article on JAAS or the example in the admin docs. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831911#3831911 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831911 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ConnectionConsumer feature
The JMS provider implements the ConnectionConsumer. The AS implements the server session pool. see the package org.jboss.jms.asf if you are interested View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831910#3831910 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831910 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Duplicate key in JMS_MESSAGES
There is a bug in 3.2.1 (fixed in 3.2.3) where messages left in temporary destinations were not getting deleted. They would likely end up in the cache store with a TX_OP of 'T'. A server restart should delete them, it deletes all 'T'=temporary records during the recovery process. Which part is not working for you? Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831909#3831909 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831909 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: jsp syntax question
The query is coming through ok. I have t\checked the log in postgres and it is putting the variable in as it should. My problem is with the home.jsp page. I don't know the syntax to retrieve the result of the query. As for using a http filter isn't that just a kind of a servlet? I amfairly new to j2ee and was trying to just start doing things. I am trying to hold to a MVC model I am just using all .jsp. Let me ask yo ua question. If I were to move to a servlet and use jsp as my presentation logic how do I pass the values to a jsp page without putting them in the url? Let me give you an example of what I am talking about. I am creating a fairly complicated intranet that is not only managed by a group of about 100 people but the users of it which are about 1000 all have personized data. I need all the colors, pictures, and even teh layout of some things to be movable by the content manager and the users themselves. Alot of the information in the site will be pulling from a Postgres database that serves for all of our applications(we are a college). Anyway so what I am saying is there could be as many as 20 values I need to pass to the presentation logic jsp page and I don't want to do that in the url and I perfer not to pass the users usernames in the url for security reasons. What would be the best way to accomplish what I am trying to do with a servlet? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831908#3831908 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831908 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS_MESSAGES_PK violated
Genman, Your fix relates to transactions not messages? Can you explain how this would fix a duplicate message id? Thanks for the fix by the way. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831907#3831907 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831907 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Duplicate key in JMS_MESSAGES
Hi, We are experiencing the below exception on our JBoss 3.2.1 Server. Other messages in the forum have attributed this exception to having more than one JBoss instance interacting with the JMS_Messages file, this is not the case on our production server. Could someone articulate what the .-2147483616 (see exception trace) in TOPIC.GPRS.KermitMessageClient.-2147483616 refers to. We have a KermitMessageClient destination configured within JMS but the "temporary" destinations are continually appearing in the messages file and are the source of the exception. We have never seen any contention on the actual KermitMessageClient destination. The message http://www.jboss.org/index.html?module=bb&op=viewtopic&t=48760 seems very like the problem we are experiencing, could it be the same bug. We are considering deleting the temporary destination from the production database but are reluctant to do so until we know what these destinations refer to. The system has been in production for several months now and the error is getting increasingly frequent which again is somethinh we don't understand, the application code has been very stable in that time. Regards. - Kevin. 2004-04-21 10:03:35,968 [MessageListenerThread - GPRS] ERROR com.celtrak.jms.Publisher - org.jboss.mq.SpyJMSException: Could not store message: 142010 msg=78714 hard NOT_STORED PERSISTENT queue=TOPIC.GPRS.KermitMessageClient.-2147483616 priority=4 hashCode=12204633; - nested throwable: (java.sql.SQLException: [Microsoft][SQLServer JDBC Driver][SQLServer]Violation of PRIMARY KEY constraint 'PK__JMS_MESSAGES__095F58DF'. Cannot insert duplicate key in object 'JMS_MESSAGES'.) 2004-04-21 10:03:35,968 [MessageListenerThread - GPRS] ERROR com.celtrak.jms.Publisher - org.jboss.mq.pm.jdbc2.PersistenceManager.saveToStorage(PersistenceManager.java:1164) org.jboss.mq.server.MessageCache.saveToStorage(MessageCache.java:411) org.jboss.mq.server.MessageReference.makeSoft(MessageReference.java:229) org.jboss.mq.server.MessageCache.validateSoftReferenceDepth(MessageCache.java:354) org.jboss.mq.server.MessageCache.addInternal(MessageCache.java:133) org.jboss.mq.server.MessageCache.add(MessageCache.java:102) org.jboss.mq.server.JMSTopic.addMessage(JMSTopic.java:282) org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:404) org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:384) org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptorSupport.java:135) org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:162) org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:234) org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:137) org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:86) org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:355) org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:377) EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:732) java.lang.Thread.run(Thread.java:536) 2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831906#3831906 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831906 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re Attempt to get lock ref with a null object
HI sesques As per your suggestions 1) I declared the primary key class of type java.lang.Object 2 ) I declared the return type of ejbCreate of java.lang.Object given bellow public java.lang.Object ejbCreate( java.lang.String empFirstName ) throws javax.ejb.CreateException { //setId(id); this. setEmpFirstName(empFirstName); // setEmpLastName(empLastName); return null; } 3 declared the unknow-pk and added an entity command (( i added these changes simply at the bottom of jbosscmp-jdbc.xml , with out removing the existing cmp-field declarations for emp_ id id emp_id INTEGER INTEGER ) After these changes , i tried to deploy but deployment was unsuccessful and i got following error [color=red]waring:The type of the primkey-field must match the primary key class.[/color] Then i made primary key class of type java.lang.Integer After this change deployment was successful, but when i run my client I got bellow error [color=red](client code [/color] package com.emp.clients; import com.emp.empdata.*; import javax.naming.InitialContext; import javax.naming.Context; import javax.naming.NamingException; import javax.rmi.PortableRemoteObject; import java.rmi.RemoteException; import java.util.*; import java.text.*; public class Client_emp { public static void main(String [] args) { try { Context jndiContext = getInitialContext(); Object ref = jndiContext.lookup("EmployeeBean"); EmployeeHome home = (EmployeeHome) PortableRemoteObject.narrow(ref,EmployeeHome.class); [color=green] // Employee emp_1 = home.create("Ramu","Vurumi"); // before changes working fine Employee emp_1 = home.create("Ramu");// before changes when i call set method // getting error emp_1.setEmpLastName(new String("vurumi")); // Attemt to get lock ref with a null //object[/color] } catch (java.rmi.RemoteException re){re.printStackTrace();} catch (javax.naming.NamingException ne){ne.printStackTrace();} catch (javax.ejb.CreateException ce){ce.printStackTrace();} // catch (javax.ejb.FinderException fe){fe.printStackTrace();} // catch (javax.ejb.RemoveException de){de.printStackTrace();} } public static Context getInitialContext() throws javax.naming.NamingException { return new InitialContext(); / context initialized by jndi.properties file Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces"); p.put(Context.PROVIDER_URL, "localhost:1099"); return new javax.naming.InitialContext(p); */ } } ) [java] javax.ejb.CreateException: Could not create entity:java.lang.ClassNotFoundException: com.mysql.jdbc.PreparedStatement [java] at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractVendorCreateCommand.insertEntity(JDBCAbstractVendorCreateCommand.java:136) [java] at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractVendorCreateCommand.execute(JDBCAbstractVendorCreateCommand.java:76) [java] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:569) [java] at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:225) [java] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:270) [java] at org.jboss.ejb.EntityContainer.createHome(EntityContainer.java:725) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:998) [java] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) [java] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:188) [java] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215) [java] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) [java] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:91) [java] at org.jbos
[JBoss-user] [Beginners Corner] - Re: Remote server connection problem
Does the client software work if you install it on the client (not using JNLP) ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831905#3831905 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831905 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Remote server connection problem
Can you just ping from the client machine to the server? Are u able to get a response. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831904#3831904 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831904 --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Attempt to get lock ref with a null object
HI sesques As per your suggestions 1) I declared the primary key class of type java.lang.Object 2 ) I declared the return type of ejbCreate of java.lang.Object given bellow public java.lang.Object ejbCreate( java.lang.String empFirstName ) throws javax.ejb.CreateException { //setId(id); this. setEmpFirstName(empFirstName); // setEmpLastName(empLastName); return null; } 3 declared the unknow-pk and added an entity command (I added these changes simply at the bottom of jbosscmp-jdbc.xml , with out removing the existing cmp-field declarations for emp_ id id emp_id INTEGER INTEGER ) After these changes , i tried to deploy but deployment was unsuccessful and i got following error waring:The type of the primkey-field must match the primary key class. Then i made primary key class of type java.lang.Integer After this change deployment was successful, but when i run my client I got bellow error (client code package com.emp.clients; import com.emp.empdata.*; import javax.naming.InitialContext; import javax.naming.Context; import javax.naming.NamingException; import javax.rmi.PortableRemoteObject; import java.rmi.RemoteException; import java.util.*; import java.text.*; public class Client_emp { public static void main(String [] args) { try { Context jndiContext = getInitialContext(); Object ref = jndiContext.lookup("EmployeeBean"); EmployeeHome home = (EmployeeHome) PortableRemoteObject.narrow(ref,EmployeeHome.class); // Employee emp_1 = home.create("Ramu","Vurumi"); // before changes working fine Employee emp_1 = home.create("Ramu");// before changes when i call set method // getting error emp_1.setEmpLastName(new String("vurumi")); // Attemt to get lock ref with a null //object } catch (java.rmi.RemoteException re){re.printStackTrace();} catch (javax.naming.NamingException ne){ne.printStackTrace();} catch (javax.ejb.CreateException ce){ce.printStackTrace();} // catch (javax.ejb.FinderException fe){fe.printStackTrace();} // catch (javax.ejb.RemoveException de){de.printStackTrace();} } public static Context getInitialContext() throws javax.naming.NamingException { return new InitialContext(); / context initialized by jndi.properties file Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces"); p.put(Context.PROVIDER_URL, "localhost:1099"); return new javax.naming.InitialContext(p); */ } } ) [java] javax.ejb.CreateException: Could not create entity:java.lang.ClassNotFoundException: com.mysql.jdbc.PreparedStatement [java] at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractVendorCreateCommand.insertEntity(JDBCAbstractVendorCreateCommand.java:136) [java] at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractVendorCreateCommand.execute(JDBCAbstractVendorCreateCommand.java:76) [java] at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:569) [java] at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:225) [java] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:270) [java] at org.jboss.ejb.EntityContainer.createHome(EntityContainer.java:725) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:324) [java] at org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:998) [java] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) [java] at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:188) [java] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:215) [java] at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:88) [java] at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(Entity