[JBoss-user] URGENT help needed: File http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd not found.

2003-01-12 Thread Junjie Ding
Hi,

I'm running jboss3.0.1_tomcat-4.0.4 on linux box. It worked fine since last
week.
Here is the problem:

My datasource is configured in server/catalina/conf/standardjaws.xml. I have
an utility
method to use DOMParser to get datasource name from standardjaws.xml. It had
been wroking
fine until last week. Could anybody point out what went wrong? or is there
any change
in www.jboss.org?

2003-01-12 18:53:17,408 ERROR [STDERR] org.xml.sax.SAXParseException: File
http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd; not found.
2003-01-12 18:53:17,409 ERROR [STDERR]  at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1022)
2003-01-12 18:53:17,410 ERROR [STDERR]  at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntit
y(DefaultEntityHandler.java:788)
2003-01-12 18:53:17,410 ERROR [STDERR]  at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubse
t(DefaultEntityHandler.java:566)
2003-01-12 18:53:17,411 ERROR [STDERR]  at
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java
:1131)
2003-01-12 18:53:17,412 ERROR [STDERR]  at
org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentSc
anner.java:2177)
2003-01-12 18:53:17,412 ERROR [STDERR]  at
org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.j
ava:2133)
2003-01-12 18:53:17,413 ERROR [STDERR]  at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML
DocumentScanner.java:882)
2003-01-12 18:53:17,414 ERROR [STDERR]  at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:380)
2003-01-12 18:53:17,414 ERROR [STDERR]  at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908)
2003-01-12 18:53:17,415 ERROR [STDERR]  at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:947)
2003-01-12 18:53:17,415 ERROR [STDERR]  at
com.base.util.ConfigUtil.getDataSource(Unknown Source)

Here is the related part of standardjaws.xml:


?xml version=1.0 encoding=UTF-8?

!DOCTYPE jbosscmp-jdbc PUBLIC
-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN
http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd;

!--
= --
!--   -
-
!--  Standard Jaws
  --
!--   -
-
!--
= --

!-- $Id: standardjaws.xml,v 1.27.2.3 2002/06/27 19:54:12 dsundstrom Exp
$ --

jaws
!--
   datasourcejava:/OracleDS1/datasource
--
   datasourcejava:/OracleDS2/datasource

   type-mappingOracle8/type-mapping
   debugfalse/debug

Thx,

Epic Ding



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] URGENT help needed: File http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd not found.

2003-01-12 Thread Junjie Ding


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Junjie Ding
 Sent: Sunday, January 12, 2003 7:42 PM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] URGENT help needed: File
 http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd; not found.


 Hi,

 I'm running jboss3.0.1_tomcat-4.0.4 on linux box. It worked fine
 since last
 week.
 Here is the problem:

 My datasource is configured in
 server/catalina/conf/standardjaws.xml. I have
 an utility
 method to use DOMParser to get datasource name from
 standardjaws.xml. It had
 been wroking
 fine until last week. Could anybody point out what went wrong? or is there
 any change
 in www.jboss.org?

 2003-01-12 18:53:17,408 ERROR [STDERR] org.xml.sax.SAXParseException: File
 http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd; not found.
 2003-01-12 18:53:17,409 ERROR [STDERR]at
 org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1022)
 2003-01-12 18:53:17,410 ERROR [STDERR]at
 org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExt
 ernalEntit
 y(DefaultEntityHandler.java:788)
 2003-01-12 18:53:17,410 ERROR [STDERR]at
 org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExt
 ernalSubse
 t(DefaultEntityHandler.java:566)
 2003-01-12 18:53:17,411 ERROR [STDERR]at
 org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDSc
 anner.java
 :1131)
 2003-01-12 18:53:17,412 ERROR [STDERR]at
 org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XML
 DocumentSc
 anner.java:2177)
 2003-01-12 18:53:17,412 ERROR [STDERR]at
 org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumen
 tScanner.j
 ava:2133)
 2003-01-12 18:53:17,413 ERROR [STDERR]at
 org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.di
 spatch(XML
 DocumentScanner.java:882)
 2003-01-12 18:53:17,414 ERROR [STDERR]at
 org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocume
 ntScanner.
 java:380)
 2003-01-12 18:53:17,414 ERROR [STDERR]at
 org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908)
 2003-01-12 18:53:17,415 ERROR [STDERR]at
 org.apache.xerces.framework.XMLParser.parse(XMLParser.java:947)
 2003-01-12 18:53:17,415 ERROR [STDERR]at
 com.base.util.ConfigUtil.getDataSource(Unknown Source)

 Here is the related part of standardjaws.xml:


 ?xml version=1.0 encoding=UTF-8?

 !DOCTYPE jbosscmp-jdbc PUBLIC
 -//JBoss//DTD JBOSSCMP-JDBC 3.0//EN
 http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd;

 !--
 = --
 !--
  -
 -
 !--  Standard Jaws
   --
 !--
  -
 -
 !--
 = --

 !-- $Id: standardjaws.xml,v 1.27.2.3 2002/06/27 19:54:12 dsundstrom Exp
 $ --

 jaws
 !--
datasourcejava:/OracleDS1/datasource
 --
datasourcejava:/OracleDS2/datasource

type-mappingOracle8/type-mapping
debugfalse/debug


and here is my pieve of code to get datasource:

DOMParser parser = new DOMParser();
parser.parse(../server/catalina/conf/standardjaws.xml);
Document document = parser.getDocument();
Node node = (Node)document.getDocumentElement();
Element element = (Element)UtilParser.getNodeWithNodeName(node,
dataSource);

 Thx,

 Epic Ding



 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
 http://www.vasoftware.com
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] URGENT help needed: File http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd not found. with the exception code

