Author |
Message |
07/14/2008 05:31:52
|
hrithik
neo
Joined: 07/14/2008 05:30:03
Messages: 3
Offline
|
Got message that shown below in server.log of jboss
what does it mean
can any body help to crack that.....!
C:\jboss-4.2.2.GA\bin>run
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: C:\jboss-4.2.2.GA
JAVA: "C:\terracotta-2.6.2\jre"\bin\java
JAVA_OPTS: -Xbootclasspath/p:"C:\terracotta-2.6.2\lib\dso-boot\dso-boot-hotspo
t_win32_150_15.jar" -Dtc.install-root=C:\terracotta-2.6.2 -Dtc.config=C:\terraco
tta-2.6.2\tc-config.xml -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.r
mi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
CLASSPATH: "C:\terracotta-2.6.2\jre"\lib\tools.jar;C:\jboss-4.2.2.GA\bin\run.j
ar
===============================================================================
2008-07-14 17:46:17,037 INFO - Terracotta 2.6.2, as of 20080626-150612 (Revision
8952 by cruise@WXPMO0 from 2.6)
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.createGlobalCon
text(ClassProcessorHelper.java:627)
at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.init(ClassProce
ssorHelper.java:417)
at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.systemLoaderIni
tialized(ClassProcessorHelper.java:805)
at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1327)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1286)
Caused by: com.tc.config.schema.setup.ConfigurationSetupException:
*******************************************************************************
The configuration data in the file at 'C:\terracotta-2.6.2\tc-config.xml' does n
ot obey the Terracotta schema:
[0]: Line 14, column 8: Element not allowed: server in element servers
*******************************************************************************
at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.loadCo
nfigurationData(StandardXMLFileConfigurationCreator.java:319)
at com.tc.config.schema.setup.StandardXMLFileConfigurationCreator.create
ConfigurationIntoRepositories(StandardXMLFileConfigurationCreator.java:204)
at com.tc.config.schema.setup.BaseTVSConfigurationSetupManager.runConfig
urationCreator(BaseTVSConfigurationSetupManager.java:98)
at com.tc.config.schema.setup.StandardL1TVSConfigurationSetupManager.<in
it>(StandardL1TVSConfigurationSetupManager.java:47)
at com.tc.config.schema.setup.StandardTVSConfigurationSetupManagerFactor
y.createL1TVSConfigurationSetupManager(StandardTVSConfigurationSetupManagerFacto
ry.java:197)
at com.tc.object.bytecode.hook.impl.DSOContextImpl.getGlobalConfigHelper
(DSOContextImpl.java:194)
at com.tc.object.bytecode.hook.impl.DSOContextImpl.createGlobalContext(D
SOContextImpl.java:62)
... 9 more
Press any key to continue . . .
C:\jboss-4.2.2.GA\bin>
|
|
|
07/14/2008 06:46:38
|
kiwu
journeyman
Joined: 05/20/2008 00:59:21
Messages: 18
Offline
|
It would be helpful to see the configuration file. Could you post the tc-config.xml file under C:\terracotta-2.6.2\?
Chris
|
|
|
07/14/2008 07:39:13
|
zeeiyer
consul
Joined: 05/24/2006 14:28:28
Messages: 493
Offline
|
Also as the error message states there is an issue with an element specification at
Line 14, column 8: Element not allowed: server in element servers
You can find the reference tc-config.xml at $TERRACOTTA_INSTALL_DIR/docs/tc-config-reference.xml
Thanks
|
Sreeni Iyer, Terracotta.
Not a member yet - Click here to join the Terracotta Community |
|
|
07/14/2008 07:41:00
|
tgautier
seraphim
Joined: 06/05/2006 12:19:26
Messages: 1781
Offline
|
Before you go too far down the path, you should know that Terracotta does not support JBoss 4.2.2 (although this is not the source of the error you are receiving).
We currently support Tomcat, JBoss 4.0, Jetty, WebLogic, WebSphere, and Glassfish.
For up to date platform support, check here: http://www.terracotta.org/confluence/display/docs1/Platform+Support
|
|
|
07/22/2008 21:51:28
|
hari
neo
Joined: 07/22/2008 21:43:53
Messages: 4
Offline
|
Hi, I also have the same problem. i am using jboss 4.2.1.
The configuration data in the file at '/tmp/haris/terracotta-2.6.2/tc-config.xml' does not obey the Terracotta schema:
[0]: Line 14, column 8: Element not allowed: server in element servers
my tc-config.xml -
<tc:tc-config xmlns:tc="http://www.terracotta.org/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.terracotta.org/schema/terracotta-4.xsd">
<servers>
<!-- The <update-check> element helps ensure that you're using the latest version of Terracotta DSO.
Out-of-date versions trigger a message to log and standard output. -->
<update-check>
<enabled>true</enabled>
</update-check>
<server host="10.1.30.65">
<dso-port>9510</dso-port>
</server>
</servers>
<application>
<dso>
<web-applications>
<web-application>ROOT</web-application>
</web-applications>
</dso>
</application>
</tc:tc-config>
|
|
|
07/22/2008 21:58:06
|
hhuynh
cherubim
Joined: 06/16/2006 11:54:06
Messages: 761
Offline
|
Hari,
Your problem is just a schema error. Move the update-check to the end of <servers> tag, like this exampe:
<tc:tc-config xmlns:tc="http://www.terracotta.org/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.terracotta.org/schema/terracotta-4.xsd">
<!-- Tell DSO where the Terracotta server can be found;
See the Terracotta DSO Guide for additional information. -->
<servers>
<server host="%i" name="sample">
<data>terracotta/demo-server/server-data</data>
<logs>terracotta/demo-server/server-logs</logs>
<statistics>terracotta/demo-server/server-statistics</statistics>
</server>
<update-check>
<enabled>true</enabled>
</update-check>
</servers>
</tc:tc-config>
|
|
|
07/22/2008 22:12:01
|
hari
neo
Joined: 07/22/2008 21:43:53
Messages: 4
Offline
|
Thanks man, it works :)
|
|
|
07/30/2008 17:52:43
|
david_beutel
neo
Joined: 07/30/2008 17:51:24
Messages: 2
Offline
|
Yes, thanks. The documentation here needs the same fix:
http://www.terracotta.org/confluence/display/howto/Tomcat+Quick+Start#TomcatQuickStart-ConfiguretheTerracottaClients
|
|
|
|