Menu ▾ ▴

#89 using persistence of jboss xmbean

v3.1.2
open
5
2005-08-12
2005-07-15
Anonymous
No

Hallo,

I want to use a xmbean with jboss which has a
persistence field.
The persistence field is automatically written into a
xml-file. When I am running JBoss without the wrapper
everything is working ok.

When I am running the xmbean with the wrapper as a
service under NT then I get an exception from the jboss
if it wants to access the datafile.

2005-07-15 08:24:13,187 WARN
[org.jboss.mx.persistence.DelegatingPersistenceManager]
cought exception during store()
javax.xml.transform.TransformerException:
java.io.FileNotFoundException:
file:\D:\Server\JBoss\jboss-4.0.1sp1\server\default\data\xmbean-attrs\Demo@3Aname@3DDemo1@2Ctype@3DXMBean.xml
(Die Syntax für den Dateinamen, Verzeichnisnamen oder
die Datenträgerbezeichnung ist falsch)
at
org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:245)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:278)
at
org.jboss.system.pm.XMLAttributePersistenceManager.outputXmlFile(XMLAttributePersistenceManager.java:758)
at
org.jboss.system.pm.XMLAttributePersistenceManager.store(XMLAttributePersistenceManager.java:332)
at
org.jboss.mx.persistence.DelegatingPersistenceManager.store(DelegatingPersistenceManager.java:187)
at
org.jboss.mx.modelmbean.ModelMBeanInvoker.store(ModelMBeanInvoker.java:400)
at
org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76)
at
org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at
org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:446)

-------------------------------------
Thank you
Werner Hofmann

You can contact me:
superomega@gmx.de

Discussion

  • Leif Mortenson

    Leif Mortenson - 2005-08-12

    Logged In: YES
    user_id=228081

    Wener,
    There is nothing about the Wrapper I can think of that would
    be causing your problems. The file path looks suspicios
    however:
    file:\D:\Server\JBoss\jboss-4.0.1sp1\server\default\data\xmbean-attrs\Demo@3Aname@3DDemo1@2Ctype@3DXMBean.xml
    What are the "@3A", "@3D", and "@3C" strings in the path?
    Where is that path being generated? Is it or anything
    related to it being passed to the JVM as a command line
    argument when the JVM is launched?

    Cheers,
    Leif

     
  • Leif Mortenson

    Leif Mortenson - 2005-08-12
    • assigned_to: nobody --> mortenson
     

Log in to post a comment.