[JBoss-user] Re: Opencms + JBoss

2002-10-01 Thread Sobkowiak Krzysztof

Am Mon, 2002-09-30 um 20.17 schrieb Richard Friedman:
 Hello,
 
 I have done a cursory test of opencms with
 ** running mysql 3.23.52 (dropped opencms table before each install)
 ** running on win-xp
 
 JBOSS 3.0.2 with JETTY 
Setup in standard mode, works fine.
Workplace works fine.
 ** exploded opencms.war to $JBOSS_HOME/server/default/deploy/opencms.war
 
 JBOSS 3.0.0 and Tomcat 4.0.3
Setup in standard mode, works fine.
Workplace works fine.
 ** exploded opencms.war to $JBOSS_HOME/server/default/deploy/opencms.war
 
 What os are you using?  Which version of openCms?

I'm using Debian GNU/Linux 3.0 . I tried to use Opencms 5.0beta1 and 4.7.7. 
Which version are you using?





---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] jboss + tomcat problem

2002-10-01 Thread Jules Gosnell

Arijit Ghosh wrote:
 I am using Jboss3.0 with TOmcat 4.0.3
 
 Wjen I start my Jboss, and type in the web browser --
 http://localhost:8080
 
 I am getting the following error --
 
 Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process
 this request

This means exactly what it says.

If you haven't deployed anything - there will be nothing there - this is 
absolutely correct - no problem

Jules


 
 
 
 type Status report
 
 message No Context configured to process this request
 
 description The server encountered an internal error (No Context
 configured to process this request) that prevented it from fulfilling
 this request.
 
 
 
 
 
 Any suggestions ???
 
 
 Regards,
   Arijit
 
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user





---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBOSS - Components library

2002-10-01 Thread Kevin Conner

Sorry to start this again, I've been away.

 1. to showcase Jboss (yes, they could run on other servers, 
 but focus on JB as the 1st server) 
 2. provide a set of components that could be used as-is or 
 customized for your application 
 3. provide some example Uis either using a rich or thin 
 client that utilize these server-side component 
 4. provide a good jumpstart for new applications with a 
 starter build system (combine ant, xdoclet, junit, etc. etc.) 
 , several prewritten applications that use the apis as 
 examples or skeletons, etc. 

If the purpose of this is to showcase JBoss then this would
get my vote.  If it is to create a new library then it wouldn't
(for reasons mentioned earlier).

 When I contemplated embarking on a simliar OSS project that 
 would work on the top 5 app servers, I got some interesting 
 comments from Rickard Öberg, which I neglected to pursue with 
 further discussion at the time (shame on me):
 
 Let's say I wanted to impose access checks on modifying a 
 user, or if I 
 wanted to add custom fields to an account, how would I do 
 that with your 
 solution? Do you have any way to handle extensibility and 
 integration? 
 How about getting user info from various backends, such as 
 RDBMS or LDAP 
 or XML or..?
 
 IMHO there are vital points missing in todays toolkit in 
 order to allow 
 wide reuse of components such as those you outline. These 
 holes will be 
 filled, but IMHO they're not right now.

I think it would be a very good idea to show off the capabilities
of JBoss, after all the easiest way to convince someone to use it
is via demonstration.  We should, however, use some of the projects
which are already out there as a basis.  If they do not have what
we require then we should persuade them to change/add functionality
from the inside (as members) or outside (as users).

We would then be in a position to say 'yes you can do this with
another server but look what else you can do with JBoss!'

 So, I would think the idea would be to ensure its OSS so we 
 can make changes to the code, encourage it for new projects 
 where you may be able to have some flexibility in your 
 implementation if something is currently missing from a 
 component's API, and not get too fancy with things like 
 XML-code generators and other things since there are 
 projects out there that provide these solutions already (see 
 previous messages in this thread). KISS.
 
 James

A second for KISS.  Please do not reinvent the wheel!

Kev

Kevin Conner
Orchard Information Systems Limited
Newcastle Technopole, Kings Manor
Newcastle Upon Tyne, NE1 6PA. United Kingdom
Registered in England, Number 1900078
Tel: +44 (0) 191-2032536  Fax: +44 (0) 191 2302515


---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Jboss/TOMCAT default page not showing -- http://localhost:8080

2002-10-01 Thread Arijit Ghosh

Hi,

Can somebody help me ?

I am using JBoss3.0 with Tomcat4.0.3.

After starting Jboss, and on trying http://localhost:8080

I am getting the following error on the JSP page


and following OUTPUT on the JBoss server ---


However, on using Jboss2.4.3 with Tomcat3.2.3, and on trying
http://localhost:8080

I am getting the default TOMCAT home page as it should be AND and there
is no OUTPUT on the Jboss Server.

Can anyone suggest something ?

Regards,
  Arijit




---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Jboss/TOMCAT default page not showing -- http://localhost:8080

2002-10-01 Thread Arijit Ghosh

