[JBoss-user] [Clustering/JBoss] - Re: Protecting cluster from rogue nodes
The best cluster protection is to put all cluster servers into a separate network segment, so you can restrict UDP broadcasts to that segment. Using encryption or just different broadcast IP's might do the job from a technical point of view, but isn't 'waterproof' for a production environment. Regards Ulf View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857832#3857832 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857832 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - how to read jvmRoute at runtime ?
I'm working with SessionIDs on multiple servers and i need to initialize some data in DB specific to each server. Can anyone tell if there is a way to get the SessionID termination (jvmRoute) at runtime ? Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857833#3857833 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857833 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB processing is sleeping for ten minutes (transaction
Thanks for that hint. What we found is if transaction timeout is set to 2 minutes, the delay takes 2 minutes, if set to 10 minutes the delay takes 10 minutes, but we did not see a transaction rollback exception. Anyway the reason for that behaviour is not JMS, but some business logic involved within the onMessage of the MDB. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857834#3857834 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857834 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: uuid generation
Can you exaplain then the following paragraph taken from the wiki anonymous wrote : NonSerializableFactory | | NO!!! | | This seems to be a common misunderstanding. The NonSerializableFactory takes objects that are not java.io.Serializable (and hence can't be bound into jndi by spec) and creates an indirection such that they can be bound. The object is still not serializable and in no way will it be available on a remote machine. The indirected object can be accessed inside the same JVM as where it is bound. | | Even if it was Serializable you would get a copy of the object not remote access, see above. | | Question: Why do people | Is this information incorrect or does it relate to a different issue? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857836#3857836 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857836 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Connection handle has been closed and is unusable
Hi, Thanks for your reply. Now i am using jboss-3.2.3. I still get the error even though i've closed the connection in finally statement. I have a few sql statements in a method and it seems like jboss closed the connection before the all the queries are being executed. Anyone know why? Pls help. Thanks alot View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857839#3857839 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857839 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Configuring JNDI over HTTP
just in case someone experiences the same problem I had: On one machine the root exception was not a ClassNotFoundException but the output was the following: javax.naming.NamingException: Failed to retrieve Naming interface. Root exception is java.io.IOException: Server returned HTTP response code: 401 for URL:... On another machine the exception was ClassNotFound. As described above the problem was a wrong version of the jbossallclient.jar and replacing it with a new one solved the problem in both cases. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857840#3857840 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857840 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Fibo tutorial - HTTP 500 error javax.servlet.ServletExce
I changed java:/comp/env/ into java:comp/env, without success ... That might come from version incompatibility ... Thanks for your help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857842#3857842 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857842 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - JBOSS -virtual host
Hello, I want to know if JBOSS 4 support the virtual host and then how to configure that ? thank you View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857844#3857844 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857844 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Static resource location
Hi all, I'd like to get the URL of a properties file from within a class located in the EJB tiers (in MyEjb.jar). This properties file is located in MyModule.war J2EE module, included in MyApp.ear. MyEjb.jar is also included in MyApp.ear. Is there a way to find the properties file and get it's absolute path so my business class can open it ? Regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857845#3857845 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857845 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: CMP with mySql
The hsqldb-ds.xml shouldn't need to be removed from the deploy directory, it is possible to run with both in parallel. Also as the two JMS tables are being created the driver must have been found so that the connection can be established. Unless JBoss is ignoring the jbosscmp-jdbc.xml file it looks to me as if there may be a slight packaging error that is causing the file to be missed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857846#3857846 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857846 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss vs. WebLogic tuning results
Some tips for the web tier based on the information you submitted: - mod_jk 2 is actually officially abandoned: you should use mod_jk 1.2.x instead (or use Apache HEAD branch with mod_proxy and mod_proxy_ajp) - if there's no functional need for Apache, I don't see much gain from using it, so you could try using a simpler setup with the Tomcat HTTP connector instead Maybe you can try enabling verbose GC to see if there are indeed too many long GC. If you want better telemetry, I've had a good experience with jconsole and Java 5, as well as with JFluid (but it's going to be difficult to install that on your servers ;) ). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857847#3857847 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857847 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: ClassCastException with apache digester
Looks like Eclipse was passing the crimson SAX factory (by default) when it starts off JBOSS. After I changed this to xerces, things worked fine. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857848#3857848 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857848 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss vs. WebLogic tuning results
Have a look at http://www-106.ibm.com/developerworks/java/library/j-jtp11253/ and try to setup your JVM parameters more properly. Regards, Stephan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857850#3857850 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857850 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Database connections slow from JBoss
Hello, I have Jboss 3.2.3. There was an ip change and dns change in server when i noticed this problem. I have my own connectionpool which makes connections to MS SQL 2000 database. When i open database connection, it takes so long to open it. | System.out.println( Making connection to database); | long before = System.currentTimeMillis(); | conn = DriverManager.getConnection(url, username, password); | long after = System.currentTimeMillis(); | long result = after - before; | System.out.println( Connection established in + result + ms ); | | 2004-12-08 12:45:08,593 INFO [STDOUT] Making connection to database tietokantaan | 2004-12-08 12:45:22,843 INFO [STDOUT] Connection established in 14250ms | In the same server there is Weblogic, I made simple jsp which connects to database. It takes only 78ms. What has happened to JBoss? I really need urgent help on this. Any hints are wellcome. Thank you, Jari Timonen Software Designer View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857851#3857851 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857851 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss vs. WebLogic tuning results
Have you tried 'cmp2.x jdbc2 pm' container? Here is a brief description of it http://www.jboss.org/wiki/Wiki.jsp?page=CMP2xJDBC2PM View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857852#3857852 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857852 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: HTTP session replication don`t work
Hello!!! It`s me again. I purchase docs and i have a question about HTTP replication but i still have no answer on my question. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857853#3857853 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857853 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: Simple question about Remote Topic
Thanks for your replay :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857854#3857854 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857854 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Deploying Quartz Scheduler in jboss-3.2.6
I am using Quartz Scheduler in my application and I've written my own jboss-service.xml file for configuration of Quartz Service. But I'm having some problem while deploying in jboss-3.2.6, which was not there in jboss-3.2.3(FYI, I'm using ListenerServiceMBeanSupport provided by jboss version 3.2.6): Since Quartz includes a quartz-service.xml in the jar quartz-_1_4.jar, Jboss finds it when Quartz is used and throws a message that the service isn't correctly configured and is awaiting further MBean definitions even though the way I am using Quartz everything is actually configured correctly. Personally, I'm never going to use the quartz-service.xml provided in the jar. Can somebody please help me out here? Thanks, Rachna View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857855#3857855 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857855 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Declaring local variables
Hi Chiba, Many thanks for the reply. It's all working now. I'd completely missed the second and third pages of the tutorial Duh! John. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857856#3857856 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857856 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - EJB with HttpServlet request
Hi, i am trying to invoke an ejb with a request parameter in JBoss 4.0 and its throwing me the following exception java.lang.reflect.UndeclaredThrowableException.. 17:06:23,843 ERROR [STDERR] Caused by: java.io.NotSerializableException: org.apa che.coyote.tomcat5.CoyoteRequestFacade 17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(Objec tOutputStream.java:1075) 17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectO utputStream.java:1245) 17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(Objec tOutputStream.java:1069) 17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(Object OutputStream.java:291) 17:06:23,843 ERROR [STDERR] at org.jboss.invocation.MarshalledValue.(M arshalledValue.java:57) 17:06:23,843 ERROR [STDERR] at org.jboss.invocation.MarshalledInvocation.wri teExternal(MarshalledInvocation.java:407) 17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeExternalData( ObjectOutputStream.java:1304) 17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeOrdinaryObjec t(ObjectOutputStream.java:1282) 17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(Objec tOutputStream.java:1073) 17:06:23,843 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(Object OutputStream.java:291) 17:06:23,843 ERROR [STDERR] at org.jboss.invocation.MarshalledValue.(M arshalledValue.java:57) 17:06:23,843 ERROR [STDERR] at org.jboss.invocation.MarshallingInvokerInterc eptor.invoke(MarshallingInvokerInterceptor.java:46) 17:06:23,843 ERROR [STDERR] at org.jboss.proxy.TransactionInterceptor.invoke (TransactionInterceptor.java:46) 17:06:23,843 ERROR [STDERR] at org.jboss.proxy.SecurityInterceptor.invoke(Se curityInterceptor.java:55) 17:06:23,843 ERROR [STDERR] at org.jboss.proxy.ejb.StatelessSessionIntercept or.invoke(StatelessSessionInterceptor.java:97) 17:06:23,843 ERROR [STDERR] at org.jboss.proxy.ClientContainer.invoke(Client Pls help me out. Thanx in advance Arun View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857857#3857857 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857857 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Static resource location
You don't need an absolute path. If the properties file is located in your archive, it is in your apps class path, too. Use the ContextClassLoader for loading it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857858#3857858 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857858 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: Cant even run JBOSS because of PORT 1098
Try netstat -a (on windows) to see which ports are used. Even if port 1098 is not used (JBoss would fail with can not start... port in use or something like that). Watch out for something like a local firewall, ... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857859#3857859 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857859 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: HTTP session replication don`t work
What happens if you continue to use your application instead of clicking refresh? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857860#3857860 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857860 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Thank you! But now, I have problems with the client.
Hi, thank you, I'm now able to deploy my bean. But now, I don't get the client started. In my bean, I have the jboss.xml with the following code: jboss | enterprise-beans | session | ejb-nameKontoBean/ejb-name | jndi-nameejb/KontoBean/jndi-name | /session | /enterprise-beans | resource-managers |/resource-managers | /jboss Here is my client code: | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.rmi.PortableRemoteObject; | import java.util.*; | | | public class HelloWorldClient | { |public static void main(String[] args) |{ | try | { | // Die EJB ber JNDI ermitteln | Context initial = new InitialContext(); | System.out.println(initial); | Object ref = initial.lookup(java:comp/env/ejb/KontoBean); | // Home-Interface referenzieren | KontoHome home = (KontoHome) | PortableRemoteObject.narrow |(ref, KontoHome.class); | // Konto-Bean referenzieren | Konto konto = home.create(); | // Konto-Methoden nutzen | System.out.println (Startguthaben: | + konto.getKontostand()); | konto.einzahlen (1000); | System.out.println (Neues Guthaben: | + konto.getKontostand()); | double betrag = konto.abheben (500); | System.out.println (Abgehoben: + betrag | + ; neues Guthaben: | + konto.getKontostand()); | } | catch(Exception e) | { | System.out.println (Ein Fehler ist aufgetreten!); | e.printStackTrace(); | } |} | } From this, I get the exception: anonymous wrote : | javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial | at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) | at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) | at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source) | at javax.naming.InitialContext.lookup(Unknown Source) | at HelloWorldClient.main(HelloWorldClient.java:24) | If I use the following client code: | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.rmi.PortableRemoteObject; | import java.util.*; | | | public class HelloWorldClient | { |public static void main(String[] args) |{ | try | { | // Die EJB ber JNDI ermitteln | Properties p = new Properties(); | p.put(Context.INITIAL_CONTEXT_FACTORY, | org.jnp.interfaces.NamingContextFactory); | p.put(Context. PROVIDER_URL, jnp://localhost:1099); | Context initial = new InitialContext(p); | System.out.println(initial); | Object ref = initial.lookup(java:comp/env/ejb/KontoBean); | // Home-Interface referenzieren | KontoHome home = (KontoHome) | PortableRemoteObject.narrow |(ref, KontoHome.class); | // Konto-Bean referenzieren | Konto konto = home.create(); | // Konto-Methoden nutzen | System.out.println (Startguthaben: | + konto.getKontostand()); | konto.einzahlen (1000); | System.out.println (Neues Guthaben: | + konto.getKontostand()); | double betrag = konto.abheben (500); | System.out.println (Abgehoben: + betrag | + ; neues Guthaben: | + konto.getKontostand()); | } | catch(Exception e) | { | // System.out.println(Ein Fehler ist aufgetreten!); | e.printStackTrace(); | } |} | } Then I get: anonymous wrote : javax.naming.NameNotFoundException: comp not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:503) | at org.jnp.server.NamingServer.getObject(NamingServer.java:509) | at org.jnp.server.NamingServer.lookup(NamingServer.java:253) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at
[JBoss-user] [Management, JMX/JBoss] - Re: Deploying Quartz Scheduler in jboss-3.2.6
can you post your jboss-service.xml file? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857862#3857862 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857862 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Thank you! But now, I have problems with the client.
The bean code you can find here: http://www.jboss.org/index.html?module=bbop=viewtopict=57375 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857863#3857863 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857863 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - startup classes / MBean cache implementation
Hi, I thought that JBoss had a similar facility to that offered by Sun for automatic startup of classes. For example Sun app server can use a Lifecycle module. Is the best way in JBoss to use MBean? Are there any other ways (apart from web.xml - servlet/load-on-startup) I would like to automatically startup a class that holds a cache of data that changes infrequently. I would like the ability to refresh this cache (perhaps from jmx) and lock access to the cache during update. Can MBeans provide locking or would I simply check a state variable that forces a wait whilst refresh takes place? Thanks, Peter View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857864#3857864 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857864 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: CMP with mySql
darranl, you're right my jboss ignores my jbosscmp-jdbc.xml file. I know because when I add wrong XML syntacs, my jboss doesn't complain. darranl is't it possible to send me a working CMP bean that uses MySql, it would help me a lot. Then I can be sure I'm using the right structure. email is Pieter at ChatBuilder.com Thx in adv. Pieter View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857865#3857865 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857865 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Deploying Quartz Scheduler in jboss-3.2.6
The contents of my jboss-service.xml file are: myQuartzService subscription-list /subscription-list #Configure Scheduler=# org.quartz.scheduler.instanceName = MyQuartzScheduler org.quartz.scheduler.instanceId = AUTO org.quartz.scheduler.rmi.export = false org.quartz.scheduler.rmi.proxy = false org.quartz.scheduler.xaTransacted = false; org.quartz.scheduler.dbFailureRetryInterval = 5000 #Configure Thread Pool===# org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool org.quartz.threadPool.threadCount = 15 org.quartz.threadPool.threadPriority = 5 org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread = true #Configure Job Store=# org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX org.quartz.jobStore.misfireThreshold = 6 org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.PostgreSQLDelegate org.quartz.jobStore.dataSource = nuDS org.quartz.jobStore.dontSetAutoCommitFalse = DONT_TURN_OFF_AUTO_COMMIT org.quartz.jobStore.tablePrefix = qrtz_ #Configure Data Source++=# org.quartz.dataSource.nuDS.driver = org.quartz.dataSource.nuDS.URL = org.quartz.dataSource.nuDS.user = org.quartz.dataSource.nuDS.password = org.quartz.dataSource.nuDS.maxConnections = 3 #Configure Scheduler Plugins=# org.quartz.plugin.jobInitializer.class = org.quartz.plugins.xml.JobInitializationPlugin org.quartz.plugin.jobInitializer.fileName = data/jobs.xml org.quartz.plugin.jobInitializer.overWriteExistingJobs = true org.quartz.plugin.jobInitializer.failOnFileNotFound = true jboss:service=Naming jboss:service=Naming View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857866#3857866 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857866 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep
Ok, I'm nearly there but not yet. I can ascertain what is in my keystore by doing: $ keytool -list Enter keystore password: mypassword | Keystore type: jks | Keystore provider: SUN | | Your keystore contains 1 entry | | beyarecords.com, Dec 7, 2004, keyEntry, | Certificate fingerprint (MD5): 32:44:5B:78:85:BA:BA:96:C1:CF:DF:A2:6A:0E:78:CB | I specify properties in jboss like so: | javax.net.ssl.keyStore=/library/java/home/lib/security/cacerts | javax.net.ssl.keyStorePassword=changeit | javax.net.ssl.keyStoreType= JKS | The error message I get back is: | sun.security.validator.ValidatorException: No trusted certificate found | If I say : | javax.net.ssl.keyStore=/library/java/home/lib/security/cacerts/beyarecords.com | javax.net.ssl.keyStorePassword=mypassword | I get the following error: | java.net.SocketException: Default SSL context init failed: null | I am of the understanding that once a certificate has been imported into the keystore and associated via an alias(beyarecords.com) with a key (32:44:5B:78:85:BA:BA:96:C1:CF:DF:A2:6A:0E:78:CB) that it is then trusted? What am I missing here? Would it be helpfull if I posted the certificate just to verify from someone that the certificate is working properly? regards Andrew View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857867#3857867 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857867 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Deploying Quartz Scheduler in jboss-3.2.6
I am sorry the code wasn't displayed correctly. So, again, posting it: | server | mbean code=scheduler.service.QuartzService |name=user:service=myQuartzService,name=myQuartzService | attribute name=JndiNamenuQuartzService/attribute | | attribute name=SubscriptionList | subscription-list | mbean name=jboss.system:type=Server | notification type=org.jboss.system.server.started/ | /mbean | /subscription-list | /attribute | | attribute name=Properties | | #Configure Scheduler=# | org.quartz.scheduler.instanceName = MyQuartzScheduler | org.quartz.scheduler.instanceId = AUTO | org.quartz.scheduler.rmi.export = false | org.quartz.scheduler.rmi.proxy = false | org.quartz.scheduler.xaTransacted = false; | org.quartz.scheduler.dbFailureRetryInterval = 5000 | | #Configure Thread Pool===# | org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool | org.quartz.threadPool.threadCount = 15 | org.quartz.threadPool.threadPriority = 5 | org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread = true | | #Configure Job Store=# | org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX | org.quartz.jobStore.misfireThreshold = 6 | org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.PostgreSQLDelegate | org.quartz.jobStore.dataSource = nuDS | org.quartz.jobStore.dontSetAutoCommitFalse = DONT_TURN_OFF_AUTO_COMMIT | org.quartz.jobStore.tablePrefix = qrtz_ | | #Configure Data Source++=# | org.quartz.dataSource.nuDS.driver = | org.quartz.dataSource.nuDS.URL = | org.quartz.dataSource.nuDS.user = | org.quartz.dataSource.nuDS.password = | org.quartz.dataSource.nuDS.maxConnections = 3 | | #Configure Scheduler Plugins=# | org.quartz.plugin.jobInitializer.class = org.quartz.plugins.xml.JobInitializationPlugin | org.quartz.plugin.jobInitializer.fileName = data/jobs.xml | org.quartz.plugin.jobInitializer.overWriteExistingJobs = true | org.quartz.plugin.jobInitializer.failOnFileNotFound = true | | /attribute | | /mbean | | mbean code=scheduler.service.SchedulerProvider |name=user:service=SchedulerProvider | | dependsjboss:service=Naming/depends | /mbean | | mbean code=scheduler.service.SchedulerAdmin |name=user:service=SchedulerAdmin | | dependsjboss:service=Naming/depends | /mbean | /server View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857868#3857868 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857868 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - multiple deployments of the same app on jboss 3.2.2
hi, i need to have multiple deployments of the same app, here is what i have already changed the context from /a to /b the jndi references for the ejbs added another *-ds.xml file with a different jndi name created another db the db is mysql and i have created similar dbs with different names i am using eclipse and the lomboz plugin thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857869#3857869 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857869 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Deploying Quartz Scheduler in jboss-3.2.6
If you mean that the default jboss-service.xml is inside quartz-1.4.0.sar - You can unzip the sar to a subdirectory of default/deploy and name that subdirectory quartz-1.4.0.sar, then replace the file jboss-service.xml in default\deploy\quartz-1.4.0.sar\META-INF with your own file. when JBoss sees a subdirectory named *.sar, it handles it as if it is a sar file. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857870#3857870 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857870 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Exception Deploying the Struts application in Jboss 3.2.
Hi All, I'm also facing the same problem. Plz tell me what went wrong. Regards, Hari View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857871#3857871 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857871 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Thank you! But now, I have problems with the client.
The second approach is the correct approach to get the initial context unless you are going to use one of the alternative methods of providing propertied (jndi.properties or system properties). You don't need the 'java:comp/env/' in the lookup, just use the 'ejb/KontoBean'. Use jmx-console and the JNDI View bean to double check that everything is bound to JNDI correctly. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857872#3857872 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857872 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - How to configure MySQL for CMP Transaction
Hello, Can someone tell me how to configure MySQL 4 to do CMP transaction ? I guess i have to use innoDB table and to set autocommit=0 ? Can someone tell me the steps to configure correctly MySQL ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857873#3857873 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857873 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - THANK YOU!
Hi, thank you. It's running now!!! I'm lucky. Regards, PeaceMaker View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857875#3857875 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857875 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Distributed State Entry timeout
Hi all, Is there any way to timeout old keys from the specified category in Distributed State (DS)? Thanks in advance. Best regards, Monu View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857876#3857876 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857876 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: PostgreSQL + SSL - sun.security.validator.ValidatorExcep
Hi, in error I forgot to include the complete stack trace related to my very last post: | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.postgresql.util.PSQLException: The connection attempt failed.) | at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:161) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:508) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:207) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:534) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:396) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:299) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:448) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:838) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) | at net.sf.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:59) | at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:73) | at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1132) | at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:766) | at org.jboss.hibernate.jmx.Hibernate.buildSessionFactory(Hibernate.java:476) | at org.jboss.hibernate.jmx.Hibernate.startService(Hibernate.java:444) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:416) | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:927) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709) | at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at
[JBoss-user] [Persistence CMP/JBoss] - Problem with saving BINARY data with CMP
Hi, I'd like to store files in he database (SQL-Server). The File data itself is stored in a array byte[]. The entity attribute is an Object. The database column type is image. I have no problem with storing the data. But when reading the entity data from the database I get the following exception 2004-12-08 14:59:27,453 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.lang.Integer de.netpioneer.jchms.entities.ChangeRequestComment.getChangeRequestCommentID(), causedBy: java.sql.SQLException: Unable to load to deserialize result: java.io.StreamCorruptedException: invalid stream header at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.convertToObject(JDBCUtil.java:291) at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.access$500(JDBCUtil.java:53) at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil$6.readResult(JDBCUtil.java:585) at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil$AbstractResultSetReader.get(JDBCUtil.java:400) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.loadArgumentResults(JDBCAbstractCMPFieldBridge.java:424) at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.loadInstanceResults(JDBCAbstractCMPFieldBridge.java:373) at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:188) at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:72) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:612) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager.java:594) at org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:381) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.loadEntity(CachedConnectionInterceptor.java:352) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:239) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:114) What JDBC_TYPE do I have to configure in jbosscmp_jdbc.xml for the column. I already tryed BLOB, but this type wasnt supported by the driver. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857878#3857878 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857878 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: startup classes / MBean cache implementation
Yes, an MBean would be ideal for that, although there is not automatic locking. If the update you want to do is a quick one, then just using the standard Java synchronization facilities, or the oswego library to lock concurrent thread access between readers and the writer would be enough. Otherwise having an update flag, would do. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857880#3857880 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857880 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - EJB with BufferedImage problem
Hi all, Right now i have call one method which return BufferedImage but BufferedImage is class of java.awt so i can't return BufferedImage with this so any one of u have any other solution regarding this then pls help me. Regards, Amit View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857881#3857881 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857881 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Distributed State Entry timeout
No, only if you remove the keys yourself. Take a look at JBossCache and its use of eviction policies, that's exactly what you need. BTW: DistributedState will be ported on JBossCache, and eventually EOL'ed, so I suggest to move to JBossCache anyway. Bela View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857884#3857884 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857884 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Use existing Tomcat within JBoss 4.x
Hello Is there any way to integrate an existing Tomcat server into JBoss 4 and to disable the embedded one? I have to integrate an exsiting application without changing the environment but I want to use the same hardware for JBoss. Doing so I will extend the app to use EJB technology. Thanks Andre View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857885#3857885 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857885 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Problem while accessing the CMP(oracle)
I was deployed one CMP in JBOSS 3.2.5 it got deployed while accesing that BEAN it is throwing exception saying as 'null value was got for one attribute but it should not be'. actually i was developed a CMP for employee table which was there in ORACLE database my home interface is like as below package com.ness.training.ejb; import javax.ejb.EJBHome; import java.rmi.RemoteException; import javax.ejb.CreateException; import javax.ejb.FinderException; public interface EmployeeEntityHome extends EJBHome { public EmployeeEntity create(java.lang.Integer empID,String eName,String designation) throws CreateException,RemoteException; public EmployeeEntity findByPrimaryKey(Integer key) throws RemoteException,FinderException; public java.util.Collection findAll()throws RemoteException,FinderException; } my remote interface was like as below package com.ness.training.ejb; import javax.ejb.EJBObject; import java.rmi.RemoteException; public interface EmployeeEntity extends EJBObject { public Integer getEmpID() throws RemoteException; public String getEName() throws RemoteException; public String getDesignation() throws RemoteException; public void setEmpID(Integer ent) throws RemoteException; public void setEName(String eName) throws RemoteException; public void setDesignation(String designation) throws RemoteException; } My Bean class as like as below package com.ness.training.ejb; import javax.ejb.CreateException; import javax.ejb.EntityBean; import javax.ejb.EntityContext; public abstract class EmployeeEntityBean implements EntityBean { private transient EntityContext entContext; public Integer empID; public String eName; public String designation; public void setEntityContext(EntityContext context){ System.out.println(now it was in setEntityContext method); entContext = context; } public void unsetEntityContext(){ entContext = null; } public Integer ejbCreate(Integer empid , String ename , String design) throws CreateException{ this.empID =empid; this.eName = bvn; this.designation = se; System.out.println(inside bean method+empid); return this.empID; } public void ejbPostCreate(Integer empid,String ename , String design){ System.out.println(in side ejb post create method +empid); } public void ejbActivate(){ } public void ejbPassivate(){ } public void ejbRemove(){ } public void ejbLoad(){ } public void ejbStore(){ } public abstract Integer getEmpID(); public abstract String getEName(); public abstract String getDesignation(); public abstract void setEName(String ename); public abstract void setDesignation(String design); public abstract void setEmpID(Integer ent); } my ejb-jar.xml is like as below ?xml version=1.0 encoding=UTF-8? !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; !-- Generated XML! -- ejb-jar enterprise-beans ejb-nameFirstSessionBean/ejb-name com.ness.training.ejb.FirstSessionHome com.ness.training.ejb.FirstSession ejb-classcom.ness.training.ejb.FirstSessionBean/ejb-class session-typeStateless/session-type transaction-typeContainer/transaction-type !-- resource-ref res-ref-nameOracleDS/res-ref-name res-typejava.sql.DataSource/res-type res-authContainer/res-auth Data source for oracle /resource-ref-- ejb-nameEmployeeCMP/ejb-name com.ness.training.ejb.EmployeeEntityHome com.ness.training.ejb.EmployeeEntity ejb-classcom.ness.training.ejb.EmployeeEntityBean/ejb-class persistence-typeContainer/persistence-type prim-key-classjava.lang.Integer/prim-key-class False cmp-version1.x/cmp-version abstract-schema-nameEmployee/abstract-schema-name cmp-fieldfield-nameempID/field-name/cmp-field cmp-fieldfield-nameeName/field-name/cmp-field cmp-fieldfield-namedesignation/field-name/cmp-field primkey-fieldempID/primkey-field /enterprise-beans /ejb-jar my jbosscmp-jdbc-oracle.xml is like as below ?xml version=1.0 encoding=UTF-8? !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; !-- Generated XML! -- ejb-jar
[JBoss-user] [Messaging, JMS JBossMQ] - MantaRay and JBoss
Hi, I am trying to integrate JBoss with MantaRay (the open source JMS service). I want a JBoss MDB to listen to a MantaRay queue/topic. I have updated the required configuration files, but still, I get a ClassCastException, when JBoss is attempting to cast Destination into a SpyDestination. I saw that for OracleAQ and WebSphereMQ integration, a patch was released. Is there any news in this front? Any ideas on what I should do? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857887#3857887 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857887 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Problem with saving BINARY data with CMP
Hey thl-mot, If the problem is the JDBC_TYPE, you may want to look at VARBINARY. The jdbc types don't seem to be as standardized as one may hope. I personally configured the entity to also be a byte[], and the database column as a BLOB, and this works fine (it makes it large, but at least can assure the Data Transfer Objects work as expected). It looks like it is trying to stream the data, so even though it may be an 'Object', it may actually be trying to use it as a java.io. Input/OutputStream. Hope that helps! FYI - recommend you take a look at a WebDAV server for storing documents/images such as http://jakarta.apache.org/slide Maintains J2EE compliance without storing the data in BLOBs in the database, plus get to stream the data ;-) -D View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857892#3857892 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857892 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: uuid generation
The information is correct. What is your question about it as I don't see how it intersects this thread. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857899#3857899 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857899 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBoss 4.x fails to create JMS_XXX tables at startup
I found the problem. It is in the configuration of JCA actually for MS SQL2000 driver. The file mssql-ds.xml from the examples should have the following element set. | connection-property name=SelectMethodcursor/connection-property | MS has a support article on this. http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B313181 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857898#3857898 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857898 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - JBoss.NET and .NET WSDL Tool
Hi there, I haven't touched JBoss.NET for some time, but think that due to the .NET Framework Update end of August 04 the .NET WSDL Tool now reports a warning when I generate a stub for a .NET client. Schema validation warning: the namespace 'http://localhost:8080/jboss-net/services/WSAccessContract' is not available for reference in this schema. | | 'restriction' or 'extension' necessary. | | Warning: Schema could not be validated. Class generation may fail or may produce incorrect results. I looked up some stuff and found a reference to xml-namespaces. It said, that attributes have to be unique and it's prohibited to use 2 prefixes that point to the same namespace. Even though the wsdl-document may be well-formed (xml-ver 1.0), a tool that supports namespaces has to report an error if that happens. I deployed the web service using JBoss.Net in JBoss 3.2.5 and got the 2 warning messages above. If I'll delete the jmx-net.wsr file from the jboss-net.sar and restart the server (and re-generate the stub) I'll only get the namespace is not available for reference-message. Would this problem apply to the error message I got ?? ?xml version=1.0 encoding=UTF-8 ? | - wsdl:definitions targetNamespace=http://localhost:8080/jboss-net/services/WSAccessContract; |xmlns=http://schemas.xmlsoap.org/wsdl/; |xmlns:apachesoap=http://xml.apache.org/xml-soap; |xmlns:impl=http://localhost:8080/jboss-net/services/WSAccessContract; |xmlns:intf=http://localhost:8080/jboss-net/services/WSAccessContract; |xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; |xmlns:tns1=http://www.myorg.com/WebServices; |xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; |xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/; |xmlns:xsd=http://www.w3.org/2001/XMLSchema; | - wsdl:types JBoss 3.2.6 seems to work fine (after I installed the patch from Thomas), but also gives me a namespace reference-warning, when I generate the stub. Can someone tell me if this could cause real errors ?? or if this is nothing to worry about ?? cheers matt View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857893#3857893 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857893 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Use existing Tomcat within JBoss 4.x
No, deployment, class loading, jndi, security, etc. all require integration. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857897#3857897 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857897 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Ear deployment problems (:)
Hi everybody, Is there any improvement about EAR Deployment problem? I still have the same problem (NoClassDefFoundError) and could't find a solution.. any help will be appreceated.. Ismail View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857888#3857888 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857888 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - EAR deployment problem-NoClassDefFoundError
Hi everybody, I have a problem with EAR deployment on JBoss 4.0.0. I recieve the following error: 16:17:55,943 WARN [EJBDeployer] Verify failed; continuing java.lang.NoClassDefFoundError: info/collide/sybo/util/UniqueID at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:1647) at java.lang.Class.getDeclaredMethod(Class.java:1254) at org.jboss.verifier.strategy.AbstractVerifier.hasFinalizer(AbstractVerifier.java:591) at org.jboss.verifier.strategy.EJBVerifier20.verifyCMPEntityBean(EJBVerifier20.java:1883) at org.jboss.verifier.strategy.EJBVerifier20.checkBmpOrCmp2Entity(EJBVerifier20.java:167) at org.jboss.verifier.strategy.EJBVerifier20.checkEntity(EJBVerifier20.java:137) at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:157) at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:537) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889) .. I checked the forum and saw that some guys have the same problem but no solution is posted so far..so, does anybody know if there is any improvement about EAR Deployment problem? any help will be appreceated.. Ismail View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857889#3857889 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857889 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - jbossmq with CallerIdentityLoginModule
I am trying to get jbossmq to use my EJB's Security information to create, write and read topics. I have 2 Security Domains: 1. MyEJBSecurityDomain configured with an LdapLoginModule | | 2. jbossmq configured with | | | application-policy name=jbossmq | | authentication | | login-module code=com.brockhousecooper.tw.ejb.server.authentication.CallerIdentityLoginModule flag=required | | module-option name = managedConnectionFactoryNamejboss.jca:name=JmsXA,service=TxCM/module-option | | /login-module | | /authentication | | /application-policy | | | | | | I use this code to login from within an MBean and create a TopicConnection | | | lc = new LoginContext(client-login, handler); | | lc.login(); | | log.info(principal before: + SecurityAssociation.getPrincipal()); | | connection = conFactory.createTopicConnection(); | | | | the log prints principal before: admin before creating the topic, however, jbossmq's Security Interceptor reports: | [ServerSecurityInterceptor] Autenticating user null/null | and the calls GetPrincipalInfoAction.getPrincipal() and GetPrincipalInfoAction.getCredential() inside CallerIndentityLoginModule both return null. | | Are my login modules badly configured or is this a bug in CallerIdentityLoginModule? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857900#3857900 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857900 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: jbossmq with CallerIdentityLoginModule
I forgot to mention I'm using JBoss-3.2.6 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857901#3857901 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857901 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Deploying Quartz Scheduler in jboss-3.2.6
What is wrong with simply removing the quartz-service.xml from the jar? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857902#3857902 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857902 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss 4.0.0 Bank example compile error
I'm also hitting this error. Google yields a few similar cases but there don't seem to be any solutions posted. It does seem to always occur on Linux. I guess it's either a Linux, JDK, or Ant. I'm going to try to upgrade ANT and my JDK and see if that helps. From which jar file do you expect JTextField to be loaded? It seems it's not in any of the jars jboss installs so I guess it should be coming out of rt.jar. Anyone have any thoughts on this issue? -exits View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857905#3857905 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857905 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss 4.0.0 Bank example compile error
Dumb question. Are you using the sun JVM? What version? (java -version) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857908#3857908 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857908 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: Problem with saving BINARY data with CMP
Hey, In your case, does the database contain the serialized array obejct or the byte values from the array? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857910#3857910 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857910 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Is JBoss4.0 using RMI or remoting
I am wondering how jboss handles remote method invokation. The other quesion is when and how the stub and skel of each bean are created in jboss. Thanks in advance! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857913#3857913 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857913 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Error deserializing custom java object (using jboss.net xdoc
I'm building a web service using jboss.net and it's associated xdoclet tags. I'm following the example in the article posted at www.nsdev.org/jboss/stories/jboss-net.html. One of my web service messages takes a simple custom java object as one of it's parameters. I've followed the example in the before mentioned article to set up my custom java class so that it is correctly serialized and deserialized. When I run an axis based client generated from the WSDL exported by my web service I get the following exception: org.xml.sax.SAXException: Deserializing parameter 'scriptParameters': could not find deserializer for type {http://sample}RunScriptParameters at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169) ... RunScriptParameters is the name of my custom java class. I've annotated my custom java class with exdoclet tags as follows: package sample; | | /** The RunScriptParameters Class | * @jboss-net.xml-schema urn=sample:RunScriptParameters | */ | public class RunScriptParameters implements java.io.Serializable | { | private java.lang.String scriptText; | | RunScriptParameters() | { | } | | public java.lang.String getScriptText() | { | return scriptText; | } | | public void setScriptText(java.lang.String scriptText) | { | this.scriptText = scriptText; | } | } My build.xml file contains the following element in the xdoclet build rule: jbossnet webDeploymentName=${ejb.build.name} | prefix=sample | destdir=${jboss-config.dir}/META-INF | targetNameSpace=http://localhost:8080/jboss-net/services/${ejb.build.name}; / Note the prefix sample matches the prefix in the urn attribute in the xdoclet tag on the java class. The following web service file is generated by xdoclet: ?xml version=1.0 encoding=UTF-8? | | !-- -- | !-- This JBoss.Net Web Service Descriptor has been generated by XDoclet -- | !-- and is brought to you by F. M. Brier, C. G. Jung and J. Essington -- | !-- -- | | deployment | name=IdsEJB | xmlns=http://xml.apache.org/axis/wsdd/; | targetNamespace=http://localhost:8080/jboss-net/services/IdsEJB; | xmlns:sample=http://localhost:8080/jboss-net/services/IdsEJB; | xmlns:java=http://xml.apache.org/axis/wsdd/providers/java; | | !-- The following are declarations of service endpoints targetted to | session beans -- | | service name=IdsEJB provider=Handler | parameter name=handlerClass value=org.jboss.net.axis.server.EJBProvider/ | parameter name=beanJndiName value=ejb/IdsBeanLocal/ | parameter name=allowedMethods value=about runScript / | operation name=about returnQName=AboutString | /operation | operation name=runScript |parameter name=scriptParameters/ | /operation | requestFlow name=IdsEJBRequest | /requestFlow | responseFlow name=IdsEJBResponse | /responseFlow | /service | | service name=JmxBrowse provider=Handler | parameter name=handlerClass value=org.jboss.net.axis.server.EJBProvider/ | parameter name=beanJndiName value=ejb/JmxBrowseBeanLocal/ | parameter name=allowedMethods value=queryNames about / | operation name=queryNames returnQName=Queries |parameter name=name/ | /operation | operation name=about returnQName=AboutString | /operation | requestFlow name=JmxBrowseRequest | /requestFlow | responseFlow name=JmxBrowseResponse | /responseFlow | /service | | !-- The following are typemappings for entity beans for implementing | the implicit web-service value-object pattern -- | | !-- The following are typemappings for bean-type value-objects -- | | typeMapping | qname=sample:RunScriptParameters | type=java:sample.RunScriptParameters | serializer=org.apache.axis.encoding.ser.BeanSerializerFactory | deserializer=org.apache.axis.encoding.ser.BeanDeserializerFactory | encodingStyle=http://schemas.xmlsoap.org/soap/encoding// | | !-- There follow merged custom web service descriptions -- | | /deployment The wsdl file that is returned from my service and from which I generated the axis based client is: ?xml version=1.0 encoding=UTF-8? | wsdl:definitions targetNamespace=http://10.51.241.60:8080/jboss-net/services/IdsEJB; xmlns=http://schemas.xmlsoap.org/wsdl/; xmlns:apachesoap=http://xml.apache.org/xml-soap; xmlns:impl=http://10.51.241.60:8080/jboss-net/services/IdsEJB; xmlns:intf=http://10.51.241.60:8080/jboss-net/services/IdsEJB;
[JBoss-user] [Persistence CMP/JBoss] - Re: Problem with saving BINARY data with CMP
The database (with byte[] entity field and BLOB database column) stores the data as real byte data, not a serialized java object. As such, you can store and retrieve the BLOB to/from normal binary file manipulation using tools/languages other than Java. -D View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857915#3857915 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857915 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Configuration DynamicLoginConfig
A war file cannot contain anything but servlets. You need to use an ear to bundle a war with other deployment types like services and ejbs. In terms of your example, your simply missing the trailing '/' in the TomcatSample-service.xml classpath. The following works fine for me: | server |classpath codebase=file:///C:/tmp/etc// | |mbean code=org.jboss.security.auth.login.DynamicLoginConfig | name=jboss.security:applicational=SecurityConfig | attribute name=AuthConfigmyloginconfig.xml/attribute | depends optional-attribute-name=LoginConfigService | jboss.security:service=XMLLoginConfig | /depends | depends optional-attribute-name=SecurityManagerService | jboss.security:service=JaasSecurityManager | /depends |/mbean | |mbean code=org.jboss.deployment.scanner.URLDeploymentScanner | name=jboss.deployment.tcsample:type=DeploymentScanner,flavor=URL | depends optional-attribute-name=Deployerjboss.system:service=MainDeployer/depends | attribute name=URLComparatororg.jboss.deployment.DeploymentSorter/attribute | attribute name=Filterorg.jboss.deployment.scanner.DeploymentFilter/attribute | attribute name=ScanPeriod5/attribute | attribute name=URLs | file:///C:/tmp/TomcatSampleServlets_jboss/deploy/ | /attribute | attribute name=RecursiveSearchTrue/attribute |/mbean | /server | Note that we have not tested multiple deployments of the URLDeploymentScanner so there may be some multi-threaded issue with your war deployments. The URLs property accepts a comma seperated list so the second deploy directory can be specified in the conf/jboss-service.xml like: |mbean code=org.jboss.deployment.scanner.URLDeploymentScanner | name=jboss.deployment:type=DeploymentScanner,flavor=URL | ... | attribute name=URLs | deploy/,file:///C:/tmp/TomcatSampleServlets_jboss/deploy/ | /attribute | ... | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857916#3857916 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857916 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Problem installing JBOSS
Hi, I've installed JBOSS on my W2K Server and did the installation in c:\program files\jboss-4.0.1. But since I have an issue with the space with the directory structure, I decided to uninstall it. But for some reason, it won't get uninstalled so I manually removed the files from the directory and remove the application from the add/remove program. When I tried to install it on c:\jboss-4.0.1 or to any directory, it won't install and I've encountered an error description below. (Dec 8, 2004 10:11:25 AM), Install, com.installshield.product.service.product.PureJavaProductServiceImpl$Installer, err, java.lang.NullPointerException STACK_TRACE: 25 java.lang.NullPointerException at java.util.Hashtable.containsKey(Unknown Source) at com.installshield.product.service.registry.LoggedSoftwareObject.addRequired(Unknown Source) at com.installshield.product.service.registry.LoggedSoftwareObject.setRequired(Unknown Source) at com.installshield.product.service.registry.VPDDef.loadSoftwareObject(Unknown Source) at com.installshield.product.service.registry.VPDDef.getSoftwareObject(Unknown Source) at com.installshield.product.service.registry.PureJavaRegistryServiceImpl.findSoftwareObject(Unknown Source) at com.installshield.product.service.registry.PureJavaRegistryServiceImpl.findSoftwareObjects(Unknown Source) at com.installshield.product.service.registry.PureJavaRegistryServiceImpl.getSoftwareObject(Unknown Source) at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.installshield.wizard.service.LocalImplementorProxy.invoke(Unknown Source) at com.installshield.wizard.service.AbstractService.invokeImpl(Unknown Source) at com.installshield.product.service.registry.GenericRegistryService.getSoftwareObject(Unknown Source) at com.installshield.product.service.product.InstallableObjectVisitor.visitSoftwareObject(Unknown Source) at com.installshield.product.service.product.RequiredResourceIndices.visitSoftwareObject(Unknown Source) at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBean(Unknown Source) at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source) at com.installshield.product.service.product.RequiredResourceIndices.getRequiredResourceIndices(Unknown Source) at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source) at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source) at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Does anyone encountered this problem? Any suggestions? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857917#3857917 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857917 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: PostgreSQL + SSL - peer did not return a certificaten
Ok, i'm on the final run of the race! Jboss is shaking hands with postgreSQL via SSL but needs to verify itself to postgreSQL by returning a certifcate. Does anyone know where in Jboss I need to place the certifcate and how I go about specifying the location of the certificate? in other words, where is the .keystore located in jboss??? The complete stack trace is as follows: | 18:14:03,990 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.postgresql.util.PSQLException: The connection attempt failed.) | at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:161) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:508) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:207) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:534) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:396) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:299) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:448) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:838) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) | at net.sf.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:59) | at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:73) | at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1132) | at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:766) | at org.jboss.hibernate.jmx.Hibernate.buildSessionFactory(Hibernate.java:476) | at org.jboss.hibernate.jmx.Hibernate.startService(Hibernate.java:444) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:416) | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:927) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709) | at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at
[JBoss-user] [Security JAAS/JBoss] - Re: PostgreSQL + SSL - peer did not return a certificaten
Ok, i'm on the final run of the race! Jboss is shaking hands with postgreSQL via SSL but needs to verify itself to postgreSQL by returning a certifcate. Does anyone know where in Jboss I need to place the certifcate and how I go about specifying the location of the certificate? in other words, where is the .keystore located in jboss??? The complete stack trace is as follows: | 18:14:03,990 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.postgresql.util.PSQLException: The connection attempt failed.) | at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:161) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:508) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:207) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:534) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:396) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:299) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:448) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:838) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) | at net.sf.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:59) | at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:73) | at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1132) | at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:766) | at org.jboss.hibernate.jmx.Hibernate.buildSessionFactory(Hibernate.java:476) | at org.jboss.hibernate.jmx.Hibernate.startService(Hibernate.java:444) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:416) | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:927) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709) | at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at
[JBoss-user] [Installation Configuration] - Re: 4.0.0 installing an an AS400
Status I have determined that the error not being able to load eimos400.jar was valid. There was a symbolic link in the directory but no file where the link was pointed. Under V5R2 of os400, it is not loaded by default. I had to load a PTF. I still got the error about SA not being a valid user. After applying the PTF, JBOSS 3.2.6 installs and runs without modification or error. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857920#3857920 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857920 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: Is JBoss4.0 using RMI or remoting
RMI and remoting are not different things. The details of the transport for the semantic of RMI invocations ala ejbs depends on the ejb container configuration. There have not been ejb stubs and skeletons for over 3 years. Start with the online admin/devel guide. The 3.2.6 version applies to 4.0.x for this issue. http://www.jboss.org/docs/index View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857921#3857921 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857921 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: Is JBoss4.0 using RMI or remoting
No stub and skeleton in jboss? I thought it is the container responsible of generating them dynamically. We know that distributed garbage collection is implemented in RMI. I have read the jboss source code. It seems jboss use an other way to garbage collecte objects. How is the distributed GC implemented in jboss? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857922#3857922 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857922 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Can I wrap existing Java application as MBean to run it insi
Hello all, I have two Java applications, it talk to each other via RMI. I'd like to move both in the same JBoss JVM, but as first step keep that RMI that later could be dropped. How I can port Java application into JBoss? What's the right way to do it? thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857923#3857923 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857923 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss slow after a thread creation
Scott, I've found some useful information about -XX flats and GC parallel and concurrent algorithms in the Sun JVM (for multi CPU machines) and I guess my problem is solved. But, in any case, do you recommend some profiling tool to use with JBoss? Thank you very much, Rafael View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857924#3857924 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857924 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: Is JBoss4.0 using RMI or remoting
Re-read the source then. There is dynamic generation of proxies, not legacy artifacts like stubs and sekeletons. The distributed gc depends on the underlying transport which in the case of sun's rmi/jrmp is their implementation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857925#3857925 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857925 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - removing an instance from a cluster
Suppose we have a machine in a JBoss cluster that needs to be brought down because of a hardware failure (eg. a CPU or memory chip needs to be replaced asap). How can we: Remove the bad machine from the partition so that no new clients try to use EJBs on that server instance. Figure out when all clients that are currently connected to that machine have finished running. Does anyone have experience with this scenario? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857928#3857928 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857928 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jndi's error
Hi I am new to jboss and and looking through the posts to find my problem with JNDI which looks very similar to the one that codemyth has. Mine though is with a simple data source using jboss 3.2.6. Codemyth's problem was related to jndi-ejb lookups. Here is my source: part of web.x.xml where my datasource is defined: resource-ref blah res-ref-namejdbc/honeypot/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref part of jboss-web.xml where a different resource-ref is defined for jboss (I don't know WHY I need this but I found it on a different forum saying that I would need to define it here - so I did and here it is!): resource-ref res-ref-namejdbc/honeypot/res-ref-name jndi-namejdbc/honeypot/jndi-name /resource-ref Next is my snippet of code that looks up the resource: log.info (Creating initial context); props.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); props.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces); props.put(Context.PROVIDER_URL, jnp://localhost:1099); initCtx = new InitialContext(props); listContext (initCtx); log.info (Getting honeypot datasource!); dataSource = (DataSource)initCtx.lookup (java:comp/env/jdbc/honeypot); log.info (Getting Connection!); Now part of the exception trace that I am getting: 2004-12-08 16:04:38,221 INFO [STDOUT] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: jdbc not bound] 2004-12-08 16:04:38,231 INFO [STDOUT] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:972) 2004-12-08 16:04:38,231 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:615) ... ... ... Now I can print out the JNDI tree under java:comp/env/jdbc and I do see the honeypot entry. But when I look it up this is where I get the exception. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857929#3857929 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857929 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - jndi/datasource error similar to jndi/ejb post by codemyth
Hi I am new to jboss and and looking through the posts to find my problem with JNDI which looks very similar to the one that codemyth has. Mine though is with a simple data source using jboss 3.2.6. Codemyth's problem was related to jndi-ejb lookups. Here is my source: part of web.x.xml where my datasource is defined: resource-ref blah res-ref-namejdbc/honeypot/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref part of jboss-web.xml where a different resource-ref is defined for jboss (I don't know WHY I need this but I found it on a different forum saying that I would need to define it here - so I did and here it is!): resource-ref res-ref-namejdbc/honeypot/res-ref-name jndi-namejdbc/honeypot/jndi-name /resource-ref Next is my snippet of code that looks up the resource: log.info (Creating initial context); props.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); props.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces); props.put(Context.PROVIDER_URL, jnp://localhost:1099); initCtx = new InitialContext(props); listContext (initCtx); log.info (Getting honeypot datasource!); dataSource = (DataSource)initCtx.lookup (java:comp/env/jdbc/honeypot); log.info (Getting Connection!); Now part of the exception trace that I am getting: 2004-12-08 16:04:38,221 INFO [STDOUT] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: jdbc not bound] 2004-12-08 16:04:38,231 INFO [STDOUT] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:972) 2004-12-08 16:04:38,231 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:615) ... ... ... Now I can print out the JNDI tree under java:comp/env/jdbc and I do see the honeypot entry. But when I look it up this is where I get the exception. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857930#3857930 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857930 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Warning:WARN [TransactionImpl] Transaction TransactionI
Ok, i get it, but why am i getting the timeout? i know that you mean it could be due to my ejb methods, but if it happens because of some of my methods wouldnt it fails again even if i restart jboss? and it doesnt, and its weird it always happen after the server has been up for a long time (maybe a day or so)... Sorry if all this sounds like a newbie and dumb questions for you, but is there a way i can get the stackTrace once the timeout has been reached? now i only get the message i post, so i have no idea at what point (or in what method) is this happen... Thanx for your answers and time! PD: also i feel that if increase the timeout period of the server, ill be only patching the problem, so the app will reach the time out anyway, only a little time later, or it will not?... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857933#3857933 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857933 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss slow after a thread creation
I've worked in the development of JBossProfiler. It has been pretty stable, even having to download through CVS and generate the .WAR/.SAR at this present time. Also, at this time, I didn't convert the code for JVMTI (which is a newer version of the API I have used for Java 5). This means you can use the current version without any problem since you don't use any special GC option while capturing the data from your app-Server. Anyway, if you want to use that and you have a hard time compiling it, let me know them I can provide you a binary distribution. Information on how to use it is located on the wiki page for JbossProfiler. Clebert Suconic View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857934#3857934 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857934 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Identifying entity beans involved in an ApplicationDeadlockE
We are using JBoss 3.2.1. Our application has lengthy transactions that access many entity beans through CMRs. Whenever an entity bean is accessed through a CMR, that bean is locked by JBoss. As a result, we've experienced ApplicationDeadlockException for a number of scenarios in our application. When an ApplicationDeadlockException occurs, one of the two(or more) entities involved in the deadlock can be identified easily by examining the stack trace. How can I identify the other entities that are involved in the deadlock? Our application is complex enough that it is very difficult to keep track of of the beans involved in a transaction. I have tried using the entity lock monitor and it has been helpful from time to time but not always. Thanks in advance for any help. Stan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857935#3857935 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857935 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss vs. WebLogic tuning results
anonymous wrote : Have you tried 'cmp2.x jdbc2 pm' container? Just did, and it seems to not like redeploying my EJBs -- do I have to do something special to get redeployment to work? It spews exceptions like org.jboss.deployment.DeploymentException: Failed to register table cache for IP_AUC; - nested throwable: (javax.management.InstanceAlreadyExistsException: jboss.cmp:ejbname=Auction,service=tablecache,table=IP_AUC already registered.) and I have to restart the server. Which is a bit frustrating when I want to do a lot of redeployment to test my changes! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857936#3857936 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857936 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss 3.2.3 / Toplink 9.0.4 Error on commit()-ing a Unit
I have the same problem. Did anybody found a solution or root cause? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857937#3857937 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857937 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - strange deployment oddity
Hi People, I have a strange issue happening currently in my deployment. I've been given the task to perform some in-container tests of a message driven bean on our server. I'll just clarify that by in container, I mean that client requests to the MDB must come from inside the container. Originally these test were required to ensure that JBoss could handle JMS well but now it's moved more onto questions of the beans stability. In order to test this, I decided to create a new EAR file which would lookup the queue and make requests to it. The oddity isn't really anything to do with MDB's, the problem I am facing is that for some reason, the code executing in the message bean has problems when I've deployed my test EAR file to the server. The problems I have are kind of hard to pin down whilst remaining pretty black box about the component I have been set to test. One thing which does seem to fix it however, and as strange as this is, is to remove the test EAR from a running JBoss and put it back in, restart, and everything works as normal. My only explanation is that the ordering of classes loaded in the EARs is causing a conflict, this could be because they contain some common JAR files from our project. So, my question to you readers out there are what could be some likely causes... - static variables (they're a big no no, and i'm pretty sure the code i'm testing uses them to excess without understanding the implications) - ??? Any hints would be grateful, bruciadmin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857939#3857939 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857939 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Fibo tutorial - HTTP 500 error javax.servlet.ServletExce
If it wasn't your problem, if you don't copy your web-app.xml, jboss-web.xml, jboss.xml, ejb-jar.xml and the lookup code, I think not much people can help you... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857940#3857940 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857940 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Encrypted database connection (follow up)
Following this comment in an earlier thread (http://www.jboss.org/index.html?module=bbop=viewtopict=56817), anonymous wrote : | More generically I have thought about adding support for encyrpting any mbean attribute using the service described in the datasource password encryption faq but this has not been started. | | _ | | Scott Stark | Chief Technology Officer | JBoss Inc. | | Would it be possible to get some idea of time frames (even of the roughest kind) for the above. I am hoping to complete a JBoss4-Hibernate system by Feb-March (05). The choice of database would depend largely on the above (other things being equal). Much appreciated. Cheers -raj View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857943#3857943 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857943 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - error when starting jboss on redhat linux
Everything seems to go just peachy until this error when I startup jboss. The jboss-service.xml file is there but it can't find it for some reason? Do you think it is a permission problem? thanks in advace 15:42:04,611 INFO [Server] Core system initialized 15:42:04,722 ERROR [MainDeployer] Could not make local copy for file:/home/wiley 173/jboss-3.2.6/server/default/conf/jboss-service.xml java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1314) at java.io.File.createTempFile(File.java:1402) at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:990 ) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:673) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311) at org.jboss.Main.boot(Main.java:145) at org.jboss.Main$1.run(Main.java:399) at java.lang.Thread.run(Thread.java:534) 15:42:05,424 ERROR [MainDeployer] Could not initialise deployment: file:/home/wi ley173/jboss-3.2.6/server/default/conf/jboss-service.xml org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service. xml at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:522) at org.jboss.deployment.SARDeployer.init(SARDeployer.java:137) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher. java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:197) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:407) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:311) at org.jboss.Main.boot(Main.java:145) at org.jboss.Main$1.run(Main.java:399) at java.lang.Thread.run(Thread.java:534) Failed to boot JBoss: org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service. xml at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:522) at org.jboss.deployment.SARDeployer.init(SARDeployer.java:137) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:631) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at
[JBoss-user] [Installation Configuration] - Re: Jboss-3.2.5/Struts/Tiles Deployment Error
Hi, I am running into the same issue when I moved my jboss 3.2.3 tomcat application to jboss 4. But I am not using the embedded tomcat. Just plain JBoss. Could this be the problem ? Or have you been successful in solving the problem someother way ? Regards, Lenine View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857948#3857948 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857948 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss vs. WebLogic tuning results
anonymous wrote : Have a look at | http://www-106.ibm.com/developerworks/java/library/j-jtp11253/ | and try to setup your JVM parameters more properly. Thanks for that pointer. I've tried fiddling with different sizes for different parts of the heap and switching garbage collectors. I can shave 5-10 seconds off the test run time, which is good but still nowhere near WebLogic. Turning on very verbose GC logging as described in that article was informative, however. It tells me that WebLogic is being a lot more frugal about its object creation. Here is the GC output from two consecutive test runs under WL8 using the default garbage collectors (this is on just one of the two app servers): 397.132: [GC 397.133: [DefNew: 209791K-24046K(235968K), 2.8994055 secs] 258827K-73082K(1022400K), 2.8995789 secs] | 420.994: [GC 420.994: [DefNew: 233838K-16438K(235968K), 2.3361720 secs] 282874K-78856K(1022400K), 2.3365907 secs] | 459.288: [GC 459.288: [DefNew: 226230K-18275K(235968K), 0.4941213 secs] 288648K-84648K(1022400K), 0.4942972 secs] | 479.701: [GC 479.702: [DefNew: 228067K-14275K(235968K), 0.4610617 secs] 294440K-84463K(1022400K), 0.4612431 secs] Totaling up the differences in the A-B figures, that's a total of 1595MB garbage-collected. On JBoss, with the tweaks that got me the biggest performance gain, namely heap size increased to 1536MB and the MaxNew size set to 768MB (vs. 1024MB and 256MB for WebLogic), the output looks like this: 417.876: [GC 417.876: [DefNew: 147873K-6848K(157248K), 0.1584065 secs] 254811K-113787K(1555392K), 0.1585619 secs] | 418.741: [Full GC 418.742: [Tenured: 106938K-104471K(1398144K), 5.8910570 secs] 130645K-104471K(1555392K), | [Perm : 32410K-32375K(32512K)], 5.8912741 secs] | 431.097: [GC 431.097: [DefNew: 139775K-3583K(157248K), 0.1146439 secs] 244247K-108054K(1555392K), 0.1148095 secs] | 438.575: [GC 438.575: [DefNew: 143358K-4848K(157248K), 0.1276344 secs] 247829K-109319K(1555392K), 0.1278011 secs] | 445.096: [GC 445.096: [DefNew: 144624K-5849K(157248K), 0.8005188 secs] 249095K-110320K(1555392K), 0.8006881 secs] | 456.110: [GC 456.110: [DefNew: 145624K-7329K(157248K), 0.1943690 secs] 250095K-111800K(1555392K), 0.1945323 secs] | 463.571: [GC 463.571: [DefNew: 147071K-9693K(157248K), 0.2391462 secs] 251542K-114165K(1555392K), 0.2393058 secs] | 470.461: [GC 470.461: [DefNew: 149469K-11348K(157248K), 0.2775235 secs] 253941K-117005K(1555392K), 0.2776854 secs] | 477.302: [GC 477.302: [DefNew: 151124K-9799K(157248K), 0.9607772 secs] 256781K-119013K(1555392K), 0.9609508 secs] | 484.992: [Full GC 484.992: [Tenured: 109214K-120788K(1398144K), 4.1267928 secs] 248755K-120788K(1555392K), |[Perm : 32500K-32500K(32512K)], 4.1270046 secs] | 495.718: [GC 495.718: [DefNew: 139772K-1598K(157248K), 0.0804109 secs] 260560K-122386K(1555392K), 0.0806087 secs] | 502.776: [GC 502.776: [DefNew: 141364K-3113K(157248K), 0.1058699 secs] 262152K-123901K(1555392K), 0.1060297 secs] | 509.985: [GC 509.985: [DefNew: 142889K-5255K(157248K), 0.1436009 secs] 263677K-126043K(1555392K), 0.1437650 secs] | 520.092: [GC 520.092: [DefNew: 145031K-5883K(157248K), 0.1592386 secs] 265819K-126672K(1555392K), 0.1593999 secs] | 526.785: [GC 526.785: [DefNew: 145659K-7906K(157248K), 0.8480749 secs] 266448K-128694K(1555392K), 0.8482264 secs] | 533.990: [GC 533.990: [DefNew: 147682K-9275K(157248K), 0.2309098 secs] 268470K-130063K(1555392K), 0.2310682 secs] | 541.335: [GC 541.335: [DefNew: 149051K-9970K(157248K), 0.2338242 secs] 269839K-131308K(1555392K), 0.2339857 secs] | 547.981: [GC 547.981: [DefNew: 149746K-9285K(157248K), 0.2470304 secs] 271084K-132613K(1555392K), 0.2471913 secs] | 549.211: [Full GC 549.211: [Tenured: 123328K-130785K(1398144K), 3.6915951 secs] 145917K-130785K(1555392K), |[Perm : 32523K-32523K(32768K)], 3.6918101 secs] | 562.457: [GC 562.458: [DefNew: 139775K-5966K(157248K), 0.2013474 secs] 270561K-136752K(1555392K), 0.2015033 secs] That's a total of 4736MB of objects garbage-collected. I'm the first to admit I'm no expert on Java memory management! But I have to wonder if any amount of tweaking of GC settings is going to make up for a 3X difference in the amount of garbage that needs to be collected. If I'm interpreting those numbers incorrectly, I look forward to being set straight. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857949#3857949 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857949 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED]
[JBoss-user] [Installation Configuration] - Re: Problem installing JBOSS
Same here. Eventually uninstalled Java and JBoss, reinstalled Java, pulled the non-installer based distribution of 4.0.0, and ran it that way. Now I'm getting the following whenever I try to browse an aop node in web-console: org.apache.jasper.JasperException: Unable to compile class for JSP | | Generated servlet error: | C:\jboss-4.0.0RC1\server\default\work\jboss.web\localhost\web-console\org\apache\jsp\AOPBinding_jsp.java:9: cannot resolve symbol | symbol : class IntroductionPointcut | location: package pointcut | import org.jboss.aop.pointcut.IntroductionPointcut; | ^ | 1 error | | | | org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84) | org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332) | org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412) | org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) | org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) | org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) | org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) | javax.servlet.http.HttpServlet.service(HttpServlet.java:810) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857950#3857950 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857950 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: error when starting jboss on redhat linux
I think your problem is related to Linux file/dir permissions. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857955#3857955 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857955 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jndi/datasource error similar to jndi/ejb post by codemy
The resource you define in web.xml is only defined inside your application (it's a logical name), so you must map it to a phisical name using jboss-web.xml. This is to explain why you have to use the jboss-web.xml file. If you get this error I think it's due to you haven't defined a datasource with the name jdbc/honeypot in the configuration files of JBoss. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857956#3857956 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857956 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jndi's error
Where are you trying to access the EJBs? In the web tier? If so, you must define the reference in web.xml and jboss-web.xml files. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857957#3857957 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857957 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Exception Deploying the Struts application in Jboss 3.2.
JBoss-4.0.0 do not have this problem, but JBoss 4.0.1-RC2 produces same problem. I suspect this is an old problem of tomcat that the common libraries used crashes with the common libraries used in struts applications. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857958#3857958 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857958 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: jndi/datasource error similar to jndi/ejb post by codemy
Thanks, but I already figured it out. Turns out that I didn't have the data source file in my deploy directory. I must admit that it took 10+ hours to figure it out by digging through google and hacking around with jboss. The jboss docs don't provide enough detail. All of the tutorials and descriptions that I found on google didn't explain this. Other sources *abstracted* this detail away. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857959#3857959 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857959 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Problem while accessing the CMP(oracle)
You've made a big error in your bean code... If using CMP beans, then you cannot use public variables to store the values of the properties... You must change your code to: | package com.ness.training.ejb; | | import javax.ejb.CreateException; | import javax.ejb.EntityBean; | import javax.ejb.EntityContext; | public abstract class EmployeeEntityBean implements EntityBean | { | private transient EntityContext entContext; | | public void setEntityContext(EntityContext context){ | System.out.println(now it was in setEntityContext method); | entContext = context; | } | | public void unsetEntityContext(){ | entContext = null; | } | public Integer ejbCreate(Integer empid , String ename , String design) throws CreateException{ | setEmpID(empid); | setEName(ename); | setDesignation(design); | System.out.println(inside bean method+empid); | return null; | } | | public void ejbPostCreate(Integer empid,String ename , String design){ | System.out.println(in side ejb post create method +empid); | | } | | public void ejbActivate(){ | | } | | public void ejbPassivate(){ | } | | public void ejbRemove(){ | } | | public void ejbLoad(){ | } | | public void ejbStore(){ | } | | public abstract Integer getEmpID(); | | public abstract String getEName(); | | public abstract String getDesignation(); | | | public abstract void setEName(String ename); | | public abstract void setDesignation(String design); | | public abstract void setEmpID(Integer ent); | | } | I havent' looked at your descriptors, so maybe is still a problem there, but this is the biggest one ;). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857960#3857960 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857960 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Deploying Quartz Scheduler in jboss-3.2.6
Yes, the solution I implemented was this only. I removed the quartz-service.xml file from the jar but I was looking for a better solution since later if a new version of quartz_1_4.jar is released then I'll have to keep in mind of removing the file again from the jar then using it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857961#3857961 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857961 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Help needed Urgent .......
Hi, I'm using jboss4 and trying to deploy rar inside an ear. Resource adapter works fine if I deploy an rar in my /server/default/deploy directory with an notxfs-ds.xml (which is also placed in /server/default/deploy directory). The directory stucture storageservice.ear -/meta-inf/application.xml -/meta-inf/jboss-app.xml -/storageservice.rar --/storageservice.jar (is packaged in storageservice.rar and has all the resource adapter files) --/meta-inf/ra.xml notxfs-ds.xml connection-factories no-tx-connection-factory jndi-namenetapp_conn_factory/jndi-name rar-namestorageservice.rar/rar-name connection-definitioncom.ameriquest.eir.storage.device.netapp.NetAppConnectionFactory/connection-definition /no-tx-connection-factory jboss-app.xml jboss-app storageservice.rar /jboss-app /connection-factories application.xml application xmlns=http://java.sun.com/xml/ns/j2ee; version=1.4 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com /xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd; display-namestorageservice.rar/display-name ra.xml ?xml version=1.0 encoding=UTF-8? connector xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd; version=1.5 File xml resource adapter display-namestorageservice.rar/display-name vendor-nameJBoss, Inc/vendor-name eis-typeJBoss Example/eis-type resourceadapter-version4.0/resourceadapter-version COPYRIGHT AND PERMISSION NOTICE Copyright (c) 2004 JBoss, Inc This is released under the terms of the LGPL. See gnu.org for details. license-requiredtrue/license-required resourceadapter-classcom.ameriquest.eir.storage.device.netapp.ra.NetAppResourceAdapter/resourceadapter-class config-property config-property-nameFileSystemRootDir/config-property-name config-property-typejava.lang.String/config-property-type config-property-valueC:\test1/config-property-value /config-property outbound-resourceadapter connection-definition managedconnectionfactory-classcom.ameriquest.eir.storage.device.netapp.ra.NetAppMangedConnectionFactory/managedconnectionfactory-class connectionfactory-interfacecom.ameriquest.eir.storage.device.netapp.NetAppConnectionFactory/connectionfactory-interface connectionfactory-impl-classcom.ameriquest.eir.storage.device.netapp.ra.NetAppConnectionFactoryImpl/connectionfactory-impl-class connection-interfacecom.ameriquest.eir.storage.device.netapp.NetAppConnection/connection-interface connection-impl-classcom.ameriquest.eir.storage.device.netapp.ra.NetAppConnectionImpl/connection-impl-class /connection-definition transaction-supportNoTransaction/transaction-support authentication-mechanism authentication-mechanism-typeBasicPassword/authentication-mechanism-type credential-interfacejavax.resource.spi.security.PasswordCredential/credential-interface /authentication-mechanism reauthentication-supporttrue/reauthentication-support /outbound-resourceadapter This is the error I get 20:40:21,447 ERROR [URLDeploymentScanner] Incomplete Deployment listing: MBeans waiting for other MBeans: ObjectName: jboss.jca:service=NoTxCM,name=netapp_conn_factory state: CONFIGURED I Depend On: jboss.jca:service=ManagedConnectionPool,name=netapp_conn_factory jboss.jca:service=CachedConnectionManager Depends On Me: jboss.jca:service=ConnectionFactoryBinding,name=netapp_conn_fac tory ObjectName: jboss.jca:service=ManagedConnectionPool,name=netapp_conn_factory state: CONFIGURED I Depend On: jboss.jca:service=ManagedConnectionFactory,name=netapp_conn_facto ry Depends On Me: jboss.jca:service=NoTxCM,name=netapp_conn_factory ObjectName: jboss.jca:service=ManagedConnectionFactory,name=netapp_conn_factory state: CONFIGURED I Depend On: jboss.jca:service=RARDeployment,name='storageservice.rar' Depends On Me: jboss.jca:service=ManagedConnectionPool,name=netapp_conn_factor y ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=netapp_conn_factory state: CONFIGURED I Depend On: jboss.jca:service=NoTxCM,name=netapp_conn_factory Depends On Me: MBEANS THAT ARE THE ROOT
[JBoss-user] [EJB/JBoss] - Re: Problem while accessing the CMP(oracle)
thank you for responding my query i was changed my bean class with wich was given by but now it is throwing exception while starting itself it cant deployed the error i am getting was 10:24:12,977 ERROR [EntityContainer] Starting failed jboss.j2ee:jndiName=EmployeeCMP,service=EJB | org.jboss.deployment.DeploymentException: No field named 'empID' found in entity class.com.ness.training.ejb.EmployeeEntityBean | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCCMPFieldMetaData.loadFieldType(JDBCCMPFieldMetaData.java:803) | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCCMPFieldMetaData.init(JDBCCMPFieldMetaData.java:161) | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.init(JDBCEntityMetaData.java:375) | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.init(JDBCApplicationMetaData.java:140) | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:52) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:705) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:417) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:365) | at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:147) | at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) | at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837) | at $Proxy17.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:367) | at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy38.start(Unknown Source) | at org.jboss.ejb.EjbModule.startService(EjbModule.java:367) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) | at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedD my Deployment descriptor--ejb-jar.xml | | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; | | !-- Generated XML! -- | | ejb-jar | enterprise-beans | session | ejb-nameFirstSessionBean/ejb-name | homecom.ness.training.ejb.FirstSessionHome/home | remotecom.ness.training.ejb.FirstSession/remote | ejb-classcom.ness.training.ejb.FirstSessionBean/ejb-class | session-typeStateless/session-type | transaction-typeContainer/transaction-type | !-- resource-ref | res-ref-nameOracleDS/res-ref-name | res-typejava.sql.DataSource/res-type | res-authContainer/res-auth | descriptionData source for oracle/description | /resource-ref-- | /session | entity | ejb-nameEmployeeCMP/ejb-name | homecom.ness.training.ejb.EmployeeEntityHome/home |
[JBoss-user] [Installation Configuration] - Re: JBoss 4.0 Logging Related Problems.
Scott Stark wrote: anonymous wrote : | You cannot include the commons-logging.jar in your application if your using scoped class loading. This is the default class loading behavior in the 4.0.0 default configuration. OK, thanks for clarifying this. I was reading the Servlet 2.4 specification. The spec suggests that servlet containers should give preference to classes and resources that are contained in WEB-INF anonymous wrote : | SRV.9.7.2 | | [...] It is recommended also that the application class loader be implemented so that classes and resources packaged within the WAR are loaded in preference to classes and resources residing in container-wide library JARs. Is the JBoss team planning to implement this recommendation in a future release of JBoss 4.x? Cheers, -Sean View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857964#3857964 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857964 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Class Loaders and application isolation
I was reading the Servlet 2.4 specification. The spec suggests that servlet containers should give preference to classes and resources that are contained in WEB-INF anonymous wrote : | SRV.9.7.2 | | [...] It is recommended also that the application class loader be implemented so that classes and resources packaged within the WAR are loaded in preference to classes and resources residing in container-wide library JARs. | Based upon my limited work with JBoss 4.0.0, the default configuration for JBoss does not comply with this recommendation. (Please correct me if I am wrong) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857965#3857965 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857965 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Problem in starting Jboss In all Mode
java.lang.NullPointerException at org.jboss.naming.NonSerializableFactory.rebind(NonSerializableFactory.java:161) at org.jboss.ejb.Container.setupEnvironment(Container.java:953) at org.jboss.ejb.Container.startService(Container.java:729) at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:326) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:236) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:848) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:373) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:236) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy66.start(Unknown Source) at org.jboss.ejb.EjbModule.startService(EjbModule.java:394) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:236) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:848) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:373) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:236) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy20.start(Unknown Source) at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:605) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:746) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:709) at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131) at
[JBoss-user] [J2EE Design Patterns] - Diff between jboss-4.0.0RC1 jboss-4.0.0
What is that RC ,and Which one is for production , Whchi one is advance jboss-4.0.0RC1 or jboss-4.0.0 ,and which one is stable version. Thanks a lot in Advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857967#3857967 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857967 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user