[Installation, Configuration & DEPLOYMENT] - Re: Persistence config with mysql.
by jaikiran
The jboss-service.xml looks fine to me. But the logs that you posted are strange.
anonymous wrote :
| 12:03:53,388 INFO [Server] Starting JBoss (MX MicroKernel)...
| 12:03:53,389 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
| 12:03:53,390 INFO [Server] Home Dir: /home/encore/jboss-4.0.4.GA
| 12:03:53,391 INFO [Server] Home URL: file:/home/encore/jboss-4.0.4.GA/
| 12:03:53,391 INFO [Server] Patch URL: null
| 12:03:53,392 INFO [Server] Server Name: default
| 12:03:53,392 INFO [Server] Server Home Dir: /home/encore/jboss-4.0.4.GA/server/default
| 12:03:53,392 INFO [Server] Server Home URL: file:/home/encore/jboss-4.0.4.GA/server/default/
| 12:03:53,392 INFO [Server] Server Log Dir: /home/encore/jboss-4.0.4.GA/server/default/log
| 12:03:53,392 INFO [Server] Server Temp Dir: /home/encore/jboss-4.0.4.GA/server/default/tmp
| 12:03:53,393 INFO [Server] Root Deployment Filename: jboss-service.xml
| 12:03:53,868 INFO [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc.
| 12:03:53,868 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_15-b04,Sun Microsystems Inc.
| 12:03:53,868 INFO [ServerInfo] OS-System: Linux 2.6.22-14-generic,i386
| 12:03:54,729 INFO [Server] Core system initialized
| 12:04:06,092 INFO [WebService] Using RMI server codebase: http://encore-portatil:8083/
| 12:04:06,114 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
| 12:04:06,545 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
| 12:04:10,424 INFO [MailService] Mail Service bound to java:/Mail
| 12:04:10,656 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
| 12:04:10,692 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
| 12:04:10,762 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
| 12:04:10,807 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
| 12:04:10,870 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
I would expect a lot other services to be deployed (like the jbossweb) before those rar files are deployed.
Did you do any other changes to the JBoss that you downloaded? Especially, did you delete anything from the deploy folder (other than the hssql-ds.xml)?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145810#4145810
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145810
18 years
[JBoss Messaging] - Re: Jboss Messaging How To
by sudheer_java26
Thanks, I am able to execute the above example.
now my .classpath file entries in eclipse are
<?xml version="1.0" encoding="UTF-8"?>
| <classpath>
| <classpathentry kind="src" path=""/>
| <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
| <classpathentry kind="lib" path="C:/myjboss-4.2.2/jboss-4.2.2.GA/server/messaging/lib/jboss-j2ee.jar"/>
| <classpathentry kind="lib" path="C:/myjboss-4.2.2/jboss-4.2.2.GA/server/messaging/lib/jboss-messaging.jar"/>
| <classpathentry kind="lib" path="C:/myjboss-4.2.2/jboss-4.2.2.GA/server/messaging/lib/jboss-remoting.jar"/>
| <classpathentry kind="lib" path="C:/myjboss-4.2.2/jboss-4.2.2.GA/server/messaging/jboss-messaging-client.jar"/>
| <classpathentry kind="output" path=""/>
| </classpath>
-----------
-Sudheer
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145809#4145809
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145809
18 years
[Installation, Configuration & DEPLOYMENT] - Re: Can not get connection to server. Problem establishing s
by jaikiran
"alexsbe" wrote :
|
| If I call the ejb from an application server or a java application the error is the same.
| If I run the two serveur (tomcat on different port and jboss 4.2.2), it work propertly.
|
| If you need more details tell me.
|
|
I still haven't completely understood your setup.
1) Is the client that you are running on a different system?
2) Is the client running on Tomcat and the EJB deployed on JBoss?
3) Does it work if both Tomcat (client) and JBoss(EJB) are on the same machine? (I guess, that's what you meant in your comment, above).
4) Where have you placed the jndi.properties file? Are you sure it is being picked up? Can you try hard-coding the properties in the client code while doing the lookup and see if it works? Like this:
Properties props = new Properties();
| props.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
| props.put(Context.PROVIDER_URL,"jnp://serverIP:1099");
| props.put(Context.URL_PKG_PREFIXES,"org.jboss.naming.jnp.interfaces");
| Context ctx = new InitialContext(props);
| LoginEJB3 loginEJB3 = (LoginEJB3)ctx.lookup("LoginEJB3Bean/remote");
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145794#4145794
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145794
18 years