Please ignore the earlier mail as I forgot to add the ERRORS. :(

Hi,

Can somebody help me ?

I am using JBoss3.0 with Tomcat4.0.3.

After starting Jboss, and on trying http://localhost:8080

I am getting the following error on the JSP page

Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process
this request



type Status report

message No Context configured to process this request

description The server encountered an internal error (No Context
configured to process this request) that prevented it from fulfilling
this request.





and following OUTPUT on the JBoss server ---

14:50:40,410 INFO  [Engine] StandardHost[localhost]: MAPPING
configuration error
 for request URI


However, on using Jboss2.4.3 with Tomcat3.2.3, and on trying
http://localhost:8080

I am getting the default TOMCAT home page as it should be AND and there
is no OUTPUT on the Jboss Server.

Can anyone suggest something ?

Regards,
  Arijit




---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Firebird - Long mapping error

2002-10-01 Thread Victor Batista

Hi!
I have changed the database dialect from 1 to 3!
Now I correctly create the tables, although, my longs are
converter to VARCHAR(250) - When I consult the database with the
Marathon client.

My long mapping is:

 mapping
java-typejava.lang.Long/java-type
jdbc-typeBIGINT/jdbc-type
sql-typeNUMERIC(18,0)/sql-type
 /mapping

Is this the expected behaviour?

Thanks again,
Victor Batista

-Original Message-
From: David Jencks [mailto:[EMAIL PROTECTED]] 
Sent: sexta-feira, 27 de Setembro de 2002 21:12
To: Victor Batista
Subject: Re: [JBoss-user] Firebird - Long mapping error

I don't remember if you can change the dialect of an existing db.  Using
the FirebirdManager mbean you can create a new dialect 3 db.  You can
also
do this with isql, but I don't remember the syntax.  Ask on the firebird
lists or look at the docs.

david jencks

On 2002.09.27 06:11:39 -0400 Victor Batista wrote:
 Hello!
   Thanks for your reply!
   I am a newbie with Firebird. How can I change the dialect from
 1! To 3. 
   Thanks and regards,
   Victor Batista
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of David
 Jencks
 Sent: quinta-feira, 26 de Setembro de 2002 16:51
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Firebird - Long mapping error
 
 The best way is to use a dialect 3 database and the supplied mapping. 
 Double precision is a really unsatisfactory way to represent a large
 integer, I suggest if you need to use a dialect 1 db you not use Long.
 
 david jencks
 
 On 2002.09.26 11:07:14 -0400 Victor Batista wrote:
  Hello!
  I am using tomcat 3.0.0 with bundled tomcat 4.0.3. I am
  using the database Firebird (Firebird-1.0.0.796) with the driver
  FirebirdSQL-1.0_RC1. I am using the InterBase mapping
 which
  is defined standardjbosscmp-jdbc.xml file. I am having problems 
  when I use long fields within my CMP entity beans.
  According to standardjbosscmp-jdbc.xml, the long mapping is:
   mapping
  java-typejava.lang.Long/java-type
  jdbc-typeBIGINT/jdbc-type
  sql-typeNUMERIC(18,0)/sql-type
   /mapping
   
  The exception is:   
  org.jboss.deployment.DeploymentException: Error while
  creating table; - nested throwable: 
  (org.firebirdsql.jdbc.FBSQLException: GDS Exception:
  org.firebirdsql.gds.GDSException: 
  Dynamic SQL ErrorSQL error code = -817
  Metadata update statement is not allowed by the current
  database SQL dialect 1 null 
   
  I have changed NUMERIC(18,0) by DOUBLE PRECISION. I
 have
  done this, because I tried to create one table from the
  Marathon client with one column NUMERIC(18,0 and on
 the
  DB I had the type Double Precision for that column.
   
  My new mapping:
   mapping
  java-typejava.lang.Long/java-type
  jdbc-typeBIGINT/jdbc-type
  sql-typeDOUBLE PRECISION/sql-type
   /mapping
   
  
  Can anyone tell me which is the best way to map Longs
with
  Firebird?
   
   
  Thanks in advance,
  Victor Batista
  
  html xmlns:o=urn:schemas-microsoft-com:office:office
  xmlns:w=urn:schemas-microsoft-com:office:word
  xmlns=http://www.w3.org/TR/REC-html40;
  
  head
  META HTTP-EQUIV=Content-Type CONTENT=text/html;
charset=us-ascii
  
  
  meta name=ProgId content=Word.Document
  meta name=Generator content=Microsoft Word 10
  meta name=Originator content=Microsoft Word 10
  link rel=File-List href=cid:[EMAIL PROTECTED];
  !--[if gte mso 9]xml
   o:OfficeDocumentSettings
o:DoNotRelyOnCSS/
   /o:OfficeDocumentSettings
  /xml![endif]--!--[if gte mso 9]xml
   w:WordDocument
w:SpellingStateClean/w:SpellingState
w:GrammarStateClean/w:GrammarState
w:DocumentKindDocumentEmail/w:DocumentKind
w:EnvelopeVis/
w:Compatibility
 w:BreakWrappedTables/
 w:SnapToGridInCell/
 w:WrapTextWithPunct/
 w:UseAsianBreakRules/
/w:Compatibility
w:BrowserLevelMicrosoftInternetExplorer4/w:BrowserLevel
   /w:WordDocument
  /xml![endif]--
  style
  !--
   /* Style Definitions */
   p.MsoNormal, li.MsoNormal, div.MsoNormal
  {mso-style-parent:;
  margin:0in;
  margin-bottom:.0001pt;
  mso-pagination:widow-orphan;
  font-size:12.0pt;
  font-family:Times New Roman;
  mso-fareast-font-family:Times New Roman;
  mso-ansi-language:PT;}
  a:link, span.MsoHyperlink
  {color:blue;
  text-decoration:underline;
  text-underline:single;}
  a:visited, span.MsoHyperlinkFollowed
  {color:purple;
  

Re: [JBoss-user] Deploying MBean SAR in an EAR

2002-10-01 Thread Jonathan . O'Connor

David,
I just tried out ch2-ex3.ear which is one of the samples that comes with 
the JBoss 3 book.
I am running it under JBoss 3.0.0 and it too fails to deploy the SAR.
Running it under JBoss 3.0.1 works fine. Only, I have never been able to 
deploy our app on 3.0.1
Ah well, that's another problem!
Thanks for the help,
Jonathan O'Connor
Ph: +353 1 872 3305
Mob: +353 86 824 9736
Fax: +353 1 873 3612




David Jencks [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
30.09.2002 18:50
Please respond to jboss-user

 
To: [EMAIL PROTECTED]
cc: 
Subject:Re: [JBoss-user] Deploying MBean SAR in an EAR


I'm afraid you are wrong, only packages referenced from application.xml or
jboss-app.xml will be fully deployed, and only other jars referenced from
manifest classpaths will have their classes deployed.

The original behavior was to deploy everything and ignore application.xml,
but someone made it spec compliant before 3.0.0 and now we need the
explicit reference from jboss-app.xml.

If this is wrong... please let me know, the code is all there to only
deploy explicitly mentioned packages.

I don't know why the package wouldn't be getting deployed.  Does the log
show anything?

thanks
david jencks

On 2002.09.30 13:10:19 -0400 Sacha Labourey wrote:
 Hello,
 
 just add you sar in your ear, it will be deployed. You don't need
 anything
 in jboss-app.xml for your sar.
 
 Cheers,
 
 sacha
 
  -Message d'origine-
  De : [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]De la part de
  Jonathan.O'[EMAIL PROTECTED]
  Envoye : lundi, 30 septembre 2002 19:09
  A : [EMAIL PROTECTED]
  Objet : [JBoss-user] Deploying MBean SAR in an EAR
 
 
  Folks,
  I'm having great fun with MBeans. I now have an MBean which I use to
  initialize my system session beans. It does two things in start(). 1.
 It
  reads from the database using JDBC and a datasource. This always
  works. 2.
  It invokes a method on a local session bean. This works at initial
  deployment but not during redeployment.
 
  I originally had my ear separate from the sar. But now I want to merge
  these into one ear, with SAR inside it. I have added a jboss-app.xml 
to
  my.ear/META-INF, but it does not get invoked. I have used the examples
  from the JBoss 3.0 book as my guide.
 
 
  Ciao,
  Jonathan O'Connor
  Ph: +353 1 872 3305
  Mob: +353 86 824 9736
  Fax: +353 1 873 3612
 
 
  ---
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user





---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Firebird - Long mapping error

2002-10-01 Thread David Jencks

This is certainly not what I expect.  What is the create table sql
generated by jboss?

david jencks


On 2002.10.01 07:22:29 -0400 Victor Batista wrote:
 Hi!
   I have changed the database dialect from 1 to 3!
   Now I correctly create the tables, although, my longs are
 converter to VARCHAR(250) - When I consult the database with the
 Marathon client.
 
   My long mapping is:
   
  mapping
 java-typejava.lang.Long/java-type
 jdbc-typeBIGINT/jdbc-type
 sql-typeNUMERIC(18,0)/sql-type
  /mapping
 
   Is this the expected behaviour?
 
   Thanks again,
   Victor Batista
 
 -Original Message-
 From: David Jencks [mailto:[EMAIL PROTECTED]] 
 Sent: sexta-feira, 27 de Setembro de 2002 21:12
 To: Victor Batista
 Subject: Re: [JBoss-user] Firebird - Long mapping error
 
 I don't remember if you can change the dialect of an existing db.  Using
 the FirebirdManager mbean you can create a new dialect 3 db.  You can
 also
 do this with isql, but I don't remember the syntax.  Ask on the firebird
 lists or look at the docs.
 
 david jencks
 
 On 2002.09.27 06:11:39 -0400 Victor Batista wrote:
  Hello!
  Thanks for your reply!
  I am a newbie with Firebird. How can I change the dialect from
  1! To 3. 
  Thanks and regards,
  Victor Batista
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] On Behalf Of David
  Jencks
  Sent: quinta-feira, 26 de Setembro de 2002 16:51
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-user] Firebird - Long mapping error
  
  The best way is to use a dialect 3 database and the supplied mapping. 
  Double precision is a really unsatisfactory way to represent a large
  integer, I suggest if you need to use a dialect 1 db you not use Long.
  
  david jencks
  
  On 2002.09.26 11:07:14 -0400 Victor Batista wrote:
   Hello!
   I am using tomcat 3.0.0 with bundled tomcat 4.0.3. I am
   using the database Firebird (Firebird-1.0.0.796) with the driver
   FirebirdSQL-1.0_RC1. I am using the InterBase mapping
  which
   is defined standardjbosscmp-jdbc.xml file. I am having problems 
   when I use long fields within my CMP entity beans.
   According to standardjbosscmp-jdbc.xml, the long mapping is:
mapping
   java-typejava.lang.Long/java-type
   jdbc-typeBIGINT/jdbc-type
   sql-typeNUMERIC(18,0)/sql-type
/mapping

   The exception is:   
   org.jboss.deployment.DeploymentException: Error while
   creating table; - nested throwable: 
   (org.firebirdsql.jdbc.FBSQLException: GDS Exception:
   org.firebirdsql.gds.GDSException: 
   Dynamic SQL ErrorSQL error code = -817
   Metadata update statement is not allowed by the current
   database SQL dialect 1 null 

   I have changed NUMERIC(18,0) by DOUBLE PRECISION. I
  have
   done this, because I tried to create one table from the
   Marathon client with one column NUMERIC(18,0 and on
  the
   DB I had the type Double Precision for that column.

   My new mapping:
mapping
   java-typejava.lang.Long/java-type
   jdbc-typeBIGINT/jdbc-type
   sql-typeDOUBLE PRECISION/sql-type
/mapping

   
   Can anyone tell me which is the best way to map Longs
 with
   Firebird?


   Thanks in advance,
   Victor Batista
   
   html xmlns:o=urn:schemas-microsoft-com:office:office
   xmlns:w=urn:schemas-microsoft-com:office:word
   xmlns=http://www.w3.org/TR/REC-html40;
   
   head
   META HTTP-EQUIV=Content-Type CONTENT=text/html;
 charset=us-ascii
   
   
   meta name=ProgId content=Word.Document
   meta name=Generator content=Microsoft Word 10
   meta name=Originator content=Microsoft Word 10
   link rel=File-List href=cid:[EMAIL PROTECTED];
   !--[if gte mso 9]xml
o:OfficeDocumentSettings
 o:DoNotRelyOnCSS/
/o:OfficeDocumentSettings
   /xml![endif]--!--[if gte mso 9]xml
w:WordDocument
 w:SpellingStateClean/w:SpellingState
 w:GrammarStateClean/w:GrammarState
 w:DocumentKindDocumentEmail/w:DocumentKind
 w:EnvelopeVis/
 w:Compatibility
  w:BreakWrappedTables/
  w:SnapToGridInCell/
  w:WrapTextWithPunct/
  w:UseAsianBreakRules/
 /w:Compatibility
 w:BrowserLevelMicrosoftInternetExplorer4/w:BrowserLevel
/w:WordDocument
   /xml![endif]--
   style
   !--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:;
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:Times New 

Re: [JBoss-user] Datasource security problems migrating to JBoss3.2

2002-10-01 Thread Bobby Abraham

David Jencks wrote:
 This should be fixed in Branch_3_2 and HEAD
 
 david jencks

Yes,  my app does work now on 3.2 thanks.

I do get a jasper error with 3.2 unless I roll back to the jetty/jasper 
combo from 3.0.2 though.

-- 
Bobby Abraham  [EMAIL PROTECTED]
Computer Manangement USA, Inc  +1 407 514 3018
Orlando, FL




---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Firebird - Long mapping error

2002-10-01 Thread Victor Batista


Hi!

The create table generated by JBoss is:

13:57:12,283 DEBUG [FBManagedConnection] preparing sql: CREATE TABLE
DC_USERS (username VARCHAR(30) NOT NULL, name VARCHAR(30), surname
VARCHAR(30), passwd VARCHAR(30), phone VARCHAR(30), address
VARCHAR(250), description VARCHAR(250), creation_date NUMERIC(18,0) NOT
NULL, CONSTRAINT PK_DC_USERS PRIMARY KEY (username))

The Numeric(18,0) is being converted to the previous datatype
(Description Iin this case). With description-VARCHAR(250), I get
creation_data-VARCHAR(250). I changed description to VARCHAR(150) and I
got creation_date VARCHAR(150).


Thanks again,
Victor Batista

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of David
Jencks
Sent: terça-feira, 1 de Outubro de 2002 13:14
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Firebird - Long mapping error

This is certainly not what I expect.  What is the create table sql
generated by jboss?

david jencks


On 2002.10.01 07:22:29 -0400 Victor Batista wrote:
 Hi!
   I have changed the database dialect from 1 to 3!
   Now I correctly create the tables, although, my longs are
 converter to VARCHAR(250) - When I consult the database with the
 Marathon client.
 
   My long mapping is:
   
  mapping
 java-typejava.lang.Long/java-type
 jdbc-typeBIGINT/jdbc-type
 sql-typeNUMERIC(18,0)/sql-type
  /mapping
 
   Is this the expected behaviour?
 
   Thanks again,
   Victor Batista
 
 -Original Message-
 From: David Jencks [mailto:[EMAIL PROTECTED]] 
 Sent: sexta-feira, 27 de Setembro de 2002 21:12
 To: Victor Batista
 Subject: Re: [JBoss-user] Firebird - Long mapping error
 
 I don't remember if you can change the dialect of an existing db.
Using
 the FirebirdManager mbean you can create a new dialect 3 db.  You can
 also
 do this with isql, but I don't remember the syntax.  Ask on the
firebird
 lists or look at the docs.
 
 david jencks
 
 On 2002.09.27 06:11:39 -0400 Victor Batista wrote:
  Hello!
  Thanks for your reply!
  I am a newbie with Firebird. How can I change the dialect from
  1! To 3. 
  Thanks and regards,
  Victor Batista
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] On Behalf Of David
  Jencks
  Sent: quinta-feira, 26 de Setembro de 2002 16:51
  To: [EMAIL PROTECTED]
  Subject: Re: [JBoss-user] Firebird - Long mapping error
  
  The best way is to use a dialect 3 database and the supplied
mapping. 
  Double precision is a really unsatisfactory way to represent a large
  integer, I suggest if you need to use a dialect 1 db you not use
Long.
  
  david jencks
  
  On 2002.09.26 11:07:14 -0400 Victor Batista wrote:
   Hello!
   I am using tomcat 3.0.0 with bundled tomcat 4.0.3. I
am
   using the database Firebird (Firebird-1.0.0.796) with the driver
   FirebirdSQL-1.0_RC1. I am using the InterBase mapping
  which
   is defined standardjbosscmp-jdbc.xml file. I am having problems 
   when I use long fields within my CMP entity beans.
   According to standardjbosscmp-jdbc.xml, the long mapping is:
mapping
   java-typejava.lang.Long/java-type
   jdbc-typeBIGINT/jdbc-type
   sql-typeNUMERIC(18,0)/sql-type
/mapping

   The exception is:   
   org.jboss.deployment.DeploymentException: Error while
   creating table; - nested throwable: 
   (org.firebirdsql.jdbc.FBSQLException: GDS Exception:
   org.firebirdsql.gds.GDSException: 
   Dynamic SQL ErrorSQL error code = -817
   Metadata update statement is not allowed by the
current
   database SQL dialect 1 null 

   I have changed NUMERIC(18,0) by DOUBLE PRECISION.
I
  have
   done this, because I tried to create one table from the
   Marathon client with one column NUMERIC(18,0 and
on
  the
   DB I had the type Double Precision for that column.

   My new mapping:
mapping
   java-typejava.lang.Long/java-type
   jdbc-typeBIGINT/jdbc-type
   sql-typeDOUBLE PRECISION/sql-type
/mapping

   
   Can anyone tell me which is the best way to map Longs
 with
   Firebird?


   Thanks in advance,
   Victor Batista
   
   html xmlns:o=urn:schemas-microsoft-com:office:office
   xmlns:w=urn:schemas-microsoft-com:office:word
   xmlns=http://www.w3.org/TR/REC-html40;
   
   head
   META HTTP-EQUIV=Content-Type CONTENT=text/html;
 charset=us-ascii
   
   
   meta name=ProgId content=Word.Document
   meta name=Generator content=Microsoft Word 10
   meta name=Originator 

Re: [JBoss-user] jboss + tomcat 4.1.12

2002-10-01 Thread Pete Beck

This also works with V3.
I never managed to get Coyote working for SSL though

On Mon, 2002-09-30 at 23:29, James Cooley wrote:
 Hi David,
 
  It's pretty simple to get the Coyote connector working with JBoss 2.4.7 
 and Tomcat 4.0.4. Just replace
 
 org.apache.catalina.connector.http10.HttpConnector
 with
 org.apache.coyote.tomcat4.CoyoteConnector
 
 in your jboss.jcml in the conf/catalina directory. I'd imagine 2.4.9 
 should work as well as CoyoteConnector is included in Tomcat 4.0.4 even 
 though it doesn't appear to be advertised in the documentation,
 
 James
 
 
 
 David Ward wrote:
 
the Coyote connector, but that doesn't come included until Catalina 
  4.1.  I could get it into 3.3 or 4.0, but I'd have to mess around with 
  the packaging and configs.  Is there any way someone can release a 
  JBoss-2.4.9_Tomcat-4.1.12.zip?  (I can't use JBoss 3.x yet - long story.)
 
 
 
 
 
 
 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
-- 
Peter Beck BEng (hons)  - Managing Director, Electrostrata Ltd.
http://www.electrostrata.com  --+-+-+-+--  Experts in e-business and
e-commerce



---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Firebird - Long mapping error

2002-10-01 Thread David Jencks

This seems highly implausible.  Does your app work?  Can you check with
isql to see what the table structure actually is (by looking at
RDB$RELATION_FIELDS as I recall)?  I think a problem with Marathon is more
likely than one with the jca driver or the Firebird engine...  In any case
if there really is a problem the firebird lists will get you better info.

david jencks


On 2002.10.01 09:06:36 -0400 Victor Batista wrote:
 
 Hi!
 
 The create table generated by JBoss is:
 
 13:57:12,283 DEBUG [FBManagedConnection] preparing sql: CREATE TABLE
 DC_USERS (username VARCHAR(30) NOT NULL, name VARCHAR(30), surname
 VARCHAR(30), passwd VARCHAR(30), phone VARCHAR(30), address
 VARCHAR(250), description VARCHAR(250), creation_date NUMERIC(18,0) NOT
 NULL, CONSTRAINT PK_DC_USERS PRIMARY KEY (username))
 
 The Numeric(18,0) is being converted to the previous datatype
 (Description Iin this case). With description-VARCHAR(250), I get
 creation_data-VARCHAR(250). I changed description to VARCHAR(150) and I
 got creation_date VARCHAR(150).
 
 
 Thanks again,
   Victor Batista
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]] On Behalf Of David
 Jencks
 Sent: terça-feira, 1 de Outubro de 2002 13:14
 To: [EMAIL PROTECTED]
 Subject: Re: [JBoss-user] Firebird - Long mapping error
 
 This is certainly not what I expect.  What is the create table sql
 generated by jboss?
 
 david jencks
 
 
 On 2002.10.01 07:22:29 -0400 Victor Batista wrote:
  Hi!
  I have changed the database dialect from 1 to 3!
  Now I correctly create the tables, although, my longs are
  converter to VARCHAR(250) - When I consult the database with the
  Marathon client.
  
  My long mapping is:
  
   mapping
  java-typejava.lang.Long/java-type
  jdbc-typeBIGINT/jdbc-type
  sql-typeNUMERIC(18,0)/sql-type
   /mapping
  
  Is this the expected behaviour?
  
  Thanks again,
  Victor Batista
  
  -Original Message-
  From: David Jencks [mailto:[EMAIL PROTECTED]] 
  Sent: sexta-feira, 27 de Setembro de 2002 21:12
  To: Victor Batista
  Subject: Re: [JBoss-user] Firebird - Long mapping error
  
  I don't remember if you can change the dialect of an existing db.
 Using
  the FirebirdManager mbean you can create a new dialect 3 db.  You can
  also
  do this with isql, but I don't remember the syntax.  Ask on the
 firebird
  lists or look at the docs.
  
  david jencks
  
  On 2002.09.27 06:11:39 -0400 Victor Batista wrote:
   Hello!
 Thanks for your reply!
 I am a newbie with Firebird. How can I change the dialect
 from
   1! To 3. 
 Thanks and regards,
 Victor Batista
   
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]] On Behalf Of David
   Jencks
   Sent: quinta-feira, 26 de Setembro de 2002 16:51
   To: [EMAIL PROTECTED]
   Subject: Re: [JBoss-user] Firebird - Long mapping error
   
   The best way is to use a dialect 3 database and the supplied
 mapping. 
   Double precision is a really unsatisfactory way to represent a large
   integer, I suggest if you need to use a dialect 1 db you not use
 Long.
   
   david jencks
   
   On 2002.09.26 11:07:14 -0400 Victor Batista wrote:
Hello!
I am using tomcat 3.0.0 with bundled tomcat 4.0.3. I
 am
using the database Firebird (Firebird-1.0.0.796) with the driver
FirebirdSQL-1.0_RC1. I am using the InterBase mapping
   which
is defined standardjbosscmp-jdbc.xml file. I am having problems 
when I use long fields within my CMP entity beans.
According to standardjbosscmp-jdbc.xml, the long mapping is:
 mapping
java-typejava.lang.Long/java-type
jdbc-typeBIGINT/jdbc-type
sql-typeNUMERIC(18,0)/sql-type
 /mapping
 
The exception is:   
org.jboss.deployment.DeploymentException: Error while
creating table; - nested throwable: 
(org.firebirdsql.jdbc.FBSQLException: GDS Exception:
org.firebirdsql.gds.GDSException: 
Dynamic SQL ErrorSQL error code = -817
Metadata update statement is not allowed by the
 current
database SQL dialect 1 null 
 
I have changed NUMERIC(18,0) by DOUBLE PRECISION.
 I
   have
done this, because I tried to create one table from the
Marathon client with one column NUMERIC(18,0 and
 on
   the
DB I had the type Double Precision for that column.
 
My new mapping:
 mapping
java-typejava.lang.Long/java-type
jdbc-typeBIGINT/jdbc-type
sql-typeDOUBLE PRECISION/sql-type
 /mapping
 


RE: [JBoss-user] JBOSS - Components library

2002-10-01 Thread James Higginbotham

Kevin,

That is my point exactly - showcase Jboss, build as much using the standard j2ee 
approach, integrate interesting libs as needed, and make something professional. This 
may mean trying to find someone who is a graphic artist to put together a nice look 
for the examples. Anyone can write an ugly demo.. This demo and the  associated 
components should be something you would go to a tech conference with, if the purpose 
is to woo potential converts.. Just ask yourself, What would BEA do? 

Now, maybe I'm going overboard and this is something the Jboss services team has done 
or should do. But one thing I have learned - if you are targeting business (and even 
some tech) folks to convince them to go Jboss, sharp Uis win out most of the time.. 
Jboss has it where it counts - architecture, now let's take it to the next level - win 
the business folks as well. So, two tracks: demo the tech capabilities of Jboss with 
demos, and make it sharp for the business folks that need convincing. 

Thoughts?


 -Original Message-
 From: Kevin Conner [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, October 01, 2002 3:51 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: [JBoss-user] JBOSS - Components library
 
 
 Sorry to start this again, I've been away.
 
  1. to showcase Jboss (yes, they could run on other servers,
  but focus on JB as the 1st server) 
  2. provide a set of components that could be used as-is or 
  customized for your application 
  3. provide some example Uis either using a rich or thin 
  client that utilize these server-side component 
  4. provide a good jumpstart for new applications with a 
  starter build system (combine ant, xdoclet, junit, etc. etc.) 
  , several prewritten applications that use the apis as 
  examples or skeletons, etc. 
 
 If the purpose of this is to showcase JBoss then this would
 get my vote.  If it is to create a new library then it 
 wouldn't (for reasons mentioned earlier).
 
  When I contemplated embarking on a simliar OSS project that
  would work on the top 5 app servers, I got some interesting 
  comments from Rickard Öberg, which I neglected to pursue with 
  further discussion at the time (shame on me):
  
  Let's say I wanted to impose access checks on modifying a
  user, or if I 
  wanted to add custom fields to an account, how would I do 
  that with your 
  solution? Do you have any way to handle extensibility and 
  integration? 
  How about getting user info from various backends, such as 
  RDBMS or LDAP 
  or XML or..?
  
  IMHO there are vital points missing in todays toolkit in
  order to allow 
  wide reuse of components such as those you outline. These 
  holes will be 
  filled, but IMHO they're not right now.
 
 I think it would be a very good idea to show off the 
 capabilities of JBoss, after all the easiest way to convince 
 someone to use it is via demonstration.  We should, however, 
 use some of the projects which are already out there as a 
 basis.  If they do not have what we require then we should 
 persuade them to change/add functionality from the inside (as 
 members) or outside (as users).
 
 We would then be in a position to say 'yes you can do this 
 with another server but look what else you can do with JBoss!'
 
  So, I would think the idea would be to ensure its OSS so we
  can make changes to the code, encourage it for new projects 
  where you may be able to have some flexibility in your 
  implementation if something is currently missing from a 
  component's API, and not get too fancy with things like 
  XML-code generators and other things since there are
  projects out there that provide these solutions already (see
  previous messages in this thread). KISS.
  
  James
 
 A second for KISS.  Please do not reinvent the wheel!
 
   Kev
 
 Kevin Conner
 Orchard Information Systems Limited
 Newcastle Technopole, Kings Manor
 Newcastle Upon Tyne, NE1 6PA. United Kingdom
 Registered in England, Number 1900078
 Tel: +44 (0) 191-2032536  Fax: +44 (0) 191 2302515
 
 
 ---
 This sf.net email is sponsored by: DEDICATED SERVERS only 
 $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server 
 today at http://www.ServePath.com/indexfm.htm
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED] 
 https://lists.sourceforge.net/lists/listinfo/j boss-user
 


---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] MBean service - overtakes jboss startup?

2002-10-01 Thread McKnight, David

I know I'm doing something wrong, just not sure what it is. I have an MBean
that starts up when jboss starts - but no other jboss activity happens after
this mbean starts. The code starts a loop that checks a db, processes data,
waits a few seconds, and repeats. When the mbean deploys, Start() is called,
then the mbean processing commences. BUT...no other jboss services start
after this. You never even get the Jboss started in 25 seconds message.
Any ideas? 

thanks all,
David


---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Realm Not Configured

2002-10-01 Thread David Ward

I have an app that works fine in jboss-2.4.7_tomcat-3.2.3, and am trying 
  to use it in jboss 3.0.3 (w/integrated jetty).  I can surf the app 
until I try to reach a protected area (config'd in web.xml), at which 
point I get this error in my browser (instead of the intended login.jsp 
page):

HTTP ERROR: 500 Realm Not Configured
RequestURI=/docs/sweb/david_cust/david_site/PrintItLogin

Any pointers?  I'm guessing it's a configuration problem...

Thanks,
David



---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] MBean service - overtakes jboss startup?

2002-10-01 Thread David Jencks

In your start method, you need to start a thread to do this processing,
then return.

Alternatively you could register with the Timer service or the jboss
scheduler and have it notify you periodically to do the work.

david jencks

On 2002.10.01 11:30:44 -0400 McKnight, David wrote:
 I know I'm doing something wrong, just not sure what it is. I have an
 MBean
 that starts up when jboss starts - but no other jboss activity happens
 after
 this mbean starts. The code starts a loop that checks a db, processes
 data,
 waits a few seconds, and repeats. When the mbean deploys, Start() is
 called,
 then the mbean processing commences. BUT...no other jboss services start
 after this. You never even get the Jboss started in 25 seconds message.
 Any ideas? 
 
 thanks all,
 David
 
 
 ---
 This sf.net email is sponsored by: DEDICATED SERVERS only $89!
 Linux or FreeBSD, FREE setup, FAST network. Get your own server 
 today at http://www.ServePath.com/indexfm.htm
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 


---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] MBean service - overtakes jboss startup?

2002-10-01 Thread Greg Turner

Look in your start method for anything that blocks or is an infinite loop.


McKnight, David wrote:

 I know I'm doing something wrong, just not sure what it is. I have an MBean
 that starts up when jboss starts - but no other jboss activity happens after
 this mbean starts. The code starts a loop that checks a db, processes data,
 waits a few seconds, and repeats. When the mbean deploys, Start() is called,
 then the mbean processing commences. BUT...no other jboss services start
 after this. You never even get the Jboss started in 25 seconds message.
 Any ideas?

 thanks all,
 David

 ---
 This sf.net email is sponsored by: DEDICATED SERVERS only $89!
 Linux or FreeBSD, FREE setup, FAST network. Get your own server
 today at http://www.ServePath.com/indexfm.htm
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user

--
Greg Turner, JBoss Authorized Consultant

Tiburon Enterprise Systems
http://www.tiburon-e-systems.com
Box 1171
Tiburon, CA 94920
415-927-2543




---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] JBOSS - Components library

2002-10-01 Thread Kevin Conner

 That is my point exactly - showcase Jboss, build as much 
 using the standard j2ee approach, integrate interesting libs 
 as needed, and make something professional. This may mean 
 trying to find someone who is a graphic artist to put 
 together a nice look for the examples. Anyone can write an 
 ugly demo.. This demo and the  associated components should 
 be something you would go to a tech conference with, if the 
 purpose is to woo potential converts.. Just ask yourself, 
 What would BEA do? 
 
 Now, maybe I'm going overboard and this is something the 
 Jboss services team has done or should do. But one thing I 
 have learned - if you are targeting business (and even some 
 tech) folks to convince them to go Jboss, sharp Uis win out 
 most of the time.. Jboss has it where it counts - 
 architecture, now let's take it to the next level - win the 
 business folks as well. So, two tracks: demo the tech 
 capabilities of Jboss with demos, and make it sharp for the 
 business folks that need convincing. 
 
 Thoughts?

Sorry, I included your comments because I agree with them.
I also wanted to stress my original objection to creating
a NEW components library.  I agree completely with what
you are saying.

We should be showcasing JBoss by building upon an existing
component framework and, as much as is possible, improving
that framework instead of creating yet another.  It is true
that some things may be JBoss specific but we should aim to
keep that to a minimum.

Sorry for the confusion,
Kev

Kevin Conner
Orchard Information Systems Limited
Newcastle Technopole, Kings Manor
Newcastle Upon Tyne, NE1 6PA. United Kingdom
Registered in England, Number 1900078
Tel: +44 (0) 191-2032536  Fax: +44 (0) 191 2302515


---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Colorfull memory puzzle

2002-10-01 Thread Aaron Metzger

Michael Bartmann wrote:
 
 Jules Gosnell wrote:

 
 Does anybody know a good _free_ graphing
 package I could plug this into?
 


JFreeChart which can be found at:

  http://www.object-refinery.com/jfreechart/


---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Jboss/TOMCAT default page not showing -- http://localhost:8080

2002-10-01 Thread Barlow, Dustin

Try http://localhost:8080/jmx-console

There is no default context anymore in the 3.0 series, so that's why you
aren't seeing a default page like you did in the 2.4.x series of JBoss.

Dustin

 -Original Message-
 From: Arijit Ghosh [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 01, 2002 5:22 AM
 To: JBoss User
 Subject: [JBoss-user] Jboss/TOMCAT default page not showing --
 http://localhost:8080
 
 
 Please ignore the earlier mail as I forgot to add the ERRORS. :(
 
 Hi,
 
 Can somebody help me ?
 
 I am using JBoss3.0 with Tomcat4.0.3.
 
 After starting Jboss, and on trying http://localhost:8080
 
 I am getting the following error on the JSP page
 
 Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured 
 to process
 this request
 
 --
 --
 
 type Status report
 
 message No Context configured to process this request
 
 description The server encountered an internal error (No Context
 configured to process this request) that prevented it from fulfilling
 this request.
 
 --
 --
 
 
 
 and following OUTPUT on the JBoss server ---
 
 14:50:40,410 INFO  [Engine] StandardHost[localhost]: MAPPING
 configuration error
  for request URI
 
 
 However, on using Jboss2.4.3 with Tomcat3.2.3, and on trying
 http://localhost:8080
 
 I am getting the default TOMCAT home page as it should be AND 
 and there
 is no OUTPUT on the Jboss Server.
 
 Can anyone suggest something ?
 
 Regards,
   Arijit
 
 
 
 
 ---
 This sf.net email is sponsored by: DEDICATED SERVERS only $89!
 Linux or FreeBSD, FREE setup, FAST network. Get your own server 
 today at http://www.ServePath.com/indexfm.htm
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 


---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] error when shting down 3.0.3 wiht tomcat

2002-10-01 Thread Emerson Cargnin - SICREDI Serviços

i got the following error when shuting down :

13:33:41,879 ERROR [MainDeployer] Undeployment failed: 
file:/home/emersonc/jboss-3.0.3_tomcat-4.1.12/server/default/deploy/http-invoker.sar/invoker.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested 
throwable: (java.lang.NullPointerException)
 at 
org.jboss.web.AbstractWebContainer.stop(AbstractWebContainer.java:355)
 at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:469)
 at 
org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:443)
 at 
org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:331)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
 at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
 at 
