Re: [JBoss-user] CMP 2.0 - CMR fields are NULL

2002-04-19 Thread Dain Sundstrom

Daniel,

First upgrade to JBoss 3.0rc1. Then if the problem doesn't go away, you 
will to have to file a simple bug report with a test case at sourceforge.

-dain

Mike Dougherty wrote:

> Daniel,
> 
> I'm not sure I completely understand the situation. Maybe if you sent
> some Java code snippets I could take a stab at it. Like just the
> "ejbCreate" and "ejbPostCreate" methods for "Variable" or "Factory"
> which ever one is calling the setter method.
> 
> /mike
> 
> 
> On Fri, 2002-04-19 at 08:54, Daniel Santos wrote:
> 
>>hello all !
>>
>>I'm deploying a hierarchy of entity beans with relations :
>>
>>FACTORY <- PROCESS <- COMPONENT <- VARIABLE
>>
>>I call creates from a servlet to create the hierarquy from FACTORY to
>>VARIABLE.
>>
>>The CMR fields are set in each ejbPostCreate methods.
>>
>>PROCESS sets FACTORY, COMPONENT sets process, so on... up to VARIABLE
>>
>>after calling the servlet I notice that the CMR fields in the db are NULL.
>>
>>below is the SQL generated. Where are the UPDATES to set the CMR fields ?
>>
>>environment :
>>Jboss-3.0.0beta
>>jdk 1.3.1
>>w2k
>>mysql-max 3.23.49 with ISAM tables. I know they are not transactional. I
>>just need the SELECT FOR UPDATE syntax to work
>>jdbc driver : mm.mysql-2.0.8-bin.jar
>>
>>Many thanks.
>>Daniel Santos
>>
>>
>>-
>>
>>020419 16:36:18 2 Connect root@localhost on
>>2 Init DB history
>>2 Query   SHOW VARIABLES
>>2 Query   SET autocommit=0
>>2 Query   show tables  FROM history like 'FACTORY'
>>2 Query   rollback
>>020419 16:36:19 2 Query   CREATE TABLE FACTORY (id VARCHAR(255)
>>BINARY NOT NULL, name VARCHAR(255) BINARY, CONSTRAINT pk_FACTORY PRIMARY KEY
>>(id))
>>2 Query   commit
>>2 Query   rollback
>>020419 16:36:21 2 Query   show tables  FROM history like 'EVENT'
>>2 Query   rollback
>>2 Query   CREATE TABLE EVENT (id VARCHAR(255) BINARY NOT 
>NULL,
>>CONSTRAINT pk_EVENT PRIMARY KEY (id))
>>2 Query   commit
>>2 Query   rollback
>>020419 16:36:22 2 Query   show tables  FROM history like
>>'COMPONENT'
>>2 Query   rollback
>>2 Query   CREATE TABLE COMPONENT (id VARCHAR(255) BINARY NOT
>>NULL, name VARCHAR(255) BINARY, process VARCHAR(255) BINARY, CONSTRAINT
>>pk_COMPONENT PRIMARY KEY (id))
>>2 Query   commit
>>2 Query   rollback
>>020419 16:36:24 2 Query   show tables  FROM history like
>>'VARIABLE'
>>2 Query   rollback
>>2 Query   CREATE TABLE VARIABLE (id VARCHAR(255) BINARY NOT
>>NULL, name VARCHAR(255) BINARY, component VARCHAR(255) BINARY, CONSTRAINT
>>pk_VARIABLE PRIMARY KEY (id))
>>2 Query   commit
>>2 Query   rollback
>>020419 16:36:26 2 Query   show tables  FROM history like 'SAMPLE'
>>2 Query   rollback
>>2 Query   CREATE TABLE SAMPLE (id VARCHAR(255) BINARY NOT 
>NULL,
>>value VARCHAR(255) BINARY, variable VARCHAR(255) BINARY, CONSTRAINT
>>pk_SAMPLE PRIMARY KEY (id))
>>2 Query   commit
>>2 Query   rollback
>>2 Query   show tables  FROM history like 'PROCESS'
>>2 Query   rollback
>>2 Query   CREATE TABLE PROCESS (id VARCHAR(255) BINARY NOT 
>NULL,
>>name VARCHAR(255) BINARY, factory VARCHAR(255) BINARY, CONSTRAINT pk_PROCESS
>>PRIMARY KEY (id))
>>2 Query   commit
>>2 Query   rollback
>>020419 16:37:18 2 Query   SET autocommit=0
>>2 Query   SELECT VALUE FROM HIGH_KEY WHERE NAME = 
>'gruposumol'
>>FOR UPDATE
>>2 Query   INSERT INTO HIGH_KEY (VALUE, NAME) VALUES
>>('8080808080808080808080808080','gruposumol')
>>2 Query   UPDATE HIGH_KEY SET VALUE =
>>'8180808080808080808080808080' WHERE NAME = 'gruposumol'
>>2 Query   SET autocommit=0
>>2 Query   rollback
>>020419 16:37:20 2 Quit
>>3 Connect root@localhost on
>>3 Init DB history
>>3 Query   SHOW VARIABLES
>>3 Query   SET autocommit=0
>>3 Query   SELECT COUNT(*) FROM FACTORY WHERE
>>id='80808080808080808080808080808080gruposumol'
>>3 Query   INSERT INTO FACTORY (id, name) VALUES
>>('80808080808080808080808080808080gruposumol', 'factory')
>>020419 16:37:21 

[JBoss-user] JBoss 3.0.0RC1 Manifest Problems

2002-04-19 Thread Taylor, Brent








It still appears that JBoss is having trouble with the
Class-Path entry in the manifest files. Specifically, when deploying a war to
the Jetty web container within JBoss, I get ClassNotFound exceptions when a
servlet tries to instantiate a class from another jar within the same war file.
I've included all the jars in the Class-Path entry for all the manifests
in the WAR, and contained JARs. I thought this was fixed?

 








Re: [JBoss-user] JBoss 3.0, MDBs, and max retries?

2002-04-19 Thread David Jencks

