[Tomcat, HTTPD, Servlets & JSP] - Problem in starting jboss
by narendrakchoudhary
Hi all,
Please help me to solve the problem .when i am starting jboss in linux i am getting the following errors
I type ./run.sh
then i got this probelm can any body tell me the reason for that ....
12:56:04,284 INFO [Server] Starting JBoss (MX MicroKernel)...
12:56:04,285 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)
12:56:04,286 INFO [Server] Home Dir: /home/gpmstesting/jboss-3.2.3
12:56:04,286 INFO [Server] Home URL: file:/home/gpmstesting/jboss-3.2.3/
12:56:04,287 INFO [Server] Library URL: file:/home/gpmstesting/jboss-3.2.3/lib/
12:56:04,288 INFO [Server] Patch URL: null
12:56:04,288 INFO [Server] Server Name: default
12:56:04,289 INFO [Server] Server Home Dir: /home/gpmstesting/jboss-3.2.3/server/default
12:56:04,289 INFO [Server] Server Home URL: file:/home/gpmstesting/jboss-3.2.3/server/default/
12:56:04,290 INFO [Server] Server Data Dir: /home/gpmstesting/jboss-3.2.3/server/default/data
12:56:04,290 INFO [Server] Server Temp Dir: /home/gpmstesting/jboss-3.2.3/server/default/tmp
12:56:04,291 INFO [Server] Server Config URL: file:/home/gpmstesting/jboss-3.2.3/server/default/conf/
12:56:04,291 INFO [Server] Server Library URL: file:/home/gpmstesting/jboss-3.2.3/server/default/lib/
12:56:04,292 INFO [Server] Root Deployment Filename: jboss-service.xml
12:56:04,295 INFO [Server] Starting General Purpose Architecture (GPA)...
12:56:04,481 INFO [ServerInfo] Java version: 1.3.1_20,Sun Microsystems Inc.
12:56:04,481 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.3.1_20-b03,Sun Microsystems Inc.
12:56:04,481 INFO [ServerInfo] OS-System: Linux 2.6.9-34.ELsmp,i386
12:56:04,516 INFO [ServiceController] Controller MBean online
12:56:04,607 INFO [MainDeployer] Started jboss.system:service=MainDeployer
12:56:04,684 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer@7ec107
12:56:04,684 INFO [JARDeployer] Started jboss.system:service=JARDeployer
12:56:04,716 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer@11d8c1
12:56:04,730 INFO [SARDeployer] Started jboss.system:service=ServiceDeployer
12:56:04,730 INFO [Server] Core system initialized
12:56:04,755 INFO [MainDeployer] Starting deployment of package: file:/home/gpmstesting/jboss-3.2.3/server/default/conf/jboss-service.xml
12:56:04,758 ERROR [MainDeployer] Could not make local copy for file:/home/gpmstesting/jboss-3.2.3/server/default/conf/jboss-service.xml
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1157)
at java.io.File.createTempFile(File.java:1242)
at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:993)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:674)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:479)
12:56:04,918 ERROR [MainDeployer] Could not initialise deloyment: file:/home/gpmstesting/jboss-3.2.3/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:499)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:115)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:479)
Failed to boot JBoss:
org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml
at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:499)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:115)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:479)
12:56:04,944 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
12:56:04,945 INFO [Server] Shutting down all services
Shutting down
12:56:04,946 INFO [ServiceController] Stopping 3 services
12:56:04,947 INFO [SARDeployer] Stopping jboss.system:service=ServiceDeployer
12:56:04,947 INFO [MainDeployer] Removing deployer: org.jboss.deployment.SARDeployer@11d8c1
12:56:04,948 INFO [JARDeployer] Stopping jboss.system:service=JARDeployer
12:56:04,949 INFO [MainDeployer] Stopping jboss.system:service=MainDeployer
12:56:04,949 INFO [ServiceController] Stopped 3 services
12:56:04,962 INFO [Server] Shutdown complete
Shutdown complete
Halting VM
Page 1 of 1
All times are GMT
Jump to:
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151651#4151651
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151651
18 years, 1 month
[Installation, Configuration & DEPLOYMENT] - Re: How do I stop a Jboss server using shutdown.bat by passs
by uttam_lovesjava
Hi peter,my situation is quite different as u hav understood,, Let me explain u once,,
Wel,i wil start a JBoss server in a console1 and once it gets fully started and wil run a shutdown.bat file which wil open another console say console2.
Thru console2 by running shutdown file ,i m unable to stop Jboss server,,i hav added set ARGS=%ARGS% -S in the ":end" line of shutdown file but dint work.
So plz let me knw the solutions.!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151650#4151650
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151650
18 years, 1 month
[JCA/JBoss] - Re: Implementing custom datasource
by unnis
Dear adrian,
Thanks for the reply. My exact requirement is the following.
Based on the user profile I need to connect multiple databases. All of my databases will reside in same mysql server and is having same structure.I can't use multiple datasource and multiple connection pool, since the number of databses is more. So my plan is to have a single datasource and swich the database using setCatalog() jdbc method.
My application does the data source lookup in the following ways
1) Direct JNDI lookup in EJB
2) Using Hibernate
3) Using KODO-JDO
In all the above cases I am using same JNDI name ( mySqlDS) .
How can I achive this ???
I feel that database switching has to be done before giving the connection to the client ( EJB/Hibernate/jdo) . So this has to be done at DataSource level so that ds.getConnection() should return the proper connection with proper catalog set.
If I am using CustomDataSource , Inside CustomDataSource is there a way to access values from EJbContext ???
Thanks & Regards
unnis
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151648#4151648
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151648
18 years, 1 month
[JNDI/Naming/Network] - Re: jboss-client.jar really needed for Tomcat?
by kahzoo
I'm not from JBoss/RedHad, but my guess is YES, you need the client jars from JBoss to access JBoss JNDI tree from a standalone Tomcat.
The reason is, although the JNDI application programming interface is publicly defined by J2EE spec, the underlying communication protocol (between the JNDI server and client) is vendor specific, and if you need to connect to JBoss's JNDI sever, you need JNDI client classes which understand/talk the JBoss JNDI protocol.
I believe the minimum set of jars you need to access JBoss JNDI is:
jboss-common-client.jar
jnp-client.jar
But if you need to access other components like EJB, MQ, etc, you will also need other jars, and going with jbossall-client.jar would probably be the safest way to avoid ClassNotFoundException.
Hope this helps.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151639#4151639
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151639
18 years, 1 month
[Installation, Configuration & DEPLOYMENT] - Re: Not able to access https://localhost:8009 or http://loca
by cool_coder
Thanks Man
I was struggling on it and you got it. The trick is I should use http:localhost:8080 instead of https://localhost:8080.
But these lines still bothering my mind:
19:06:14,410 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.6.0\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jre1.6.0\bin\client;C:\Program Files\Java\jre1.6.0\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\
19:06:22,857 WARN [SecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
19:06:23,458 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
19:06:23,458 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
I know if I would read the documentation I would know what the exact problem is but little bit help would be really helpful.
Thanks in advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151638#4151638
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151638
18 years, 1 month
[Beginners Corner] - Re: Updating JDBC Datasources
by sankul123
"sankul123" wrote : Hi ALL,
|
| Also I want to persist changes into {JBossHome}/server/default/deploy/oracle-ds.xml.
| Is there anyway I can take this -ds.xml inside my context[.ear]
|
| Am ?I doing any blunder , please HELP :)
This is the solution I am using , experts please comment on this
To take *-ds.xml file inside ear -
- Added a new module under services in jboss-app.xml
<jboss-app>
| <module>
| <service>META-INF/myApp-ds.xml</service>
| </module>
| </jboss-app>
- copied the myApp-ds.xml file inside META-INF in the build scripts itself.
And I will be by hook or crook updating the *-ds.xml file which will be inside my context , which requires no file permissions when run under java security.
Please let me know if anything else can be done ...
Regards,
Sandeep Kulkarni
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151634#4151634
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151634
18 years, 1 month