org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:717)
 at 
org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:700)
 at 
org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:688)
Caused by: java.lang.NullPointerException
 at org.jboss.util.file.Files.delete(Files.java:39)
 at 
org.jboss.web.catalina.EmbeddedCatalinaService41.performUndeploy(EmbeddedCatalinaService41.java:330)
 at 
org.jboss.web.AbstractWebContainer.stop(AbstractWebContainer.java:345)
 ... 12 more
13:33:41,893 INFO  [MainDeployer] not deleting localUrl, it is null or 
not a copy: 
file:/home/emersonc/jboss-3.0.3_tomcat-4.1.12/server/default/deploy/http-invoker.sar/invoker.war/
13:33:41,894 INFO  [MainDeployer] Undeployed 
file:/home/emersonc/jboss-3.0.3_tomcat-4.1.12/server/default/deploy/http-invoker.sar/invoker.war/
13:33:41,895 INFO  [MainDeployer] Undeploying 
file:/home/emersonc/jboss-3.0.3_tomcat-4.1.12/server/default/deploy/tomcat41-service.xml
13:33:41,899 INFO  [EmbeddedCatalinaService41] Stopping
13:33:41,901 INFO  [MainDeployer] Removing deployer: 
org.jboss.web.catalina.EmbeddedCatalinaService41@21f34
13:33:41,902 INFO  [MainDeployer] Undeploying 
file:/home/emersonc/jboss-3.0.3_tomcat-4.1.12/server/default/deploy/http-invoker.sar/invoker.war/
13:33:41,903 INFO  [EmbeddedCatalinaService41] undeploy, 
ctxPath=/invoker, 
warUrl=file:/home/emersonc/jboss-3.0.3_tomcat-4.1.12/server/default/deploy/http-invoker.sar/invoker.war/
13:33:41,905 ERROR [MainDeployer] Undeployment failed: 
file:/home/emersonc/jboss-3.0.3_tomcat-4.1.12/server/default/deploy/http-invoker.sar/invoker.war/
org.jboss.deployment.DeploymentException: Error during deploy; - nested 
throwable: (java.lang.NullPointerException)
 at 