There's a dead letter queue for that (DLQ) and I think the retry count is
configurable.  Look around the jbossmq mbean configurations.

david jencks

On 2002.04.19 15:38:14 -0400 James Higginbotham wrote:
> All,
>  
> Is there a way in JBoss 3.0 beta 2 to specify the maximum number of
> retries an MDB will make as well as the interval between retries using a
> JBoss-specific descriptor (sometimes called a backoff time)? A setting
> globally for a queue or specifically for an MDB are both acceptable.
> There is a similiar setting in Weblogic (at the queue level, not the MDB
> level) and with our porting to JBoss, we need a similiar function. 
>  
> Thanks in advance,
> James
> 
> 
> Message
> 
> 
> 
>  size=2>All,
>  size=2> 
> Is there a
> way in 
> JBoss 3.0 beta 2 to specify the maximum number of retries an MDB will
> make as 
> well as the interval between retries using a JBoss-specific
> descriptor 
> (sometimes called a backoff time)? A setting globally for a queue or 
> specifically for an MDB are both acceptable. There is a similiar setting
> in 
> Weblogic (at the queue level, not the MDB level) and with our porting to
> JBoss, 
> we need a similiar function. 
>  size=2> 
> Thanks in 
> advance,
>  size=2>James
> 

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



Re: [JBoss-user] CMP 2.0 - CMR fields are NULL

2002-04-19 Thread Mike Dougherty

Daniel,

I'm not sure I completely understand the situation. Maybe if you sent
some Java code snippets I could take a stab at it. Like just the
"ejbCreate" and "ejbPostCreate" methods for "Variable" or "Factory"
which ever one is calling the setter method.

/mike


On Fri, 2002-04-19 at 08:54, Daniel Santos wrote:
> hello all !
> 
> I'm deploying a hierarchy of entity beans with relations :
> 
> FACTORY <- PROCESS <- COMPONENT <- VARIABLE
> 
> I call creates from a servlet to create the hierarquy from FACTORY to
> VARIABLE.
> 
> The CMR fields are set in each ejbPostCreate methods.
> 
> PROCESS sets FACTORY, COMPONENT sets process, so on... up to VARIABLE
> 
> after calling the servlet I notice that the CMR fields in the db are NULL.
> 
> below is the SQL generated. Where are the UPDATES to set the CMR fields ?
> 
> environment :
> Jboss-3.0.0beta
> jdk 1.3.1
> w2k
> mysql-max 3.23.49 with ISAM tables. I know they are not transactional. I
> just need the SELECT FOR UPDATE syntax to work
> jdbc driver : mm.mysql-2.0.8-bin.jar
> 
> Many thanks.
> Daniel Santos
> 
> 
> -
> 
> 020419 16:36:18 2 Connect root@localhost on
> 2 Init DB history
> 2 Query   SHOW VARIABLES
> 2 Query   SET autocommit=0
> 2 Query   show tables  FROM history like 'FACTORY'
> 2 Query   rollback
> 020419 16:36:19 2 Query   CREATE TABLE FACTORY (id VARCHAR(255)
> BINARY NOT NULL, name VARCHAR(255) BINARY, CONSTRAINT pk_FACTORY PRIMARY KEY
> (id))
> 2 Query   commit
> 2 Query   rollback
> 020419 16:36:21 2 Query   show tables  FROM history like 'EVENT'
> 2 Query   rollback
> 2 Query   CREATE TABLE EVENT (id VARCHAR(255) BINARY NOT 
>NULL,
> CONSTRAINT pk_EVENT PRIMARY KEY (id))
> 2 Query   commit
> 2 Query   rollback
> 020419 16:36:22 2 Query   show tables  FROM history like
> 'COMPONENT'
> 2 Query   rollback
> 2 Query   CREATE TABLE COMPONENT (id VARCHAR(255) BINARY NOT
> NULL, name VARCHAR(255) BINARY, process VARCHAR(255) BINARY, CONSTRAINT
> pk_COMPONENT PRIMARY KEY (id))
> 2 Query   commit
> 2 Query   rollback
> 020419 16:36:24 2 Query   show tables  FROM history like
> 'VARIABLE'
> 2 Query   rollback
> 2 Query   CREATE TABLE VARIABLE (id VARCHAR(255) BINARY NOT
> NULL, name VARCHAR(255) BINARY, component VARCHAR(255) BINARY, CONSTRAINT
> pk_VARIABLE PRIMARY KEY (id))
> 2 Query   commit
> 2 Query   rollback
> 020419 16:36:26 2 Query   show tables  FROM history like 'SAMPLE'
> 2 Query   rollback
> 2 Query   CREATE TABLE SAMPLE (id VARCHAR(255) BINARY NOT 
>NULL,
> value VARCHAR(255) BINARY, variable VARCHAR(255) BINARY, CONSTRAINT
> pk_SAMPLE PRIMARY KEY (id))
> 2 Query   commit
> 2 Query   rollback
> 2 Query   show tables  FROM history like 'PROCESS'
> 2 Query   rollback
> 2 Query   CREATE TABLE PROCESS (id VARCHAR(255) BINARY NOT 
>NULL,
> name VARCHAR(255) BINARY, factory VARCHAR(255) BINARY, CONSTRAINT pk_PROCESS
> PRIMARY KEY (id))
> 2 Query   commit
> 2 Query   rollback
> 020419 16:37:18 2 Query   SET autocommit=0
> 2 Query   SELECT VALUE FROM HIGH_KEY WHERE NAME = 
>'gruposumol'
> FOR UPDATE
> 2 Query   INSERT INTO HIGH_KEY (VALUE, NAME) VALUES
> ('8080808080808080808080808080','gruposumol')
> 2 Query   UPDATE HIGH_KEY SET VALUE =
> '8180808080808080808080808080' WHERE NAME = 'gruposumol'
> 2 Query   SET autocommit=0
> 2 Query   rollback
> 020419 16:37:20 2 Quit
> 3 Connect root@localhost on
> 3 Init DB history
> 3 Query   SHOW VARIABLES
> 3 Query   SET autocommit=0
> 3 Query   SELECT COUNT(*) FROM FACTORY WHERE
> id='80808080808080808080808080808080gruposumol'
> 3 Query   INSERT INTO FACTORY (id, name) VALUES
> ('80808080808080808080808080808080gruposumol', 'factory')
> 020419 16:37:21 3 Query   commit
> 3 Query   rollback
> 3 Query   SELECT COUNT(*) FROM PROCESS WHERE
> id='80808080808080808080808080808180gruposumol'
>

