[Clustering/JBoss] - Jboss 4.2.2.GA clustering..
by praveena
Hi ,
I am new to Jboss.
I am currently working for evaluting different application servers..(tomcat, Jboss, Geronimo)
I was looking for the clustering feature in Jboss 4.2.2.GA. I am not able to find any proper response from the forums of Jboss.. Please let me know where exactly can i get the information regarding my issues and bugs..
Here is my issue:
I was trying to cluster jboss4.2.2.GA in fedora 8..
According to the documentation given, I ve run the apache server(httpd-2.0.63);
I was able to run Jboss and Apache servers parallely..
But, when tested with an application like: http://localhost:9999/sample/hello.jsp is running properly(jboss)
And when parallely in another tab, http://localhost/sample/hello.jsp is returning 404 NOTFOUND error page.. and the error_log page of apache is found with the message:
[Tue Mar 18 11:41:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/sample
[Tue Mar 18 11:41:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/sample
[Tue Mar 18 11:41:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/favicon.ico
[Tue Mar 18 11:57:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/sample
[Tue Mar 18 12:32:59 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/sample
Please let me know abt the relevant information at the earliest..
--
Regards,
Praveena Chalamcharla,
Securview....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137282#4137282
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137282
18 years, 1 month
[Clustering/JBoss] - clustering Jboss4.2.2.GA in Linux..
by praveena
Hi ,
I am new to Jboss.
I am currently working for evaluting different application servers..(tomcat, Jboss, Geronimo)
I was looking for the clustering feature in Jboss 4.2.2.GA. I am not able to find any proper response from the forums of Jboss.. Please let me know where exactly can i get the information regarding my issues and bugs..
Here is my issue:
I was trying to cluster jboss4.2.2.GA in fedora 8..
According to the documentation given, I ve run the apache server(httpd-2.0.63);
I was able to run Jboss and Apache servers parallely..
But, when tested with an application like: http://localhost:9999/sample/hello.jsp is running properly(jboss)
And when parallely in another tab, http://localhost/sample/hello.jsp is returning 404 NOTFOUND error page.. and the error_log page of apache is found with the message:
[Tue Mar 18 11:41:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/sample
[Tue Mar 18 11:41:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/sample
[Tue Mar 18 11:41:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/favicon.ico
[Tue Mar 18 11:57:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/sample
[Tue Mar 18 12:32:59 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/sample
Please let me know abt the relevant information at the earliest..
--
Regards,
Praveena Chalamcharla,
Securview....
"bstansberry(a)jboss.com" wrote : Have you edited conf/jndi.properties? Or, do any of your deployments package a jndi.properties file? Or, do you in any way set the java.naming.url system property?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137281#4137281
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137281
18 years, 1 month
[Clustering/JBoss] - Re: Problem runing JBoss cluster - java.net.SocketException:
by praveena
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@praveena ~]# su praveena
[root@praveena ~]# cd /home/praveena/software/jboss-4.2.2.GA/bin
[root@praveena bin]# export JAVA_HOME=/home/praveena/software/casper.softwares/jdk1.6.0_03
[root@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@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@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
18 years, 1 month
[Clustering/JBoss] - Re: jboss-4.2.2.GA Clustering ERROR !!!
by praveena
Hi..
I wanna inform you all that i was clustering jboss 4.2.2GA and in Fedora 8 environment..
I ve been trying cluster Jboss 4.2. For acquiring Loadbalancing, i ve run apache httpd 2.0 version.. and when i wanna test the cluster, i could not run the application on apache server, as similar to jboss.. like http://localhost/sample/hello.jsp
Its giving error like
[Tue Mar 18 11:36:56 2008] [notice] Apache/2.0.63 (Unix) mod_jk/1.2.26 configured -- resuming normal operations
[Tue Mar 18 11:41:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/sample
[Tue Mar 18 11:41:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/sample
[Tue Mar 18 11:41:05 2008] [error] [client 127.0.0.1] File does not exist: /usr/local/apache2/htdocs/favicon.ico
please look at this issue and respond me at the earliest..
PS: I request you to mail me the solution to ps050202(a)gmail.com
Thanks & Regards,
Praveena.
"harish73" wrote : Hi,
|
| I have installed jboss-4.2.2.GA with clustering on two different windows XP machine.
|
| 1) I don't know why the other member isn't joining the cluster.
|
| GMS: address is 153.58.49.100:7800
| -------------------------------------------------------
| 19:37:39,658 INFO [Partition A] Number of cluster members: 1
| 19:37:39,658 INFO [Partition A] Other members: 0
| 19:37:39,658 INFO [Partition A] Fetching state (will wait for 30000 milliseconds):
| 19:37:39,658 INFO [Partition A] State could not be retrieved (we are the first member in group)
| 19:37:39,721 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/153.58.49.100
| 19:37:39,737 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /153.58.49.100:1102, group=230.0.0.4, HA-JNDI address=153.58.49.100:1100
| 19:37:42,080 INFO [TreeCache] No transaction manager lookup class has been defined. Transactions cannot be used
| 19:37:42,346 INFO [STDOUT]
|
| 2)
|
| 20:03:18,028 WARN [NAKACK] 153.58.49.100:4358] discarded message from non-member 153.58.45.51:4877, my view is [153.58.49.100:4358|0] [153.58.49.100:4358]
| 20:03:18,028 INFO [TreeCache] viewAccepted(): MergeView::[153.58.45.51:4877|1][153.58.45.51:4877, 153.58.49.100:4358], subgroups=[[153.58.45.51:4877|0] [153.5
| 8.45.51:4877], [153.58.49.100:4358|0] [153.58.49.100:4358]]
|
|
| Can someone help me.
|
| Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137272#4137272
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137272
18 years, 1 month