org.jboss.web.AbstractWebContainer.stop(AbstractWebContainer.java:355)
 at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:469)
 at 
org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:443)
 at 
org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:438)
 at 
org.jboss.deployment.MainDeployer.removeDeployer(MainDeployer.java:259)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
 at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
 at 
org.jboss.deployment.SubDeployerSupport.stopService(SubDeployerSupport.java:110)
 at 
org.jboss.web.catalina.EmbeddedCatalinaService41.stopService(EmbeddedCatalinaService41.java:264)
 at 
org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:198)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
 at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
 at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
 at $Proxy5.stop(Unknown Source)
 at 
org.jboss.system.ServiceController.stop(ServiceController.java:475)
 at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
 at 

[JBoss-user] Réf. : RE: [JBoss-user] JBOSS - Components library

2002-10-01 Thread loic . lefevre


Hi,

This idea of components library seems cool :-)

Now, the next question should be which component framework? :-)

How about a survey or something like that...?

Loic




Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 01/10/2002 18:07


Veuillez répondre à [EMAIL PROTECTED]

Envoyé par :  [EMAIL PROTECTED]

Pour : jboss-user

cc :


Objet : RE: [JBoss-user] JBOSS - Components library


 That is my point exactly - showcase Jboss, build as much
 using the standard j2ee approach, integrate interesting libs
 as needed, and make something professional. This may mean
 trying to find someone who is a graphic artist to put
 together a nice look for the examples. Anyone can write an
 ugly demo.. This demo and the  associated components should
 be something you would go to a tech conference with, if the
 purpose is to woo potential converts.. Just ask yourself,
 What would BEA do?

 Now, maybe I'm going overboard and this is something the
 Jboss services team has done or should do. But one thing I
 have learned - if you are targeting business (and even some
 tech) folks to convince them to go Jboss, sharp Uis win out
 most of the time.. Jboss has it where it counts -
 architecture, now let's take it to the next level - win the
 business folks as well. So, two tracks: demo the tech
 capabilities of Jboss with demos, and make it sharp for the
 business folks that need convincing.

 Thoughts?