Re: [JBoss-user] JBoss Build Failure! JBoss 3.0.0RC1

2002-04-19 Thread David Jencks

On my machine it looks to me as if build/build.sh compiles jetty without
any extra parameters, targets, or fuss, so I'm rather confused about what
the problem is.

david jencks

On 2002.04.19 12:30:50 -0400 Stephen Davidson wrote:
> Hi David.
> 
> Due to a bug in the Jsp Compiler, I need to rebuild Jetty, which is why I
> have been running the build all target.  I have not heard anything from 
> anyone else on this topic, and this is a bit of a show stopper for me.
> 
> Any suggestions?
> 
> -Steve
> 
> David Jencks wrote:
> 
> > I don't know what is causing the problem, since the dtd is included in
> > jboss distro and is accessible from the url listed, but you should be
> able
> > to get everything you need compiled from main rather than all.  I think
> > this target only is run from all or maybe docs.
> > 
> > david jencks
> > 
> > On 2002.04.16 16:01:17 -0400 Stephen Davidson wrote:
> > 
> >>Greetings.
> >>
> >>I have a local patch I have applied to the Jetty/Jasper project which
> is
> >>needed to compile my project.  When I try to compile locally, the build
> 
> >>seems to hang during the following task;
> >>
> >>jmx-docs-html-plain:
> >> [mkdir] Created dir: /home/jboss/jboss-all/connector/output/jmx-api
> >> [style] Transforming into /home/jboss/jboss-all/connector/output/jmx-api
> >> [style] Transforming into /home/jboss/jboss-all/connector/output/jmx-api
> >> [style] Loading stylesheet 
>/home/jboss/jboss-all/thirdparty/oasis/docbook-xsl/html/docbook.xsl
> >>Error on line 2 of 
>file:///home/jboss/jboss-all/connector/output/jmx-doc/org/jboss/resource/connectionmanager/BaseConnectionManager2-doc.xml:
> >>   Error reported by XML parser: External entity not found:
> >>"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd".: Connection
> >>timed out
> >> [style] Failed to process 
>/home/jboss/jboss-all/connector/output/jmx-doc/org/jboss/resource/connectionmanager/BaseConnectionManager2-doc.xml
> >>
> >>BUILD FAILED
> >>
> >>/home/jboss/jboss-all/connector/build.xml:530:
> >>javax.xml.transform.TransformerException: External entity not found: 
> >>"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";. 
> >>
> >>
> >>Any ideas what may be causing this?
> >>
> >>-Steve
> >>
> >>For network connectivity test;
> >>PING www.oasis-open.org (209.202.168.105): 56 data bytes
> >>64 bytes from 209.202.168.105: icmp_seq=0 ttl=240 time=67.946 ms
> >>64 bytes from 209.202.168.105: icmp_seq=1 ttl=240 time=68.467 ms
> >>64 bytes from 209.202.168.105: icmp_seq=2 ttl=240 time=68.159 ms
> >>64 bytes from 209.202.168.105: icmp_seq=3 ttl=240 time=68.289 ms
> >>--- www.oasis-open.org ping statistics ---
> >>4 packets transmitted, 4 packets received, 0% packet loss
> >>round-trip min/avg/max = 67.946/68.215/68.467 ms
> >>
> >>-- 
> >>Stephen Davidson
> >>Java Consultant
> >>Delphi Consultants, LLC
> >>http://www.delphis.com
> >>Phone: 214-696-6224 x208
> >>
> >>
> >>___
> >>JBoss-user mailing list
> >>[EMAIL PROTECTED]
> >>https://lists.sourceforge.net/lists/listinfo/jboss-user
> >>
> >>
> >>
> > 
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> > 
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 

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



[JBoss-user] JBoss 3.0, MDBs, and max retries?

2002-04-19 Thread James Higginbotham
Title: Message



All,
 
Is there a way in 
JBoss 3.0 beta 2 to specify the maximum number of retries an MDB will make as 
well as the interval between retries using a JBoss-specific descriptor 
(sometimes called a backoff time)? A setting globally for a queue or 
specifically for an MDB are both acceptable. There is a similiar setting in 
Weblogic (at the queue level, not the MDB level) and with our porting to JBoss, 
we need a similiar function. 
 
Thanks in 
advance,
James


RE: [JBoss-user] questions of jboss start and jboss library

2002-04-19 Thread Bruce Ling

I use linux redhat 7.2. java 1.3_01

I just use contrl-c.  I don't remember there is a shutdown.sh there in bin
in my jboss 2.4.1 version.


BTW, when the stable cluster version can be up?

For the version there, we can only get 2 boxes work as cluster if three
boxes used, then it did not work any more. Operating system is also linux.


Bruce.
> -Original Message-
> From: Mike Finn [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 19, 2002 4:55 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] questions of jboss start and jboss library
>
>
> Bruce,
> It would help to know what OS, JVM, and JBoss version are you using (re:
> problem #1). There should only be one process for JBoss (aside
> from the run
> shell) - I suppose except Linux, where threads show as processes,
> if memory
> serves correctly. Also, how are you shutting down the server? shutdown.sh?
> ctrl-c?
> Mike
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Bruce Ling
> Sent: Thursday, April 18, 2002 9:08 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] questions of jboss start and jboss library
> Importance: High
>
>
> two questions:
>
> 1. I noticed that if I restarted the jboss several time, I cannot get it
> started properly any more.  It complains that a lot of the ports are
> occupied. The current way I solve the problem is that I go hunting all the
> java process and kill them. Then it is fine.  Is there any
> smarter way than
> this?  This is very annoying. It seems that kill the jboss doesnot bring
> down all the services
>
> 2. I have some javabeans which are shared used by all the session
> beans and
> entity beans.  Currently I jar them and put them in the lib/ext.  But this
> brings the problem of the deploying as if I make any changes in
> the javabean
> I need to bring down the jboss server and restart.  This is very
> annoying as
> it is not hot deploy anymore. I know if I jar everything together
> and put it
> in deploy, then it works but the problem is that I don't want to jar
> everytime javabeans into all the session and entity bean.  Also
> this creates
> java code management problem as it may cause classpath conflicts.
>
> Tx for the advice in advance.
>
>
> Bruce
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>


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



