[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [xmlblaster] Need help on AIX, almost there!



Hello Marcel,
Thank you for your time and invaluable help.
Sorry about the cross post earlier. 

I have tried your suggestions and it got past most of the problems except
this one.
I am running Helloworld3 applet demo from browser and using
apache-tomcat-5.5.17 with 1.4 compatibility pkg running under IBM JDK 1.4.
I get this outout in the applet window.

Any help would be greatly appreciated

-thanks again

----------------------------------------------------------------------------
--------
HelloWorld3: Connected to xmlBlaster
HelloWorld3: Ping, servlet->xmlBlaster connection state is ALIVE
HelloWorld3: Subscribed, id=__subId:1158858549281000000
HelloWorld3: Published 'HELLO', returned status is OK
HelloWorld3: ---- START update received -----
HelloWorld3: key=HELLO state=OK
HelloWorld3: UnSubscribed 1 topics
HelloWorld3: update received: content=Hello World
HelloWorld3: ---- END   update received -----
HelloWorld3: Get returned key=HELLO content=Hello World
HelloWorld3: No connection to xmlBlaster: java.lang.Exception:
XmlBlasterException serverSideException=true
node=[xmlBlaster_192_189_252_3_3412] location=[RequestBroker]
org.w3c.dom.DOMException: NOT_FOUND_ERR: An attempt is made to reference a
node in a context where it does not exist.
stackTrace=org.w3c.dom.DOMException: NOT_FOUND_ERR: An attempt is made to
reference a node in a context where it does not exist.
	at org.apache.xerces.dom.ParentNode.internalRemoveChild(Unknown
Source)
	at org.apache.xerces.dom.ParentNode.removeChild(Unknown Source)
	at
org.xmlBlaster.engine.BigXmlKeyDOM.removeKeyNode(BigXmlKeyDOM.java:47)
	at
org.xmlBlaster.engine.BigXmlKeyDOM.messageErase(BigXmlKeyDOM.java:58)
	at
org.xmlBlaster.engine.TopicHandler.removeFromBigDom(TopicHandler.java:1922)
	at
org.xmlBlaster.engine.TopicHandler.toSoftErased(TopicHandler.java:1766)
	at
org.xmlBlaster.engine.TopicHandler.eraseRequest(TopicHandler.java:2110)
	at
org.xmlBlaster.engine.RequestBroker.erase(RequestBroker.java:1706)
	at
org.xmlBlaster.engine.RequestBroker.erase(RequestBroker.java:1633)
	at
org.xmlBlaster.engine.XmlBlasterImpl.erase(XmlBlasterImpl.java:248)
	at
org.xmlBlaster.util.protocol.RequestReplyExecutor.receiveReply(RequestReplyE
xecutor.java:497)
	at
org.xmlBlaster.protocol.socket.HandleClient.handleMessage(HandleClient.java:
226)
	at
org.xmlBlaster.protocol.socket.HandleClient$1.run(HandleClient.java:370)
	at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
Task(ThreadPoolExecutor.java:665)
	at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:690)
	at java.lang.Thread.run(Thread.java:570)
errorCode=internal.unknown message=#1.3 errorCode=internal.erase: An
internal error occurred when processing a erase() request.
	at
org.xmlBlaster.util.XmlBlasterException.convert(XmlBlasterException.java:722
)
	at
org.xmlBlaster.util.XmlBlasterException.convert(XmlBlasterException.java:693
)
	at
org.xmlBlaster.engine.RequestBroker.erase(RequestBroker.java:1737)
	at
org.xmlBlaster.engine.RequestBroker.erase(RequestBroker.java:1633)
	at
org.xmlBlaster.engine.XmlBlasterImpl.erase(XmlBlasterImpl.java:248)
	at
org.xmlBlaster.util.protocol.RequestReplyExecutor.receiveReply(RequestReplyE
xecutor.java:497)
	at
org.xmlBlaster.protocol.socket.HandleClient.handleMessage(HandleClient.java:
226)
	at
org.xmlBlaster.protocol.socket.HandleClient$1.run(HandleClient.java:370)
	at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
Task(ThreadPoolExecutor.java:665)
	at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:690)
	at java.lang.Thread.run(Thread.java:570)
versionInfo=version=1.3,revision=1.3,os.name=AIX,os.version=5.2,java.vm.vend
or=IBM
Corporation,java.vm.version=1.4.2,os.arch=ppc,build.timestamp=09/21/2006
01:05 PM,build.java.vendor=IBM Corporation,build.java.version=1.4.2
errorCode
description=http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.erro
rcodes.listing.html#internal.unknown
 

-----Original Message-----
From: Marcel Ruff [mailto:mr at marcelruff.info] 
Sent: Wednesday, September 20, 2006 5:26 PM
To: xmlblaster at server.xmlBlaster.org
Subject: Re: [xmlblaster] Need help on AIX

Hi,

setting in $HOME/xmlBlaster.properties

javax.xml.transform.TransformerFactory=org.apache.xalan.processor.Transforme
rFactoryImpl
javax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryIm
pl
javax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuil
derFactoryImpl


(instead of the other settings of
javax.xml.transform.TransformerFactory=...)
will resolve the issue for JBM JDK1.4 and IBM JDK1.5