2003-01-12 Thread Junjie Ding
Hi,

I'm running jboss3.0.1_tomcat-4.0.4 on linux box. It worked fine since last
week. Here is the problem:

The datasource is configured in server/catalina/conf/standardjaws.xml. I
have
an utility method to use DOMParser to get datasource name from
standardjaws.xml. 
It had been wroking fine till last week. Could anybody point out what went
wrong? 
or is there any change in www.jboss.org? But without this getDataSource()
method
the application works fine.


Here is my piece of code to get datasource:

getDataSource() {
DOMParser parser = new DOMParser();

// place throws exception
parser.parse(../server/catalina/conf/standardjaws.xml); 

Document document = parser.getDocument();
Node node = (Node)document.getDocumentElement();
Element element = (Element)UtilParser.getNodeWithNodeName(node,
dataSource);
...
}

The exception is:

2003-01-12 18:53:17,408 ERROR [STDERR] org.xml.sax.SAXParseException: File
http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd; not found.
2003-01-12 18:53:17,409 ERROR [STDERR]  at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1022)
2003-01-12 18:53:17,410 ERROR [STDERR]  at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalEntit
y(DefaultEntityHandler.java:788)
2003-01-12 18:53:17,410 ERROR [STDERR]  at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromExternalSubse
t(DefaultEntityHandler.java:566)
2003-01-12 18:53:17,411 ERROR [STDERR]  at
org.apache.xerces.framework.XMLDTDScanner.scanDoctypeDecl(XMLDTDScanner.java
:1131)
2003-01-12 18:53:17,412 ERROR [STDERR]  at
org.apache.xerces.framework.XMLDocumentScanner.scanDoctypeDecl(XMLDocumentSc
anner.java:2177)
2003-01-12 18:53:17,412 ERROR [STDERR]  at
org.apache.xerces.framework.XMLDocumentScanner.access$0(XMLDocumentScanner.j
ava:2133)
2003-01-12 18:53:17,413 ERROR [STDERR]  at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML
DocumentScanner.java:882)
2003-01-12 18:53:17,414 ERROR [STDERR]  at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:380)
2003-01-12 18:53:17,414 ERROR [STDERR]  at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:908)
2003-01-12 18:53:17,415 ERROR [STDERR]  at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:947)
2003-01-12 18:53:17,415 ERROR [STDERR]  at
com.base.util.ConfigUtil.getDataSource(Unknown Source)

Here is the related part of standardjaws.xml:


?xml version=1.0 encoding=UTF-8?

!DOCTYPE jbosscmp-jdbc PUBLIC
-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN
http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd;

!--
= --
!--  --
!--  Standard Jaws  --
!--  --
!--
= --

!-- $Id: standardjaws.xml,v 1.27.2.3 2002/06/27 19:54:12 dsundstrom Exp$
--

jaws
!--
   datasourcejava:/OracleDS1/datasource
--
   datasourcejava:/OracleDS2/datasource

   type-mappingOracle8/type-mapping
   debugfalse/debug

Thx,

Epic Ding


attachment: winmail.dat

RE: [JBoss-user] Anyway to clean memory usage after run jboss?

2002-05-16 Thread Junjie Ding

Hi Paul,

Yeah, that's what I thought. I killed all java process. I have no Timer
or Threading Those memory is taken by nobody. Just seems like memory
leak.

As I remember, I didn't run into this problem when I was using Solaris 7.
I just have this problem recently when I move to Linux.

And there is another issue. I downloaded JBoss3.0 yesterday and tried to
deploy
my application there, just trying to compile and deploy. The memory usage
goes up
in the deploy process

Any suggestion?

Thanks a lot,

Junjie

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Paul Cody
Sent: Wednesday, May 15, 2002 12:01 PM
To: 'Junjie Ding'; [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Anyway to clean memory usage after run jboss?


What do you mean by does not release memory?  You should never have to
restart the machine, this is completely unnecessary.  Just kill the java
process that is running JBoss.  If your application is not shutting down
cleanly, think about any threads that you may be creating, esp things like
java.util.Timer or interaction with the JMX Timer service.  If necessary,
you can run a debugger to see where the threads are waiting.

Paul

 -Original Message-
 From: Junjie Ding [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 15, 2002 11:28 AM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Anyway to clean memory usage after run jboss?


 I am running JBoss in Redhat linux 7.1(Linux 2.4.2-2), using
 jdk1.3.1_01 and
 JBoss-2.4.4_Tomcat-4.0.1.

 The problem I have is JBoss doesn't release all the memory it
 took after I
 ran it
 and my application. The memory it takes increases as more
 beans I use in my
 application
 but it doesn't release them. Even if I shut down JBoss. The
 only work around
 I have now
 is restart the machine, which is ridiculous. I'm not sure if
 this is because
 of memory
 leak in jboss or jdk1.3.1.

 Can anybody point me out if this is because of JBoss and the
 solution? Any
 related
 information will be helpful and appreciated!

 Thanks

 Epic



 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Anyway to clean memory usage after run jboss?

2002-05-15 Thread Junjie Ding

I am running JBoss in Redhat linux 7.1(Linux 2.4.2-2), using jdk1.3.1_01 and
JBoss-2.4.4_Tomcat-4.0.1.

The problem I have is JBoss doesn't release all the memory it took after I
ran it
and my application. The memory it takes increases as more beans I use in my
application
but it doesn't release them. Even if I shut down JBoss. The only work around
I have now
is restart the machine, which is ridiculous. I'm not sure if this is because
of memory
leak in jboss or jdk1.3.1.

Can anybody point me out if this is because of JBoss and the solution? Any
related
information will be helpful and appreciated!

Thanks

Epic



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user