[JBoss-user] mod_jk2?

2002-04-19 Thread Simon Stewart

I'm quite keen to use apache-2 and mod_jk to serve static content for
JBoss 3RC1 and tomcat (the binary bundle that can be downloaded)

After much hunting about, I found and downloaded
jakarta-tomcat-connectors-4.0.2-01-src.tar.gz which I unpacked. I
compiled mod_jk2 and installed in my apache-2 modules directory. A
"configtest" indicates that everything is fine. I create a
workers.properties files and add a few entries to my httpd.conf which
I've included below. Attempting to access
http://localhost:8080/examples works fine, but going via port 80 cause
the machine to loop endlessly. Apache reports:

[Fri Apr 19 18:01:17 2002] [warn] service.head() ETag: "7033-1019235385000"

and JBoss then consumes all my available memory before dieing. Anyone
had any luck getting this all to work? Is it something to do with the
way that Tomcat has been bundled?

More information:

JDK1.4.0, Linux kernel 2.4.18, JBoss 3RC1 with Tomcat 4.0.3, gcc
2.95.4

httpd.conf entries:

LoadModule jk_module modules/mod_jk.so
JkWorkersFile 
/home/sms/jboss/jboss-3.0.0RC1_tomcat-4.0.3/catalina/conf/workers.properties
JkLogLevel info
JkMount /examples/* ajp13
JkMount /*.jsp ajp13

I've attached my workers.properties file. If I could persuade the
webapp warp connector to build, I'd try that.

Cheers,

Simon

-- 
And tomorrow will be like today, only more so.
-- Isaiah 56:12, New Standard Version


# Setup for Linux
#
workers.tomcat_home=/home/sms/jboss/jboss-3.0.0RC1_tomcat-4.0.3/catalina
workers.java_home=/usr/local/java
ps=/
worker.list = ajp13

worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13



Re: [JBoss-user] JBoss Build Failure! JBoss 3.0.0RC1

2002-04-19 Thread Stephen Davidson

Hi David.

Due to a bug in the Jsp Compiler, I need to rebuild Jetty, which is why I have been 
running the build all target.  I have not heard anything from 
anyone else on this topic, and this is a bit of a show stopper for me.

Any suggestions?

-Steve

David Jencks wrote:

> I don't know what is causing the problem, since the dtd is included in
> jboss distro and is accessible from the url listed, but you should be able
> to get everything you need compiled from main rather than all.  I think
> this target only is run from all or maybe docs.
> 
> david jencks
> 
> On 2002.04.16 16:01:17 -0400 Stephen Davidson wrote:
> 
>>Greetings.
>>
>>I have a local patch I have applied to the Jetty/Jasper project which is
>>needed to compile my project.  When I try to compile locally, the build 
>>seems to hang during the following task;
>>
>>jmx-docs-html-plain:
>> [mkdir] Created dir: /home/jboss/jboss-all/connector/output/jmx-api
>> [style] Transforming into /home/jboss/jboss-all/connector/output/jmx-api
>> [style] Transforming into /home/jboss/jboss-all/connector/output/jmx-api
>> [style] Loading stylesheet 
>/home/jboss/jboss-all/thirdparty/oasis/docbook-xsl/html/docbook.xsl
>>Error on line 2 of 
>file:///home/jboss/jboss-all/connector/output/jmx-doc/org/jboss/resource/connectionmanager/BaseConnectionManager2-doc.xml:
>>   Error reported by XML parser: External entity not found:
>>"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd".: Connection
>>timed out
>> [style] Failed to process 
>/home/jboss/jboss-all/connector/output/jmx-doc/org/jboss/resource/connectionmanager/BaseConnectionManager2-doc.xml
>>
>>BUILD FAILED
>>
>>/home/jboss/jboss-all/connector/build.xml:530:
>>javax.xml.transform.TransformerException: External entity not found: 
>>"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd";. 
>>
>>
>>Any ideas what may be causing this?
>>
>>-Steve
>>
>>For network connectivity test;
>>PING www.oasis-open.org (209.202.168.105): 56 data bytes
>>64 bytes from 209.202.168.105: icmp_seq=0 ttl=240 time=67.946 ms
>>64 bytes from 209.202.168.105: icmp_seq=1 ttl=240 time=68.467 ms
>>64 bytes from 209.202.168.105: icmp_seq=2 ttl=240 time=68.159 ms
>>64 bytes from 209.202.168.105: icmp_seq=3 ttl=240 time=68.289 ms
>>--- www.oasis-open.org ping statistics ---
>>4 packets transmitted, 4 packets received, 0% packet loss
>>round-trip min/avg/max = 67.946/68.215/68.467 ms
>>
>>-- 
>>Stephen Davidson
>>Java Consultant
>>Delphi Consultants, LLC
>>http://www.delphis.com
>>Phone: 214-696-6224 x208
>>
>>
>>___
>>JBoss-user mailing list
>>[EMAIL PROTECTED]
>>https://lists.sourceforge.net/lists/listinfo/jboss-user
>>
>>
>>
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 



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



[JBoss-user] CMP 2.0 - CMR fields are NULL

2002-04-19 Thread Daniel Santos

hello all !

I'm deploying a hierarchy of entity beans with relations :

FACTORY <- PROCESS <- COMPONENT <- VARIABLE

I call creates from a servlet to create the hierarquy from FACTORY to
VARIABLE.

The CMR fields are set in each ejbPostCreate methods.

PROCESS sets FACTORY, COMPONENT sets process, so on... up to VARIABLE

after calling the servlet I notice that the CMR fields in the db are NULL.

below is the SQL generated. Where are the UPDATES to set the CMR fields ?

environment :
Jboss-3.0.0beta
jdk 1.3.1
w2k
mysql-max 3.23.49 with ISAM tables. I know they are not transactional. I
just need the SELECT FOR UPDATE syntax to work
jdbc driver : mm.mysql-2.0.8-bin.jar

Many thanks.
Daniel Santos


-

020419 16:36:18   2 Connect root@localhost on
  2 Init DB history
  2 Query   SHOW VARIABLES
  2 Query   SET autocommit=0
  2 Query   show tables  FROM history like 'FACTORY'
  2 Query   rollback
020419 16:36:19   2 Query   CREATE TABLE FACTORY (id VARCHAR(255)
BINARY NOT NULL, name VARCHAR(255) BINARY, CONSTRAINT pk_FACTORY PRIMARY KEY
(id))
  2 Query   commit
  2 Query   rollback
020419 16:36:21   2 Query   show tables  FROM history like 'EVENT'
  2 Query   rollback
  2 Query   CREATE TABLE EVENT (id VARCHAR(255) BINARY NOT 
NULL,
CONSTRAINT pk_EVENT PRIMARY KEY (id))
  2 Query   commit
  2 Query   rollback
020419 16:36:22   2 Query   show tables  FROM history like
'COMPONENT'
  2 Query   rollback
  2 Query   CREATE TABLE COMPONENT (id VARCHAR(255) BINARY NOT
NULL, name VARCHAR(255) BINARY, process VARCHAR(255) BINARY, CONSTRAINT
pk_COMPONENT PRIMARY KEY (id))
  2 Query   commit
  2 Query   rollback
020419 16:36:24   2 Query   show tables  FROM history like
'VARIABLE'
  2 Query   rollback
  2 Query   CREATE TABLE VARIABLE (id VARCHAR(255) BINARY NOT
NULL, name VARCHAR(255) BINARY, component VARCHAR(255) BINARY, CONSTRAINT
pk_VARIABLE PRIMARY KEY (id))
  2 Query   commit
  2 Query   rollback
020419 16:36:26   2 Query   show tables  FROM history like 'SAMPLE'
  2 Query   rollback
  2 Query   CREATE TABLE SAMPLE (id VARCHAR(255) BINARY NOT 
NULL,
value VARCHAR(255) BINARY, variable VARCHAR(255) BINARY, CONSTRAINT
pk_SAMPLE PRIMARY KEY (id))
  2 Query   commit
  2 Query   rollback
  2 Query   show tables  FROM history like 'PROCESS'
  2 Query   rollback
  2 Query   CREATE TABLE PROCESS (id VARCHAR(255) BINARY NOT 
NULL,
name VARCHAR(255) BINARY, factory VARCHAR(255) BINARY, CONSTRAINT pk_PROCESS
PRIMARY KEY (id))
  2 Query   commit
  2 Query   rollback
020419 16:37:18   2 Query   SET autocommit=0
  2 Query   SELECT VALUE FROM HIGH_KEY WHERE NAME = 
'gruposumol'
FOR UPDATE
  2 Query   INSERT INTO HIGH_KEY (VALUE, NAME) VALUES
('8080808080808080808080808080','gruposumol')
  2 Query   UPDATE HIGH_KEY SET VALUE =
'8180808080808080808080808080' WHERE NAME = 'gruposumol'
  2 Query   SET autocommit=0
  2 Query   rollback
020419 16:37:20   2 Quit
  3 Connect root@localhost on
  3 Init DB history
  3 Query   SHOW VARIABLES
  3 Query   SET autocommit=0
  3 Query   SELECT COUNT(*) FROM FACTORY WHERE
id='80808080808080808080808080808080gruposumol'
  3 Query   INSERT INTO FACTORY (id, name) VALUES
('80808080808080808080808080808080gruposumol', 'factory')
020419 16:37:21   3 Query   commit
  3 Query   rollback
  3 Query   SELECT COUNT(*) FROM PROCESS WHERE
id='80808080808080808080808080808180gruposumol'
  3 Query   INSERT INTO PROCESS (id, name, factory) VALUES
('80808080808080808080808080808180gruposumol', 'process', null)
  3 Query   SELECT t1_f.id FROM FACTORY t1_f WHERE t1_f.name =
'factory'
  3 Query   SELECT name FROM FACTORY WHERE
(id='80808080808080808080808080808080gruposumol')
  3 Query   SELECT id FROM PROCESS WHERE
(factory='80808080808080808080808080808080gruposumol')
  3 

[JBoss-user] Re: Still Can't Create a Bean

2002-04-19 Thread Peter Shillan

I really have been trying everything so I tried using transaction attribute 
"Mandatory" and using a client transaction. I got the same error I got when I used 
"Required", included below. This looks like a problem in the caching... after all, the 
container should simply work if I provide the transaction at the client side or if I 
use "Required".

Does anyone have any ideas about what conditions this error would occur under?

Thanks,

Peter.

java.lang.IllegalStateException: do not call nextTransaction while not synched!
at 
org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.nextTransaction(QueuedPessimisticEJBLock.java:400)
at 
org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.endTransaction(QueuedPessimisticEJBLock.java:430)
at 
org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.endInvocation(QueuedPessimisticEJBLock.java:454)
at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:246)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:176)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:134)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:79)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:44)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:98)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:273)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:52)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:104)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:109)
at org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:487)
at org.jboss.ejb.Container.invoke(Container.java:727)
at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:492)
at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:364)
at java.lang.reflect.Method.invoke(Native Method)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
at sun.rmi.transport.Transport$1.run(Transport.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:148)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:706)
at java.lang.Thread.run(Thread.java:484)



E-mail is an informal method of communication and may be subject to data corruption, 
interception and unauthorised amendment for which Digital Bridges Ltd will accept no 
liability. Therefore, it will normally be inappropriate to rely on information 
contained on e-mail without obtaining written confirmation.

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.




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



[JBoss-user] Still Can't Create a Bean

2002-04-19 Thread Peter Shillan

Hi there,

I took the advice from yesterday when I had my simple bean creation test running a 
bean with transaction attribute "Supports". I changed this to "Required" and rebuilt 
everything clean and deployed my bean. Now, not only does the bean never appear in the 
database, but the following exception is thrown as soon as I call create() on 
MessageHome:

1) 
testCreateMessageBean(client.uk.org.objectwiz.model.forum.ejb.TestClient)junit.framework.AssertionFailedError:
 java.rmi.ServerException: RemoteException occurred in server thread; nested exception 
is: 
java.rmi.ServerException: do not call nextTransaction while not synched!; 
nested exception is: 
java.lang.IllegalStateException: do not call nextTransaction while not synched!
at 
client.uk.org.objectwiz.model.forum.ejb.TestClient.testCreateMessageBean(TestClient.java:50)
at client.uk.org.objectwiz.model.forum.ejb.TestClient.main(TestClient.java:30)

FAILURES!!!
Tests run: 1,  Failures: 1,  Errors: 0

The server.log file seems to indicate all is well. Not only does the server output 
show no errors but the server.log says:

2002-04-19 14:21:33,454 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.forum/Message] Create: pk=10
2002-04-19 14:21:33,455 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.forum/Message] Executing SQL: 
SELECT COUNT(*) FROM MESSAGE WHERE id=?
2002-04-19 14:21:33,533 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.forum/Message] Executing SQL: 
INSERT INTO MESSAGE (id, parent, children, subject, text) VALUES (?, ?, ?, ?, 
?)2002-04-19 14:21:33,542 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.forum/Message] Create: Rows 
affected = 1
2002-04-19 14:24:51,210 DEBUG [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] 
Resized cache for bean forum/Message: old capacity = 100, new capacity = 50
2002-04-19 14:25:48,080 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: 
IdleRemover notifying pools, interval: 45

This looks OK to me and seems to indicate the bean is created so why do I get the 
first exception? Any thoughts?

Thanks folks,

Peter.



E-mail is an informal method of communication and may be subject to data corruption, 
interception and unauthorised amendment for which Digital Bridges Ltd will accept no 
liability. Therefore, it will normally be inappropriate to rely on information 
contained on e-mail without obtaining written confirmation.

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.




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



[JBoss-user] AW: [JBoss-dev] Save the Rabbit Hole UnifiedClassLoaders - Vote and Argue at the BugParade! - Spread the Word!

2002-04-19 Thread Jung , Dr. Christoph

It´s a rt.jar problem that happens on all platforms, now, and spuriously
(because it´s a threading issue and
Depends on when which classes are loaded!).

CGJ
-Ursprüngliche Nachricht-
Von: Marius Kotsbak [mailto:[EMAIL PROTECTED]] 
Gesendet: Freitag, 19. April 2002 14:13
An: Jung , Dr. Christoph
Cc: [EMAIL PROTECTED]; JBoss-dev; infor:21
Betreff: Re: [JBoss-dev] Save the Rabbit Hole UnifiedClassLoaders - Vote and
Argue at the BugParade! - Spread the Word!


Is this a Win32/1.3.1 - problem only, or is it the same for linux? Is it
something that jboss has a problem with now (how often does it happen?), or
something that isn't implemented because of this.  ( 1 voted 3 votes on
this, I think :-)

Marius

On fre, 2002-04-19 at 12:41, Jung , Dr. Christoph wrote:
> Hi guys,
>  
> as promised, I have refiled our spurious deadlock problem that comes 
> from private synchronized Class 
> java.lang.ClassLoader.loadClassInternal(String)
> in the Bug Parade under
>  
> http://developer.java.sun.com/developer/bugParade/bugs/4670071.html
> 
> 
> * If you feel you can add some explanations or code, please comment
> and convince them!
> * If you also think that this is an important change to make in the
> JDK (and you should when you are, as we, addicted to JBoss), please vote!
> * If you suspect that this topic is of relevance to other (Open
> Source) products, please forward this announcement to the relevant 
> mailing lists such that we get the most pro-votes!
> * If you don´t care, SODs (suck our ... you know what I mean!).
> 
> Maybe don´t be too harsh ;-) The only workaround is to violate the 
> Byte-Code License with a patched class. This is really important! 
> Let´s put the rule to the test!
>  
> CGJ
>  
>  
>  


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



[JBoss-user] Re: [JBoss-dev] Save the Rabbit Hole UnifiedClassLoaders - Vote andArgue at the BugParade! - Spread the Word!

2002-04-19 Thread Marius Kotsbak

Is this a Win32/1.3.1 - problem only, or is it the same for linux? Is it
something that jboss has a problem with now (how often does it happen?),
or something that isn't implemented because of this.  ( 1 voted 3 votes
on this, I think :-)

Marius

On fre, 2002-04-19 at 12:41, Jung , Dr. Christoph wrote:
> Hi guys,
>  
> as promised, I have refiled our spurious deadlock problem that comes from
> private synchronized Class java.lang.ClassLoader.loadClassInternal(String)
> in the Bug Parade under
>  
> http://developer.java.sun.com/developer/bugParade/bugs/4670071.html
>  
> 
> * If you feel you can add some explanations or code, please comment
> and convince them!
> * If you also think that this is an important change to make in the
> JDK (and you should when you are, as we, addicted to JBoss), please vote!
> * If you suspect that this topic is of relevance to other (Open
> Source) products, please forward this announcement to the relevant mailing
> lists such that we get the most pro-votes!
> * If you don´t care, SODs (suck our ... you know what I mean!).
> 
> Maybe don´t be too harsh ;-) The only workaround is to violate the Byte-Code
> License with a patched class. This is really important! Let´s put the
> rule to the test!
>  
> CGJ
>  
>  
>  



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



RE: [JBoss-user] Differences between 2.x and 3.x?

2002-04-19 Thread Mike Finn
Title: RE: [JBoss-user] Differences between 2.x and 3.x?



Ignore last. JBoss OpenTool (from Protegra) does appear to keep jboss.xml 
and jbosscmp-jdbc.xml in synch. My bad.
 
#mike

  -Original Message-From: Dmitri Colebatch 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 18, 2002 5:24 
  PMTo: Mike Finn; JD Brennan; 
  [EMAIL PROTECTED]Subject: Re: [JBoss-user] 
  Differences between 2.x and 3.x?
  Granted JBuilder has come a long way, and 
  yes provides a lot of functionality.  Does it keep jboss.xml and 
  jbosscmp-jdbc.xml/jaws.xml in sync?
   
  cheers
  dim
  
- Original Message - 
From: 
Mike Finn 
To: JD Brennan ; [EMAIL PROTECTED] 

Sent: Thursday, April 18, 2002 11:01 
PM
Subject: RE: [JBoss-user] Differences 
between 2.x and 3.x?

With JB6EE you can add/remove bean methods at will (to 
the implementation class source) and *JBuilder*  keeps interfaces, 
etc in synch for you. Rename the method, add parms, etc, and the changes are 
reflected as well. It also gives you a property editor for beans (like for 
whether to generate local and/or remote interfaces) and methods. Halfway 
decent Entity bean generator too. The Open Tool is not necessary for any of 
this functionality. 
 
#mike
 -Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of JD 
BrennanSent: Wednesday, April 17, 2002 6:28 PMTo: 
[EMAIL PROTECTED]Subject: RE: [JBoss-user] 
Differences between 2.x and 3.x?

  I believe JBuilder will make it easy to create a 
  bean in one place, but when you want to add a new 
  method to it, you have to modify all the 
  files.  XDoclet allows you to create and 
  modify your bean in one place - very cool! 
  JD 
  -Original Message- From: 
  Dmitri Colebatch [mailto:[EMAIL PROTECTED]] 
  Sent: Wednesday, April 17, 2002 3:03 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] 
  Subject: Re: [JBoss-user] Differences between 2.x and 
  3.x? 
  > > Also - have a look at XDoclet (http://sf.net/projects/xdoclet) 
  as a useful > > 
  development tool that has strong support for JBoss. > > Thanks.  I will be using 
  JBuilder 6 with the JBoss open tool so I think I > might have that side of things covered. 
  just FYI, XDoclet is a tool that plugs into ant, and saves 
  you time generating, and keeping uptodate, your 
  remote/home interfaces and deployment descriptors 
  etc.  There's no reason you couldn't use it with JBuilder. 

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


[JBoss-user] JBoss, tomcat, Apache 2

2002-04-19 Thread Simon Stewart

Just about to lurch headlong into installing JBoss 3RC1 + tomcat from
binaries alongside Apache 2.0.35. I'm planning on using the mod_jk
connector downloaded fresh from the apache tomcat site and have
successfully built it (after first downgrading to JDK1.3 because
there's something about the JDK1.4 that mod_jk's native build doesn't
like)

Anyone tried this before and want to share any "gotchas"? I'm slightly
worried that the "Configuring JK2" in the mod_jk README is utterly
blank, but I'm going to try anyway. If I succeed, should I post a
HOWTO here?

Cheers,

Simon

-- 
A debugged program is one for which you have not yet found the conditions
that make it fail.
-- Jerry Ogdin

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



RE: [JBoss-user] questions of jboss start and jboss library

2002-04-19 Thread Mike Finn

Bruce,
It would help to know what OS, JVM, and JBoss version are you using (re:
problem #1). There should only be one process for JBoss (aside from the run
shell) - I suppose except Linux, where threads show as processes, if memory
serves correctly. Also, how are you shutting down the server? shutdown.sh?
ctrl-c?
Mike

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bruce Ling
Sent: Thursday, April 18, 2002 9:08 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] questions of jboss start and jboss library
Importance: High


two questions:

1. I noticed that if I restarted the jboss several time, I cannot get it
started properly any more.  It complains that a lot of the ports are
occupied. The current way I solve the problem is that I go hunting all the
java process and kill them. Then it is fine.  Is there any smarter way than
this?  This is very annoying. It seems that kill the jboss doesnot bring
down all the services

2. I have some javabeans which are shared used by all the session beans and
entity beans.  Currently I jar them and put them in the lib/ext.  But this
brings the problem of the deploying as if I make any changes in the javabean
I need to bring down the jboss server and restart.  This is very annoying as
it is not hot deploy anymore. I know if I jar everything together and put it
in deploy, then it works but the problem is that I don't want to jar
everytime javabeans into all the session and entity bean.  Also this creates
java code management problem as it may cause classpath conflicts.

Tx for the advice in advance.


Bruce


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


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



[JBoss-user] Save the Rabbit Hole UnifiedClassLoaders - Vote and Argue at theBugParade! - Spread the Word!

2002-04-19 Thread Jung , Dr. Christoph
Title: Nachricht



Hi 
guys,
 
as promised, I have 
refiled our spurious deadlock problem that comes from private 
synchronized Class java.lang.ClassLoader.loadClassInternal(String)  in the 
Bug Parade under
 
http://developer.java.sun.com/developer/bugParade/bugs/4670071.html

  If you feel you can 
  add some explanations or code, please comment and convince 
  them!
  If you also think 
  that this is an important change to make in the JDK (and you should when 
  you are, as we, addicted to JBoss), please vote!
  If you suspect that 
  this topic is of relevance to other (Open Source) products, please forward 
  this announcement to the relevant mailing lists such that we 
  get the 
  most pro-votes!
  If you don´t care, 
  SODs (suck our ... you know what I mean!).
Maybe don´t be too 
harsh ;-) The only workaround is to violate the Byte-Code License with a patched 
class. This is really important! Let´s put the
rule to the 
test!
 
CGJ
 
 
 


RE: [JBoss-user] JBOSS - virtual hosts - MAPPING configuration error for request URI

2002-04-19 Thread René Eigenheer

Michael,

ok now it works. thank you

out of the description I was assuming that the application.xml is only
needed when deploying as a non-ROOT application.

thanks
Rene

> -Original Message-
> From: Michael Delamere [mailto:[EMAIL PROTECTED]]
> Sent: Freitag, 19. April 2002 11:44
> To: René Eigenheer; [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] JBOSS - virtual hosts - MAPPING
> configuration
> error for request URI
>
>
> Hi,
>
> I had the same problem.
>
> Make sure that in your application.xml you have stated your host.
> For example:
>
> /host=test.virtualhost.com/jboss
>
> bye Michael Delamere
>
>
>
> - Original Message -
> From: "René Eigenheer" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, April 19, 2002 10:55 AM
> Subject: [JBoss-user] JBOSS - virtual hosts - MAPPING
> configuration error
> for request URI
>
>
> > based on some information found in this group, I've tried to install
> Alain's
> > patch for virtual host support.
> >
> > I use JBoss 2.4.4 with embeded Tomcat 4.0.1 with the following
> configuraion:
> >
> > 2
> > none
> > /host=
> > true
> > 
> >
> >   
> >  
> > localhost
> >  
> >  
> >   
> >> port="8009" minProcessors="5" maxProcessors="75" acceptCount="10"
> > enableLookups="true" debug="2" />
> >
> > 
> >
> > wenn I deploy the archive host=abc.mydomain.net.war it is
> accesible with
> the
> > URL http://localhost/host=abc.mydomain.net but not with
> > http://abc.mydomain.net. When I do the later, I get the
> following error
> > message:
> >
> > [INFO,EmbeddedCatalinaServiceSX] Ajp13Processor[8009][1] invoking...
> > [INFO,EmbeddedCatalinaServiceSX]
> StandardHost[abc.mydomain.net]: MAPPING
> > configuration error for request URI
> > [ERROR,EmbeddedCatalinaServiceSX] Ajp13Processor[8009][1]
> process: invoke
> > java.lang.NullPointerException
> > at
> >
> org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDi
> spatcherValve.
> > java:280)
> > at
> >
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> > java:180)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> > 64)
> > at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:170
> > )
> > at
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> > 64)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> > at
> >
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
> > :163)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:5
> > 66)
> > at
> >
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
> > at
> >
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > at
> >
> org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371)
> > at
> > org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424)
> > at java.lang.Thread.run(Thread.java:484)
> > [INFO,Default] [Ajp13] recycle()
> > [INFO,Default] [Ajp13] receiveNextRequest()
> > [INFO,Default] [Ajp13] receive()
> >
> > Does anybody have an idea why??
> >
> > Thanks in advance
> > Rene
> >
> >
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>


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



Re: [JBoss-user] JBOSS - virtual hosts - MAPPING configuration error for request URI

2002-04-19 Thread Michael Delamere

Hi,

I had the same problem.

Make sure that in your application.xml you have stated your host.
For example:

/host=test.virtualhost.com/jboss

bye Michael Delamere



- Original Message -
From: "René Eigenheer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 19, 2002 10:55 AM
Subject: [JBoss-user] JBOSS - virtual hosts - MAPPING configuration error
for request URI


> based on some information found in this group, I've tried to install
Alain's
> patch for virtual host support.
>
> I use JBoss 2.4.4 with embeded Tomcat 4.0.1 with the following
configuraion:
>
> 2
> none
> /host=
> true
> 
>
>   
>  
> localhost
>  
>  
>   
>port="8009" minProcessors="5" maxProcessors="75" acceptCount="10"
> enableLookups="true" debug="2" />
>
> 
>
> wenn I deploy the archive host=abc.mydomain.net.war it is accesible with
the
> URL http://localhost/host=abc.mydomain.net but not with
> http://abc.mydomain.net. When I do the later, I get the following error
> message:
>
> [INFO,EmbeddedCatalinaServiceSX] Ajp13Processor[8009][1] invoking...
> [INFO,EmbeddedCatalinaServiceSX] StandardHost[abc.mydomain.net]: MAPPING
> configuration error for request URI
> [ERROR,EmbeddedCatalinaServiceSX] Ajp13Processor[8009][1] process: invoke
> java.lang.NullPointerException
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherValve.
> java:280)
> at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> java:180)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
> at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
> )
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> :163)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371)
> at
> org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424)
> at java.lang.Thread.run(Thread.java:484)
> [INFO,Default] [Ajp13] recycle()
> [INFO,Default] [Ajp13] receiveNextRequest()
> [INFO,Default] [Ajp13] receive()
>
> Does anybody have an idea why??
>
> Thanks in advance
> Rene
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


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



[JBoss-user] JBOSS - virtual hosts - MAPPING configuration error for request URI

2002-04-19 Thread René Eigenheer

based on some information found in this group, I've tried to install Alain's
patch for virtual host support.

I use JBoss 2.4.4 with embeded Tomcat 4.0.1 with the following configuraion:

2
none
/host=
true

   
  
 
localhost
 
 
  
  
   


wenn I deploy the archive host=abc.mydomain.net.war it is accesible with the
URL http://localhost/host=abc.mydomain.net but not with
http://abc.mydomain.net. When I do the later, I get the following error
message:

[INFO,EmbeddedCatalinaServiceSX] Ajp13Processor[8009][1] invoking...
[INFO,EmbeddedCatalinaServiceSX] StandardHost[abc.mydomain.net]: MAPPING
configuration error for request URI
[ERROR,EmbeddedCatalinaServiceSX] Ajp13Processor[8009][1] process: invoke
java.lang.NullPointerException
at
org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherValve.
java:280)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:180)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371)
at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424)
at java.lang.Thread.run(Thread.java:484)
[INFO,Default] [Ajp13] recycle()
[INFO,Default] [Ajp13] receiveNextRequest()
[INFO,Default] [Ajp13] receive()

Does anybody have an idea why??

Thanks in advance
Rene


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