You can take a copy of xmlBlaster/config/xmlBlaster.properties.template
to $HOME/xmlBlaster.properties and then add the above settings or manipulate
the xmlBlaster.properties in the xmlBlaster.jar file.

regards
Marcel


maj wrote:
> Hi,
> I am evaluating xmlBlaster for use on AIX  box in production environment.
> I am having tough time trying to run the server. server shuts  down 
> with following msg, any help would be greatly appreciated.
>   
>  Thx for you time
>   
>  ===================================================
> ibms09[xxx]/abc/xxx/mom/xmlBlaster>java  org.xmlBlaster.Main
> Property: Loading xmlBlaster.properties from CLASSPATH  
> file:/abcwa/xxx/mom/xmlBlaster/lib/xmlBlaster.jar!/xmlBlaster.properti
> es
> Property:  No args array given.
> Sep 19, 2006 1:36:05 PM  INFO   10-main RL0  org.xmlBlaster.util.Global
<init>: Configuring JDK 1.4 logging with  configuration
'jar:file:/abcwa/xxx/mom/xmlBlaster/lib/xmlBlaster.jar!/logging.properties'
> Property:  Added 0 property pairs
> Sep 19, 2006 1:36:06 PM  INFO   10-main RL0
org.xmlBlaster.engine.ServerScope initThis: Setting xmlBlaster instance name
(-cluster.node.id) to 'xmlBlaster_192_189_252_3_3412'
> Sep 19, 2006 1:36:06  PM  INFO   10-XmlBlaster.MainThread RL0
org.xmlBlaster.authentication.plugins.simple.Subject authenticate: Access
for  __RequestBroker_internal[xmlBlaster_192_189_252_3_3412] granted,
without further  checks.
> writeScript
> Sep 19, 2006 1:36:07 PM  INFO    10-XmlBlaster.MainThread RL0
org.xmlBlaster.util.queue.jdbc.JdbcConnectionPool  connect: Successfully
reconnected to database
> Sep 19, 2006 1:36:07 PM  INFO    10-XmlBlaster.MainThread RL0
org.xmlBlaster.util.queue.jdbc.JdbcConnectionPool  initialize: Connections
to DB  'jdbc:hsqldb:/home/omr3/xxx/tmp/xmlBlaster_192_189_252_3_3412'
successfully  established.
> Sep 19, 2006 1:36:07 PM  INFO   10-XmlBlaster.MainThread RL0
org.xmlBlaster.util.queue.jdbc.JdbcManagerCommonTable <init>: The maximum
SQL statement length is not defined in JDBC meta data, we set it to 2048
> Sep  19, 2006 1:36:07 PM SEVERE  10-XmlBlaster.MainThread RL0  
> org.xmlBlaster.engine.xml2java.XmlKeyDom <init>: Problems when 
> building  DOM tree from your XmlKey: 
> errorCode=resource.configuration.pluginFailed  message=#1.3 
> DocumentBuilderFactoryError :  
> javax.xml.parsers.FactoryConfigurationError:  
> org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
> Sep 19, 2006 1:36:07 PM  SEVERE  10-XmlBlaster.MainThread RL0 
> org.xmlBlaster.Main init:  XmlBlasterException 
> serverSideException=true  node=[xmlBlaster_192_189_252_3_3412] 
> location=[XmlKeyDom]
>   
>  stackTrace=errorCode=internal.illegalState  message=#1.3 Problems when
building DOM tree from your XmlKey:
errorCode=resource.configuration.pluginFailed message=#1.3
DocumentBuilderFactoryError : javax.xml.parsers.FactoryConfigurationError:
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
>         at
org.xmlBlaster.engine.xml2java.XmlKeyDom.<init>(XmlKeyDom.java:83)
>          at
org.xmlBlaster.engine.BigXmlKeyDOM.<init>(BigXmlKeyDOM.java:37)
>          at
org.xmlBlaster.engine.RequestBroker.<init>(RequestBroker.java:251)
>          at
org.xmlBlaster.engine.XmlBlasterImpl.<init>(XmlBlasterImpl.java:68)
>          at
org.xmlBlaster.authentication.Authenticate.<init>(Authenticate.java:98)
>          at
org.xmlBlaster.engine.runlevel.RunlevelManager.initPluginManagers(RunlevelMa
nager.java:110)
>          at org.xmlBlaster.Main.init(Main.java:180)
>         at  org.xmlBlaster.Main.<init>(Main.java:117)
>         at  org.xmlBlaster.Main.main(Main.java:598)
> versionInfo=version=1.3,revision=1.3,os.name=AIX,os.version=5.2,java.v
> m.vendor=IBM  
> Corporation,java.vm.version=1.4.2,os.arch=ppc,build.timestamp=09/19/20
> 06 01:32  PM,build.java.vendor=IBM 
> Corporation,build.java.version=1.4.2
> errorCode  
> description=http://www.xmlblaster.org/xmlBlaster/doc/requirements/admi
> n.errorcodes.listing.html#internal.illegalState
>   
>  Sep 19, 2006 1:36:07 PM SEVERE   10-XmlBlaster.MainThread RL0
org.xmlBlaster.Main init: Changing runlevel to  'RUNNING' failed, good  bye
> ibms09[xxx]/abc/xxx/mom/xmlBlaster>oslevel
> 5.2.0.0
>   
>
>
>
>
>
>