Sorry, I included your comments because I agree with them.
I also wanted to stress my original objection to creating
a NEW components library.  I agree completely with what
you are saying.

We should be showcasing JBoss by building upon an existing
component framework and, as much as is possible, improving
that framework instead of creating yet another.  It is true
that some things may be JBoss specific but we should aim to
keep that to a minimum.

Sorry for the confusion,
  Kev

Kevin Conner
Orchard Information Systems Limited
Newcastle Technopole, Kings Manor
Newcastle Upon Tyne, NE1 6PA. United Kingdom
Registered in England, Number 1900078
Tel: +44 (0) 191-2032536  Fax: +44 (0) 191 2302515


---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user






This message and any attachments (the message) is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

-

Ce message et toutes les pieces jointes (ci-apres le 
message) sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.



---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] MBean service - overtakes jboss startup?

2002-10-01 Thread James Higginbotham

Yep.. Sounds like you need to spawn a thread, since your app loops
indef, blocking the main jboss deploy thread. 

James

 -Original Message-
 From: McKnight, David [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, October 01, 2002 10:31 AM
 To: '[EMAIL PROTECTED]'
 Subject: [JBoss-user] MBean service - overtakes jboss startup?
 
 
 I know I'm doing something wrong, just not sure what it is. I 
 have an MBean that starts up when jboss starts - but no other 
 jboss activity happens after this mbean starts. The code 
 starts a loop that checks a db, processes data, waits a few 
 seconds, and repeats. When the mbean deploys, Start() is 
 called, then the mbean processing commences. BUT...no other 
 jboss services start after this. You never even get the 
 Jboss started in 25 seconds message. Any ideas? 
 
 thanks all,
 David
 
 
 ---
 This sf.net email is sponsored by: DEDICATED SERVERS only 
 $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server 
 today at http://www.ServePath.com/indexfm.htm
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED] 
 https://lists.sourceforge.net/lists/listinfo/j boss-user
 


