[JBoss jBPM] - org.xml.sax.SAXNotRecognizedException
by nageshreddy81
I am not able to solve this problem
I am using sun one app server to run my jbpm apllication
Can anybody help me out in solving this problem
org.xml.sax.SAXNotRecognizedException: Property: http://apache.org/xml/properties/schema/external-schemaLocation
at org.apache.crimson.parser.XMLReaderImpl.setProperty(XMLReaderImpl.java:272)
at org.apache.crimson.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:190)
at org.jbpm.jpdl.xml.JpdlParser.createXmlReader(JpdlParser.java:83)
at org.jbpm.jpdl.xml.JpdlParser.createSaxReader(JpdlParser.java:62)
at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:56)
at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
at com.mot.gama.siepoc.common.requesthandler.RequestHandlerBean.onMessage(RequestHandlerBean.java:198)
at com.sun.ejb.containers.MessageBeanContainer.onMessage(MessageBeanContainer.java:857)
at com.sun.ejb.containers.MessageBeanListenerConcurrent.onMessage(MessageBeanListenerConcurrent.java:20)
at com.sun.messaging.jmq.jmsclient.ServerSessionRunner.onMessage(ServerSessionRunner.java:139)
at com.sun.messaging.jmq.jmsclient.ServerSessionRunner.run(ServerSessionRunner.java:105)
at com.sun.messaging.jmq.jmsclient.SessionImpl.run(SessionImpl.java:2313)
at com.sun.enterprise.jms.SessionWrapperBase.run(SessionWrapperBase.java:199)
at com.iplanet.ias.ejb.containers.IASServerSessionImpl.run(IASServerSessionImpl.java:191)
at java.lang.Thread.run(Thread.java:534)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959794#3959794
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959794
19 years, 9 months
[Persistence, JBoss/CMP, Hibernate, Database] - Problem disabling Hibernate SecondLevelCache with HibernateM
by wolfgang.buckel
For testing pruposes I tried to disable the SecondLevelCache via the MBean property "SecondLevelCacheEnabled" but I did not work:
| <mbean code="org.jboss.hibernate.jmx.Hibernate" name="jboss.har:service=ConfigHibernate">
| <attribute name="DatasourceName">java:ConfigV3DS</attribute>
| <attribute name="Dialect">org.hibernate.dialect.PostgreSQLDialect</attribute>
| <attribute name="SessionFactoryName">java:/hibernate/ConfigV3SessionFactory</attribute>
| <attribute name="CacheProviderClass">org.hibernate.cache.HashtableCacheProvider</attribute>
| <attribute name="Hbm2ddlAuto">update</attribute>
| <attribute name="ShowSqlEnabled">true</attribute>
| <attribute name="SecondLevelCacheEnabled">false</attribute>
| <attribute name="StatGenerationEnabled">true</attribute>
| </mbean>
|
Hibernate still says
2006-07-20 17:50:29,535 INFO [org.hibernate.cfg.SettingsFactory] Second-level cache: enabled
when my HAR deploys.
I checked the sources of JBoss 4.0.4.GA (which is what I use). In org.jboss.hibernate.jmx.Hibernate.java I couldn't find any line of code where the property "secondLevelCacheEnabled" would be forwarded to Hibernate. The method "transferSettings()" just doesn't do it as with the other properties. Is this a bug?
Any help or workarounds would be appreciated.
Thanks,
Wolfgang
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959793#3959793
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959793
19 years, 9 months