[JBoss-user] [Persistence & CMP/JBoss] - Re: Hibernate 3.0 and the 4.0.1 HARDeployer

2005-04-05 Thread yuricake
For any future lurkers:

this is fairly easy to create.

Step 1: Download JBOSS 4 source code.

there's going to be a hibernate subdirectory which contains the source for the 
jboss-hibernate.jar file.

Step 2) open those sources in Java Project

Step 3) replace all net.sf.hibernate with org.hibernate references. You will 
get some "methods not implemented" errors because new interfaces have extra 
methods. Implement these methods, you can, for now, put in just a "return null" 
for all those methods. This could cause problems if you are using the TreeCache 
- I do not, so I don't really know what those methods have to do. Will have to 
wait from the JBoss/Hibernate folks to provide this.

Step 4) modify xml in same way: replace net.sf.hibernate with org.hibernate

Step 5) rebuild and deploy

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872816#3872816

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872816


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Hibernate 3.0 and the 4.0.1 HARDeployer

2005-03-31 Thread yuricake
Could you possibly post the SAR somewhere or email it to me? my address is

[EMAIL PROTECTED] 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872064#3872064

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872064


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Hibernate 3.0 and the 4.0.1 HARDeployer

2005-03-29 Thread yuricake
I am facing the same problem right now - has there been a solution yet? Thank 
you very much in advance!

Yuri Niyazov

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871976#3871976

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871976


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation & Configuration] - NullPointerException when trying to use ENTITY in xml

2004-04-20 Thread yuricake
I am using JBoss 3.0.8 (I know, very old, but at the moment there are various reasons 
for not upgrading) 

I have the following problem: 

I have a very large ejb-jar.xml because I need to include 6 entity beans in one 
deployment descriptor (finders that cross bean boundaries). It is a pain to manage, 
and I wanted to split it up so that it looks something like this:



http://java.sun.com/dtd/ejb-jar_2_0.dtd";
[
]>



&eb;
&eb0;




When I try to deploy it, I get a NUllPointerException (I tried both the crimson jars 
that JBoss comes iwth, and I also tried replacing crimson with the latest xerces 
implementation). The jar file includes eb.xml and eb0.xml in the meta-inf directory. I 
am confident that I am replacing the XML parsers properly (the exceptions are 
different in both cases) so it seems as if JBoss (or the XML parser?) doesnt't know to 
go into the JAR file and take the included xml files. 

Crimson Exception:

19:29:30,125 ERROR [XmlFileLoader] java.lang.NullPointerException:-1:10
java.lang.NullPointerException
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:524)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)

at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl
.java:185)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:300)
at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:255)
at org.jboss.metadata.XmlFileLoader.getDocumentFromURL(XmlFileLoader.jav
a:227)
at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:147)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:321)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:766)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:758)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:626)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy3.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:435)
at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
ploymentScanner.java:656)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:507)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:266)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
65)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:1003)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:413)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy2.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:232)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575)
at java.lang.reflect.Method.invoke(Native Method)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
nDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
at org.jboss.Main.boot(Main.java:148)
at org.jboss.Main$1.run(Main.java:381)
at java.lang.Thread.run(Thread.java:479)


Thanks,
Yuri



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831668#3831668

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831668


---
This SF.Net email is sponsored