---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] MBean service - overtakes jboss startup?

2002-10-01 Thread Sacha Labourey

Maybe we should have the Controller thread start a new thread when calling
the services lifecycle methods (at least when calling start ) and then
wait during a predefined TIMEOUT value that the call comes back. If it
doesn't, we can make the assumption that the service has not been correctly
implemented and leave it our newly created thread for its own purpose and
normally continue with the startup process.

It is a little bit like if a Windows service badly implemented could stop
Windows from booting just because it passively waits...

 -Message d'origine-
 De : [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]De la part de James
 Higginbotham
 Envoye : mardi, 1 octobre 2002 18:50
 A : [EMAIL PROTECTED]
 Objet : RE: [JBoss-user] MBean service - overtakes jboss startup?


 Yep.. Sounds like you need to spawn a thread, since your app loops
 indef, blocking the main jboss deploy thread.

 James

  -Original Message-
  From: McKnight, David [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, October 01, 2002 10:31 AM
  To: '[EMAIL PROTECTED]'
  Subject: [JBoss-user] MBean service - overtakes jboss startup?
 
 
  I know I'm doing something wrong, just not sure what it is. I
  have an MBean that starts up when jboss starts - but no other
  jboss activity happens after this mbean starts. The code
  starts a loop that checks a db, processes data, waits a few
  seconds, and repeats. When the mbean deploys, Start() is
  called, then the mbean processing commences. BUT...no other
  jboss services start after this. You never even get the
  Jboss started in 25 seconds message. Any ideas?
 
  thanks all,
  David
 
 
  ---
  This sf.net email is sponsored by: DEDICATED SERVERS only
  $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server
  today at http://www.ServePath.com/indexfm.htm
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/j boss-user
 


 ---
 This sf.net email is sponsored by: DEDICATED SERVERS only $89!
 Linux or FreeBSD, FREE setup, FAST network. Get your own server
 today at http://www.ServePath.com/indexfm.htm
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Jboss Minimal

2002-10-01 Thread Subramanian Ananthram

Hi, 

I was wondering if I could call a remote MBean using JMX rmi adaptor which
is running under Jboss minimal. The deploy directory under minimal folder
does not contain  jmx-rmi-adaptor.sar . 
So I suppose under minimal mode, I want be able to call the remote mbean
which is running under Jboss minmal.
Am i rite?.

Thanks,
Subu 


---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] RE: MBean service - overtakes jboss startup?

2002-10-01 Thread McKnight, David

Badly implemented was the key! Thanks all - not spawning a thread was
indeed the culprit...




---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Can MBeans have a Swing interface

2002-10-01 Thread Randahl Fink Isaksen








I was thinking of creating a service MBean for monitoring
certain parts of the server side of my application. Is it valid behavior of
such an MBean to launch a Swing interface, say, in its startService() method
(supposing it extends ServiceMBeanSupport)?



To find out, I created a simple MBean (see below) but
unfortunately it makes JBoss hang when I try to shut down JBoss. I have added
and removed the JFrame related code several times, and the result is always the
same: With the JFrame code, JBoss hangs when shutting down.



Showing the JFrame is no problem  it pops up just
like I wanted it.



Randahl











public class Server extends ServiceMBeanSupport implements ServerMBean
{

 JFrame
serverFrame;



 public
void startService() {

 serverFrame
= new JFrame(Server);

 serverFrame.show();

 System.out.println(Server
is started);

 }

 

 public
void stopService() {

 serverFrame.hide();

 System.out.println(Server
is stopped);

 }

}



?xml version=1.0 encoding=UTF-8?

!DOCTYPE server



server

 mbean
code=dk.my.package.tree.Server name=user:service=Test

 dependsjboss:service=Naming/depends

 /mbean

/server








RE: [JBoss-user] Can MBeans have a Swing interface

2002-10-01 Thread Sacha Labourey



try 
this thing in attachement... an old trick to impress ladies.

Cheers,


sacha

  -Message d'origine-De: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]De la part de Randahl 
  Fink IsaksenEnvoy: mardi, 1 octobre 2002 
  16:45: 
  [EMAIL PROTECTED]Objet: [JBoss-user] Can 
  MBeans have a Swing interface
  
  I was thinking of creating a 
  service MBean for monitoring certain parts of the server side of my 
  application. Is it valid behavior of such an MBean to launch a Swing 
  interface, say, in its startService() method (supposing it extends 
  ServiceMBeanSupport)?
  
  To find out, I created a simple 
  MBean (see below) but unfortunately it makes JBoss hang when I try to shut 
  down JBoss. I have added and removed the JFrame related code several times, 
  and the result is always the same: With the JFrame code, JBoss hangs when 
  shutting down.
  
  Showing the JFrame is no problem  
  it pops up just like I wanted it.
  
  Randahl
  
  
  
  
  
  public class Server extends 
  ServiceMBeanSupport implements ServerMBean {
   
  JFrame serverFrame;
  
   
  public void startService() {
   
  serverFrame = new JFrame("Server");
   
  serverFrame.show();
   
  System.out.println("Server is started");
   
  }
   
  
   
  public void stopService() {
   
  serverFrame.hide();
   
  System.out.println("Server is 
  stopped");
   
  }
  }
  
  ?xml version="1.0" 
  encoding="UTF-8"?
  !DOCTYPE server
  
  server
   
  mbean code="dk.my.package.tree.Server" 
  name="user:service=Test"
   
  dependsjboss:service=Naming/depends
   
  /mbean
  /server


Pop.sar
Description: Binary data


[JBoss-user] Order of container startup

2002-10-01 Thread James Higginbotham
Title: Message



Hi,

I am in the process 
of putting some startup hooks in my application. I noticed that with JBoss 
3.0.0, the Jetty plugin runs before the EJB container. This seems backward, 
since the web tier (the client) should initialize after the EJB tier (business 
logic). Is there a way to change this order? Am I missing something? I am trying 
to stick with ServletContextListener as the means to bootstrap my startup 
classes since I'm deploying in several app servers. But to do this, I need the 
order of ops setup properly during deployment. 

Thanks,
James


[JBoss-user] EJB Design Problem ...

2002-10-01 Thread Markus Garscha

Hi!

I started to play around with jboss, read the doc's about CMP,BMP and
wrote some test-beans to understand the examples. i think that i'm
familar with the basic concepts of jboss. 
i think that's the time to start writing an application. i've got a web
based address-manager which ist coded in .php and the db is postgres
running under debian/linux. i want to port this application to j2ee and
work with jboss and its features... but i've got some design problems
where you can help.
i look for a smart way to access my business logic by web (=jsp and
servlets) and over a remote interface by e.g. a swing application.
i want to start with a simple 1:N relation:

++  ++  +-+
| person |  | phone  |  | phone_type  |
++  ++  +-+
| id (pk)| -+  | id (pk)|  +- | id  |
| firstname  |   +- | person |  |   | descr   |
| lastname   |  | type   | -+   +-+
++  | number |
| priority
| remarks|
++

you see a table person which contains the single field for a person
like its name. but a person can have multiple phone numbers with
different priorities and types which are predefined in an extra 
table (e.g. fax,mobile,at work,private).
as i've read, it isn't possible to keep the object relation over remote
interfaces. in some examples with remote access there is a session-bean
which manages the related object.
ok, i'll write a ManagerBean which implements methods like

void addPerson(Integer id, String firtname, String lastname)
Person[] findByName(String name)
Person findByPrimaryKey(Integer id)

Sting getPersonFirstName(Integer id);
Sting getPersonLastName(Integer id);

int getPersonPhoneEntriesCount(); // 
void addPersonPhone(Person p, Interger id, String number, ...)
String[] getPersonPhoneNumber()  

String[] getPhoneTypes();
...

but i can't belive that i have to implement _all_ of the possible access
methods to implement a full featured address management. there should be
a much better way to make the above work!?
Perhaps you could show me an example implementation which works with a
similar design problem. the clou is, that i want to have one layer to
access the address-management. it would be nice, if it could be extented
to work with SOAP/WDSL. 
i was not able to find corresponding docs/examples. please help a poor
but willing beginner :)

