[jboss-user] [Clustering/JBoss] - Re: Problem runing JBoss cluster - java.net.SocketException:

praveena do-not-reply at jboss.com
Tue Mar 18 03:32:00 EDT 2008


HI,

Even i was in the same way.. 
I think its better if u check with the JAVA_HOME path once it got set or not.. 

And type the command as follws:
[root at praveena ~]# su praveena
[root at praveena ~]# cd /home/praveena/software/jboss-4.2.2.GA/bin
[root at praveena bin]# export JAVA_HOME=/home/praveena/software/casper.softwares/jdk1.6.0_03
[root at praveena bin]# ./run.sh all
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /home/praveena/software/jboss-4.2.2.GA

  JAVA: /home/praveena/software/casper.softwares/jdk1.6.0_03/bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true

  CLASSPATH: /home/praveena/software/jboss-4.2.2.GA/bin/run.jar:/home/praveena/software/casper.softwares/jdk1.6.0_03/lib/tools.jar

=========================================================================

run.sh: unused non-option argument: all
11:39:05,915 INFO  [Server] Starting JBoss (MX MicroKernel)...
11:39:05,916 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
11:39:05,920 INFO  [Server] Home Dir: /home/praveena/software/jboss-4.2.2.GA
11:39:05,920 INFO  [Server] Home URL: file:/home/praveena/software/jboss-4.2.2.GA/
11:39:05,921 INFO  [Server] Patch URL: null
11:39:05,921 INFO  [Server] Server Name: default
11:39:05,921 INFO  [Server] Server Home Dir: /home/praveena/software/jboss-4.2.2.GA/server/default
11:39:05,921 INFO  [Server] Server Home URL: file:/home/praveena/software/jboss-4.2.2.GA/server/default/
11:39:05,921 INFO  [Server] Server Log Dir: /home/praveena/software/jboss-4.2.2.GA/server/default/log
11:39:05,922 INFO  [Server] Server Temp Dir: /home/praveena/software/jboss-4.2.2.GA/server/default/tmp
11:39:05,922 INFO  [Server] Root Deployment Filename: jboss-service.xml
11:39:06,629 INFO  [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc.
11:39:06,630 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_03-b05,Sun Microsystems Inc.
11:39:06,630 INFO  [ServerInfo] OS-System: Linux 2.6.23.1-42.fc8,i386
11:39:07,224 INFO  [Server] Core system initialized
11:39:10,119 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
11:39:10,121 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
11:39:10,871 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
11:39:10,871 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
11:39:11,035 INFO  [TransactionManagerService] Starting recovery manager
11:39:11,993 INFO  [TransactionManagerService] Recovery manager started
11:39:11,993 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
11:39:15,284 INFO  [EJB3Deployer] Starting java:comp multiplexer
11:39:15,578 INFO  [STDOUT] no object for null
11:39:15,580 INFO  [STDOUT] no object for null
11:39:15,608 INFO  [STDOUT] no object for null
11:39:15,632 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
11:39:15,647 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
11:39:17,591 INFO  [NativeServerConfig] JBoss Web Services - Native
11:39:17,591 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)
11:39:18,883 INFO  [Embedded] Catalina naming disabled
11:39:19,048 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/praveena/software/casper.softwares/jdk1.6.0_03/jre/lib/i386/server:/home/praveena/software/casper.softwares/jdk1.6.0_03/jre/lib/i386:/home/praveena/software/casper.softwares/jdk1.6.0_03/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
11:39:19,123 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-9999
11:39:19,124 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
11:39:19,124 INFO  [Catalina] Initialization processed in 241 ms
11:39:19,124 INFO  [StandardService] Starting service jboss.web
11:39:19,126 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
11:39:19,163 INFO  [Catalina] Server startup in 38 ms
11:39:19,314 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
11:39:20,116 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
11:39:20,259 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
11:39:20,356 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
11:39:21,169 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
11:39:21,619 INFO  [MailService] Mail Service bound to java:/Mail
11:39:21,767 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
11:39:21,799 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
11:39:21,839 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
11:39:21,889 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
11:39:21,935 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
11:39:21,958 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
11:39:22,038 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
11:39:22,044 INFO  [QuartzResourceAdapter] start quartz!!!
11:39:22,094 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
11:39:22,111 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
11:39:22,114 INFO  [RAMJobStore] RAMJobStore initialized.
11:39:22,114 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
11:39:22,114 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
11:39:22,114 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
11:39:23,094 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
11:39:23,380 INFO  [A] Bound to JNDI name: queue/A
11:39:23,382 INFO  [B] Bound to JNDI name: queue/B
11:39:23,384 INFO  [C] Bound to JNDI name: queue/C
11:39:23,386 INFO  [D] Bound to JNDI name: queue/D
11:39:23,388 INFO  [ex] Bound to JNDI name: queue/ex
11:39:23,431 INFO  [testTopic] Bound to JNDI name: topic/testTopic
11:39:23,433 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
11:39:23,434 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
11:39:23,438 INFO  [testQueue] Bound to JNDI name: queue/testQueue
11:39:23,488 INFO  [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
11:39:23,524 INFO  [DLQ] Bound to JNDI name: queue/DLQ
11:39:23,645 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
11:39:23,968 WARN  [JAXWSDeployerHookPreJSE] Cannot load servlet class: com.casper.db.kb.fw.LuceneServlet
11:39:23,969 WARN  [JAXWSDeployerHookPreJSE] Cannot load servlet class: com.casper.web.portal.servlets.CasperReportPrint
11:39:23,974 INFO  [TomcatDeployer] deploy, ctxPath=/casper-2.0, warUrl=.../deploy/casper-2.0.war/
11:39:24,037 INFO  [WebappClassLoader] validateJarFile(/home/praveena/software/jboss-4.2.2.GA/server/default/./deploy/casper-2.0.war/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
11:39:24,163 INFO  [STDOUT] DBName---------------------casperdb
11:39:24,177 INFO  [STDOUT] Schedular Started..........................
11:39:24,323 ERROR [STDERR] java.io.FileNotFoundException: /home/casper/jboss-4.2.2.GA/server/default/deploy/casper-2.0.war/WEB-INF/system/CasperConfig.xml
11:39:24,324 ERROR [STDERR]     at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:94)
11:39:24,324 ERROR [STDERR]     at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:103)
11:39:24,324 ERROR [STDERR]     at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
11:39:24,324 ERROR [STDERR]     at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
11:39:24,325 ERROR [STDERR]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
11:39:24,325 ERROR [STDERR]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
11:39:24,325 ERROR [STDERR]     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
11:39:24,325 ERROR [STDERR]     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
11:39:24,325 ERROR [STDERR]     at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
11:39:24,325 ERROR [STDERR]     at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
11:39:24,326 ERROR [STDERR]     at javax.xml.parsers.SAXParser.parse(SAXParser.java:277)
11:39:24,326 ERROR [STDERR]     at com.casper.db.kb.utils.ConfReader.parseDocument(ConfReader.java:42)
11:39:24,326 ERROR [STDERR]     at com.casper.db.kb.utils.ConfReader.runExample(ConfReader.java:27)
11:39:24,326 ERROR [STDERR]     at com.casper.db.kb.dshield.Dwndshield.runIt(Dwndshield.java:17)
11:39:24,326 ERROR [STDERR]     at com.casper.db.kb.dshield.Scheduler$1.run(Scheduler.java:30)
11:39:24,326 ERROR [STDERR]     at java.util.TimerThread.mainLoop(Timer.java:512)
11:39:24,326 ERROR [STDERR]     at java.util.TimerThread.run(Timer.java:462)
11:39:24,327 INFO  [STDOUT] Error in TrendCrawl:java.net.MalformedURLException
11:39:24,359 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
11:39:24,473 INFO  [TomcatDeployer] deploy, ctxPath=/sample, warUrl=.../deploy/sample.war/
11:39:24,549 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Packages waiting for a deployer ---
org.jboss.deployment.DeploymentInfo at 3146f0b5 { url=file:/home/praveena/software/jboss-4.2.2.GA/server/default/deploy/MySample.jar }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/home/praveena/software/jboss-4.2.2.GA/server/default/deploy/MySample.jar
  altDD: null
  lastDeployed: 1205820563686
  lastModified: 1205820563000
  mbeans:

--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo at 3146f0b5 { url=file:/home/praveena/software/jboss-4.2.2.GA/server/default/deploy/MySample.jar }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: file:/home/praveena/software/jboss-4.2.2.GA/server/default/deploy/MySample.jar
  altDD: null
  lastDeployed: 1205820563686
  lastModified: 1205820563000
  mbeans:


11:39:24,631 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-9999
11:39:24,720 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
11:39:24,750 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 18s:826ms
11:40:36,146 INFO  [STDOUT] am running ......
11:43:26,835 INFO  [STDOUT] am running ......



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137279#4137279

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137279



More information about the jboss-user mailing list