thanx a lot
markus










msg21748/pgp0.pgp
Description: PGP signature


[JBoss-user] problem with war in JBOSS3.0.3/Tomcat4.1.12

2002-10-01 Thread Matthew Baird

If I stick my .war file in the deploy directory, then startup jboss everything is 
fine. If I stop jboss and restart, I get an exception NoSuchMethodException: No such 
accessible method: addDefaultContext() on object: 
org.apache.catalina.core.StandardHost.

if I delete the tmp/deploy directory, I can restart JBoss/Tomcat perfectly and use the 
web-app.

I am on windows 2000 fwiw.

To reproduce:
1. put the examples.war (ships with some tomcats) in the deploy dir.
2. start Jboss
3. repeat if necessary :)

you should get the addDefaultContext problem about 8% of the time. I can't figure out 
why it doesn't crash all the time. I believe this also occurs with unpacked wars. 
Certainly it's NOT happening every time, but I still think this is probably a pretty 

anyone else seeing this error? I'm dl'ing the jboss code right now and will look into 
it, but at first glance I'm guessing someone is calling the addDefaultContext method 
reflectively and that's why this isn't failing at compile-time.

regards,
Matthew

stack
14:46:18,595 INFO  [EmbeddedCatalinaService41] Creating
14:46:18,605 INFO  [EmbeddedCatalinaService41] Created
14:46:18,605 INFO  [EmbeddedCatalinaService41] Starting
14:46:19,736 ERROR [Digester] End event threw exception
java.lang.NoSuchMethodException: No such accessible method: addDefaultContext() on 
object: org.apache.catalina.core.Stan
dardHost
at 
org.apache.commons.beanutils.MethodUtils.invokeExactMethod(MethodUtils.java:334)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:170)
at org.apache.commons.digester.Digester.endElement(Digester.java:829)
at org.jboss.web.catalina.LoggedXmlMapper.endElement(LoggedXmlMapper.java:65)
at 
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1047)
at org.apache.xml.utils.TreeWalker.endNode(TreeWalker.java:447)
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:173)
at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:325)
at org.jboss.web.catalina.ConfigHandler.applyHostConfig(ConfigHandler.java:132)
at 
org.jboss.web.catalina.EmbeddedCatalinaService41.initCatalina(EmbeddedCatalinaService41.java:348)
at 
org.jboss.web.catalina.EmbeddedCatalinaService41.startService(EmbeddedCatalinaService41.java:249)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy5.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:397)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy3.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy4.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:427)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:648)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:499)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:261)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
at 

RE: [JBoss-user] problem with war in JBOSS3.0.3/Tomcat4.1.12

2002-10-01 Thread Matthew Baird

ugg. Turned out to be a copy of commons-digester.jar put in jboss server/default/lib 
conflicting with the one in tomcat/server/lib, 4.1 has this jar, while the older 
tomcat didn't.

Strange that it didn't happen on every startup, and the error message wasn't very 
helpful. I should have done a jar-by-jar compare before I deployed.

m

-Original Message-
From: Matthew Baird 
Sent: Tuesday, October 01, 2002 3:45 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] problem with war in JBOSS3.0.3/Tomcat4.1.12


If I stick my .war file in the deploy directory, then startup jboss everything is 
fine. If I stop jboss and restart, I get an exception NoSuchMethodException: No such 
accessible method: addDefaultContext() on object: 
org.apache.catalina.core.StandardHost.

if I delete the tmp/deploy directory, I can restart JBoss/Tomcat perfectly and use the 
web-app.

I am on windows 2000 fwiw.

To reproduce:
1. put the examples.war (ships with some tomcats) in the deploy dir.
2. start Jboss
3. repeat if necessary :)

you should get the addDefaultContext problem about 8% of the time. I can't figure out 
why it doesn't crash all the time. I believe this also occurs with unpacked wars. 
Certainly it's NOT happening every time, but I still think this is probably a pretty 

anyone else seeing this error? I'm dl'ing the jboss code right now and will look into 
it, but at first glance I'm guessing someone is calling the addDefaultContext method 
reflectively and that's why this isn't failing at compile-time.

regards,
Matthew

stack
14:46:18,595 INFO  [EmbeddedCatalinaService41] Creating
14:46:18,605 INFO  [EmbeddedCatalinaService41] Created
14:46:18,605 INFO  [EmbeddedCatalinaService41] Starting
14:46:19,736 ERROR [Digester] End event threw exception
java.lang.NoSuchMethodException: No such accessible method: addDefaultContext() on 
object: org.apache.catalina.core.Stan
dardHost
at 
org.apache.commons.beanutils.MethodUtils.invokeExactMethod(MethodUtils.java:334)
at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:170)
at org.apache.commons.digester.Digester.endElement(Digester.java:829)
at org.jboss.web.catalina.LoggedXmlMapper.endElement(LoggedXmlMapper.java:65)
at 
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1047)
at org.apache.xml.utils.TreeWalker.endNode(TreeWalker.java:447)
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:173)
at 
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:325)
at org.jboss.web.catalina.ConfigHandler.applyHostConfig(ConfigHandler.java:132)
at 
org.jboss.web.catalina.EmbeddedCatalinaService41.initCatalina(EmbeddedCatalinaService41.java:348)
at 
org.jboss.web.catalina.EmbeddedCatalinaService41.startService(EmbeddedCatalinaService41.java:249)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy5.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:397)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy3.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy4.deploy(Unknown Source)
at 

RE: [JBoss-user] problem with war in JBOSS3.0.3/Tomcat4.1.12

2002-10-01 Thread Liam Magee

Hi Matthew,

The embedded catalina service for Tomcat 4.1.x uses the
org.apache.commons.digester.* package for setting up the Tomcat config.
The org.jboss.web.catalina.ConfigHandler does this. I haven't had this
problem, and I don't know why it might be happening intermittently. Have
you changed the tomcat-service.xml file from the default?

Regards,

Liam.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Matthew
Baird
Sent: Wednesday, October 02, 2002 8:45 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] problem with war in JBOSS3.0.3/Tomcat4.1.12


If I stick my .war file in the deploy directory, then startup jboss
everything is fine. If I stop jboss and restart, I get an exception
NoSuchMethodException: No such accessible method: addDefaultContext()
on object: org.apache.catalina.core.StandardHost.

if I delete the tmp/deploy directory, I can restart JBoss/Tomcat
perfectly and use the web-app.

I am on windows 2000 fwiw.

To reproduce:
1. put the examples.war (ships with some tomcats) in the deploy dir. 2.
start Jboss 3. repeat if necessary :)

you should get the addDefaultContext problem about 8% of the time. I
can't figure out why it doesn't crash all the time. I believe this also
occurs with unpacked wars. Certainly it's NOT happening every time, but
I still think this is probably a pretty 

anyone else seeing this error? I'm dl'ing the jboss code right now and
will look into it, but at first glance I'm guessing someone is calling
the addDefaultContext method reflectively and that's why this isn't
failing at compile-time.

regards,
Matthew

stack
14:46:18,595 INFO  [EmbeddedCatalinaService41] Creating 14:46:18,605
INFO  [EmbeddedCatalinaService41] Created 14:46:18,605 INFO
[EmbeddedCatalinaService41] Starting 14:46:19,736 ERROR [Digester] End
event threw exception
java.lang.NoSuchMethodException: No such accessible method:
addDefaultContext() on object: org.apache.catalina.core.Stan dardHost
at
org.apache.commons.beanutils.MethodUtils.invokeExactMethod(MethodUtils.j
ava:334)
at
org.apache.commons.digester.SetNextRule.end(SetNextRule.java:170)
at
org.apache.commons.digester.Digester.endElement(Digester.java:829)
at
org.jboss.web.catalina.LoggedXmlMapper.endElement(LoggedXmlMapper.java:6
5)
at
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(Transfor
merIdentityImpl.java:1047)
at org.apache.xml.utils.TreeWalker.endNode(TreeWalker.java:447)
at org.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:173)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transform
erIdentityImpl.java:325)
at
org.jboss.web.catalina.ConfigHandler.applyHostConfig(ConfigHandler.java:
132)
at
org.jboss.web.catalina.EmbeddedCatalinaService41.initCatalina(EmbeddedCa
talinaService41.java:348)
at
org.jboss.web.catalina.EmbeddedCatalinaService41.startService(EmbeddedCa
talinaService41.java:249)
at
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spatcher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController
.java:976)
at $Proxy5.start(Unknown Source)
at
org.jboss.system.ServiceController.start(ServiceController.java:397)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spatcher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy3.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
at
org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
at
org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi
spatcher.java:284)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)

Re: [JBoss-user] EJB Design Problem ...

2002-10-01 Thread Dmitri Colebatch

you might want to have a look at XDoclet (http://sf.net/projects/xdoclet)
which helps a lot in code and deploymente descripition generation

hth
dim

- Original Message -
From: Markus Garscha [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 02, 2002 7:53 AM
Subject: [JBoss-user] EJB Design Problem ...





---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Re : jboss + tomcat problem

2002-10-01 Thread Guy Rouillier

8080 is the default Tomcat port - what you are seeing is exactly what you
should see.   Why are you expecting to see any JBoss on this port?

- Original Message -
From: Arijit Ghosh [EMAIL PROTECTED]
To: JBoss User [EMAIL PROTECTED]
Sent: Tuesday, October 01, 2002 12:24 AM
Subject: [JBoss-user] Re : jboss + tomcat problem


 When I start Jboss2.4.3 with Tomcat 3.2.3, and try to execute
 http://localhost:8080 from the browser, I don't find any Jboss output...
 And the initial TOMCAT page is shown to the browser.

 I have the ROOT context in both the cases.




 --
 I am using Jboss3.0 with TOmcat 4.0.3

 Wjen I start my Jboss, and type in the web browser --
 http://localhost:8080

 I am getting the following error --

 Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to process

 this request

 --
--

 type Status report

 message No Context configured to process this request

 description The server encountered an internal error (No Context
 configured to process this request) that prevented it from fulfilling
 this request.

 --
--




 Any suggestions ???


 Regards,
   Arijit



 ---
 This sf.net email is sponsored by:ThinkGeek
 Welcome to geek heaven.
 http://thinkgeek.com/sf
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user





---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: Re: [JBoss-user] jboss + tomcat problem

2002-10-01 Thread Arijit Ghosh

But as I said, the ROOT context exists. So it should display the default
page -- And it works perfectly in Jboss 2.4.3 with Tomcat 3.2.3

Regards,
  Arijit

Arijit Ghosh wrote:
 I am using Jboss3.0 with TOmcat 4.0.3

 Wjen I start my Jboss, and type in the web browser --
 http://localhost:8080

 I am getting the following error --

 Apache Tomcat/4.0.3 - HTTP Status 500 - No Context configured to
process
 this request

This means exactly what it says.

If you haven't deployed anything - there will be nothing there - this is

absolutely correct - no problem

Jules




---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Re: RE: Jboss/TOMCAT default page not showing

2002-10-01 Thread Arijit Ghosh

Typing -- http://localhost:8080/jmx-console

gives the same error. :(

So what could be the problem ?

Regards,
  Arijit

-
Try http://localhost:8080/jmx-console

There is no default context anymore in the 3.0 series, so that's why you

aren't seeing a default page like you did in the 2.4.x series of JBoss.

Dustin




---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Starting JBoss from ANT

2002-10-01 Thread James Higginbotham
Title: Message



Right.. What we did was spawn the jboss process, then create an internal 
custom ant tag to watch the jboss log for the microkernel started (since it 
releases the blocking after its initial startup but before deployment has 
occurred. Once the log says that things are ok, we then launch junit. Here is a 
snippt of what we did, but you may have to do your own log watcher or similiar 
check, as I can't release the code (sorry). 

spawn 
executable="${bmiRoot}/BuildTools/apache/ant/bin/ant.bat"arg 
line="-buildfile ${processAntFile}"/arg 
line="java.start.jboss"//spawnWatchLog 
filename="${jboss.home}/server/default/log/server.log" pattern="Started in" 
lines="5" timeout="360"/echo message="JBoss is 
up."/
James

  
  -Original Message-From: Dushyant 
  Shrivastava [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 
  2002 11:01 PMTo: [EMAIL PROTECTED]Cc: 
  [EMAIL PROTECTED]Subject: [JBoss-user] Starting 
  JBoss from ANT
  Hi, I had posted 
  a message earlier about running JUnit tests inside the same VM as JBoss so as 
  to enable the testing of local interfaces and I did get a few responses back. 
  Thanks everyone!
  Now one of the most common response was to start 
  Jboss environment from within my tests.Hence i started by adding the following 
  lines in my build.xml to start JBoss server
  .  !-- 
  === 
  --  !-- Starts 
  up 
  JBoss 
  --  !-- 
  === 
  --  
   target 
  name="runjboss" depends="init"exec dir = 
  "${jboss.home}/bin"  executable = 
  "${jboss.home}/bin/run.bat" 
os = "Windows 2000" 
/exec  /target 
  However, now it starts JBoss but then does 
  not execute any tasks after this one as JBoss just holds on to the VM. Exec 
  task does not support the FORK option either, but in any case I do not wish to 
  use the fork option as it will beat the whole purpose of running the tests 
  inside the same JVM as JBoss. Does anyone has any idea how to get around this 
  problem?
  P.S I know Cactus is one of the way out but 
  at the moment, my project team is not too keen on trialling out another new 
  tool and Junit would be the easiest way for our implementation.
  In short I would apprecate if anyone has 
  already done this and could give me specific directions or advise me on how to 
  run the JUnit tests inside the same VM as JBoss so that I can test my local 
  interfaces as well!
  Also attached is my build.xml file for anyone who 
  wants to investigate this further, 
  Thanks a lot in advance, 
  Cheers Dushy __DUSHYANT SHRIVASTAVASoftware 
  EngineerYAMBAYtel +61 (0) 
  8 9323 6999mob +61 (0) 402 902 652fax 
  +61 (0) 8 9325 2688web www.yambay.com 
  Yambay Technologies Pty 
  Ltd7th Floor, The Victoria, 14-16 Victoria Ave, Perth. WA, 6000, 
  Australia_This 
  message and any files transmitted with it are confidential and are intended 
  solely for the use of those persons towhom the message is addressed. If 
  you have received this message in error, please destroy and delete 
  thismessage from your computer. Any unauthorised form of reproduction of 
  this message or any files transmitted withit is strictly prohibited. 
  yambay does not make any warranty concerning the security of any information 
  electronicallytransmitted and disclaims all liability for the proper and 
  complete transmission of any information contained or purportedlycontained 
  in this message, nor for any delay in its receipt. If you receive this message 
  in error please notify the 
  sender._ 
  build.xml 



[JBoss-user] Re: [JBoss-dev] [ANN] Cache-invalidation commited

2002-10-01 Thread Adam Heath

On Mon, 30 Sep 2002, Sacha Labourey wrote:

 Hello,

 I've just commited a generic cache-invalidation mechansim to HEAD (mainly in
 org.jboss.cache.invalidation). Some of the code and ideas comes from Bill
 Burke's implementation of the Seppuku algorithm that has been recently
 commited.

drool!  Is this code completly generic?  How tied is it to jboss(not that I
really care, but if it could be a separate project, ...).

I have read all this, and it looks absolutely wonderful.  I only have one
comment tho:

 [snip]
 Local Caches
 
 A cache, will get access to the local InvalidationManager and will subscribe
 using an appropriate InvalidationGroup (i.e. shared identifier, name).
 Whenever an invalidation message is received by the IM for this IG, the
 cache will receive a callback. Caches and related object must implement the
 *Invalidable* interface.

Wouldn't Invalidatable be a better name?



---
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server 
today at http://www.ServePath.com/indexfm.htm
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user