Re: unable to run a simple jsp application

2006-06-07 Thread David Jencks


On Jun 6, 2006, at 8:13 PM, Lin Sun wrote:


Hi Stan,

You are right, the classloader in 1.1 seems to change a lot.   So I  
went

back to the datasource plan, and I had the following as dependencies:

dep:dependency
dep:groupIdorg.apache.derby/dep:groupId
dep:artifactIdderby/dep:artifactId
dep:version10.1.1.0/dep:version
dep:typejar/dep:type
/dep:dependency


This is your problem, this loads a second copy of derby in a second  
classloader: as Stanley reminded me this causes problems.  Instead  
you need a car dependency on system-datasource so you are sharing  
it's copy of derby.



dep:dependency
dep:groupIdgeronimo/dep:groupId
dep:artifactIdsystem-database/dep:artifactId
   dep:typecar/dep:type
/dep:dependency


dep:dependency
dep:groupIdorg.apache.derby/dep:groupId
dep:artifactIdderbynet/dep:artifactId
dep:version10.1.1.0/dep:version
dep:typejar/dep:type
/dep:dependency


This is in the system-database classloader also so you can omit it.
In general you should leave out versions so they can be resolved by  
geronimo and upgraded later.


First I tried to comment out both of them, but I got a 
java.lang.NoClassDefFoundError: org/apache/derby/jdbc/ 
EmbeddedXADataSource
from tranql.  Then I only commented out the derbynet jar and  
redeployed

everything.   Still got the same exception.

I looked over the derby datasource section of the daytrader plan,  
and it
didn't have any org.apache.derby dependencies.  I don't understand  
that even
though the daytrader uses an application scoped datasource.   But I  
haven't

been able to get daytrader running yet.


Where are you looking?  You need to look in the target directory of  
the config, or the project.xml of the config subproject.  The  
geronimo packaging plugin inserts the dependencies into the plan  
based on marked dependencies in the project.xml.  So, for instance,  
the daytrader jetty plan starts like this, including a dependency on  
system-datasource such as I recommend above:


?xml version=1.0 encoding=UTF-8?
application xmlns=http://geronimo.apache.org/xml/ns/j2ee/ 
application-1.1
  dep:environment xmlns:dep=http://geronimo.apache.org/xml/ns/ 
deployment-1.1

dep:moduleId
  dep:groupIdgeronimo/dep:groupId
  dep:artifactIddaytrader-derby-jetty/dep:artifactId
  dep:version1.1-SNAPSHOT/dep:version
  dep:typecar/dep:type
/dep:moduleId
dep:dependencies
  dep:dependency
dep:groupIdgeronimo/dep:groupId
dep:artifactIdj2ee-server/dep:artifactId
dep:typecar/dep:type
  /dep:dependency
  dep:dependency
dep:groupIdgeronimo/dep:groupId
dep:artifactIdsystem-database/dep:artifactId
dep:typecar/dep:type
  /dep:dependency
  dep:dependency
dep:groupIdgeronimo/dep:groupId
dep:artifactIdgeronimo-daytrader-derby-db/dep:artifactId
dep:typejar/dep:type
dep:importclasses/dep:import
  /dep:dependency
/dep:dependencies
dep:hidden-classes/
dep:non-overridable-classes/
  /dep:environment


thanks
david jencks



P.S. the jsp is doing basic stuff...it was failing when attempting  
to get

the connection from the pool.

Context initContext = new InitialContext();
Context envContext  = (Context)initContext.lookup(java:/comp/env);
DataSource ds = (DataSource)envContext.lookup(jdbc/DataSource);
System.out.println(Got DataSource:  +ds.toString() );
con = ds.getConnection();   //failed here.

Lin


-Original Message-
From: Stanley Bradbury [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 06, 2006 6:50 PM
To: user@geronimo.apache.org
Subject: Re: unable to run a simple jsp application

Lin Sun wrote:

Hi there,

I have a simple jsp application that worked on 1.0.   It displays the
contents of the EMP table of the Employee database.
I am using the embedded derby database and the
tranql-connector-derby-embed-xa-1.1 rar file in Geronimo 1.1 build
(geronimo-tomcat-j2ee-1.1-410806).

The server wide datasource and application war file deployed fine.

However, when I access the jsp from my firefox browser, I got the

following

exception
in the console when the server is trying to get the database  
connection:



==  SNIP ===

Hi Lin -

The few times I have seen a NullPointerException while trying to  
start a

Derby database have been caused by the Derby embedded driver being
loaded by multiple classloaders in a JVM.  Could it be that your  
JSP is

causing the embedded driver to loaded?  Isn't it true that the server
wide datasource should be starting the database when Geronimo starts
rather than this happening when the JSP is called?

The fact that this fails with version 1.1 and not 1.0 might be because
of classloader changes that were implemented since 1.0.

Any thoughts on this theory 

Re: Setting transaction isolation level in TranQL

2006-06-07 Thread Matt Hogstrom

I cut Tranql 1.3 last night1.3.1 will have this support soon :)

Zakharov, Vasily M wrote:

Ooh. So for now there's completely no way I can provide the application
with the isolation level other than read-uncommitted?

When can we expect that TranQL 1.3.1 to appear? :)

Until then, is there a way to pass some SQL statements to the database
through the connector?

By the way, isn't there a J2EE specification requirement of the ability
to set isolation levels on connectors?

 Vasily


-Original Message-
From: Matt Hogstrom [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 31, 2006 9:55 PM

To: user@geronimo.apache.org
Subject: Re: Setting transaction isolation level in TranQL

This is a feature I'm looking to put into TranQL 1.3.1 as well as
allowing the ability to set the 
default Isolation Level for a DataSource.



Zakharov, Vasily M wrote:

Hi, all,

Can I somewhat configure the entity (or connector) to use a particular
Transaction Isolation level?

Stanley Bradbury recently described how it can be done with SQL query

to

Derby, but how can I do that while working through a TranQL connector?

Thank you!

Vasily Zakharov
Intel Middleware Products Division









1.1 Candidate releases available

2006-06-07 Thread Matt Hogstrom

Geronimo Users and Developers,

We've been busy little beavers this evening and would like to share the fruits 
of our labor.

First, may we present the candidate build of Geronimo in Octographic quality.  We have big builds, 
little builds, some for Windows and others for Unix and of course the ever enjoyable Tomcat and 
Jetty versions.  Please take some time to take these builds and verify that they meet your exacting 
standards for a Geronimo Release.  As we like to say, Big G, Little G and things that rhyme with G.


*Jetty*
http://people.apache.org/~hogstrom/20060607/geronimo-jetty-j2ee-1.1-20060607.tar.gz
http://people.apache.org/~hogstrom/20060607/geronimo-jetty-j2ee-1.1-20060607.zip
http://people.apache.org/~hogstrom/20060607/geronimo-jetty-minimal-1.1-20060607.tar.gz
http://people.apache.org/~hogstrom/20060607/geronimo-jetty-minimal-1.1-20060607.zip

*Tomcat*
http://people.apache.org/~hogstrom/20060607/geronimo-tomcat-j2ee-1.1-20060607.tar.gz
http://people.apache.org/~hogstrom/20060607/geronimo-tomcat-j2ee-1.1-20060607.zip
http://people.apache.org/~hogstrom/20060607/geronimo-tomcat-minimal-1.1-20060607.tar.gz
http://people.apache.org/~hogstrom/20060607/geronimo-tomcat-minimal-1.1-20060607.zip


Remaining items.

1. We need the ActiveMQ 3.2.4 to be released.
2. Finalize release notes (Hernan...can you pick this one up?  A set for today 
would be good)
3. Move the remainging JIRAs out of 1.1.  (Aaron, Dain, anyone ?)
4. Fix OpenEJB Source.  I versioned and released it but I haven't fixed the SVN repo yet.  I'll do 
this in the morning unless someone beats me to it.
5. A vote.  I'm note sure if this can qualify for a vote since there is a SNAPSHOT in the release. 
It won't change but need to note that.  Thoughts?


To complete an official release I need to finalize the project version and 
rebuild once again.

Its late and I'm probably missing something so if there are barriers to completing the final release 
please let me know ASAP.


I expect we'll start a 1.1.1 straightaway but let's get this 1.1 out and going.

Thanks in advance for taking time to review this release of AG 1.1.

The Geronimo Development Team


geronimo 1.1 and activemq 4.0

2006-06-07 Thread Christoph Sturm

Hey guys!

the 1.1 candidates seem to run with activemq 3.x still.

When will there be a version that runs with activemq 4.0?
Is it possible to use activemq 4.0 now with geronimo 1.1 anyway?

thanks
chris


Re: How to add a queue resource to ActiveMQ?

2006-06-07 Thread Fredrik Andersson
Hello Shai!

I have the same problem to add a Queue or topic.

Have you solved it?

Best regards

Fredrik




Exceptions in 1.1 build 20060607

2006-06-07 Thread Krishnakumar B

Hi,

I am trying running some basic samples that use Database pools with 1.1

I am creating a new Database Pool called NewDataSource. When i use
this in my web application it throws an exception. I have set database
as SystemDatabase.

I am able to use only SystemDatasource that comes built with the server.

SQL Exception: Failed to start database 'SystemDatabase', see the next exception
for details.
   at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source
)
   at org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(Unknown So
urce)
   at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Sourc
e)
   at org.apache.derby.impl.jdbc.EmbedConnection.init(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection30.init(Unknown Source)
   at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source
)
   at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(Unknown Source
)
   at org.apache.derby.jdbc.EmbeddedXADataSource.setupResourceAdapter(Unkno
wn Source)
   at org.apache.derby.jdbc.EmbeddedXADataSource.getXAConnection(Unknown So
urce)
   at org.tranql.connector.jdbc.AbstractXADataSourceMCF.getPhysicalConnecti
on(AbstractXADataSourceMCF.java:74)
   at org.tranql.connector.derby.EmbeddedXAMCF.createManagedConnection(Embe
ddedXAMCF.java:52)
   at org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getCo
nnection(MCFConnectionInterceptor.java:41)
   at org.apache.geronimo.connector.outbound.LocalXAResourceInsertionInterc
eptor.getConnection(LocalXAResourceInsertionInterceptor.java:41)
   at org.apache.geronimo.connector.outbound.SinglePoolConnectionIntercepto
r.internalGetConnection(SinglePoolConnectionInterceptor.java:63)
   at org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionIn
terceptor.getConnection(AbstractSinglePoolConnectionInterceptor.java:73)
   at org.apache.geronimo.connector.outbound.TransactionEnlistingIntercepto
r.getConnection(TransactionEnlistingInterceptor.java:47)
   at org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.
getConnection(TransactionCachingInterceptor.java:86)
   at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.ge
tConnection(ConnectionHandleInterceptor.java:43)
   at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(
TCCLInterceptor.java:39)
   at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.
getConnection(ConnectionTrackingInterceptor.java:66)
   at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allo
cateConnection(AbstractConnectionManager.java:61)
   at org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:56
)
   at $javax.sql.DataSource$$FastClassByCGLIB$$6525cafd.invoke(generated)

   at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
   at org.apache.geronimo.connector.ConnectorMethodInterceptor.intercept(Co
nnectorMethodInterceptor.java:54)
   at $javax.sql.DataSource$$EnhancerByCGLIB$$8a970a1.getConnection(genera
ted)
   at org.apache.jsp.jsp.dbdemo1_jsp._jspService(org.apache.jsp.jsp.dbdemo1
_jsp:59)
   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:332)
   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
14)
   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
   at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
bjectValve.java:46)
   at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
invoke(GeronimoStandardContext.java:342)
   at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Gero
nimoBeforeAfterValve.java:31)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
  

Re: Problem with TranQL on Oracle

2006-06-07 Thread Aaron Mulder

The connector is pretty generic -- it works for all JDBC drivers.
There are separate settings to control the SQL dialect, etc. which may
be more relevant, but you can try the default first.  I would assume
the connector would work with pretty much any recent release of the
Oracle drivers (I know some of the really old ones didn't implement
all of JDBC and things).

The one important note is that the generic connector does not handle
XA drivers.  There are separate connector packages for each XA driver.
For reasons that aren't clear to me, we don't ship any of the XA
drivers except Derby.  I think the Tranql project may have a separate
Oracle XA connector available.

Thanks,
   Aaron

On 6/7/06, Zakharov, Vasily M [EMAIL PROTECTED] wrote:





Hi, all,



I'm thinking of using Geronimo 1.0 with Oracle database, what connector
should I use?



The only one I could find is tranql-connector-1.1.rar.



Does it work with Oracle JDBC?



If yes, does it have any limitations on Oracle database version?



Does it support XA transactions with Oracle JDBC?



Are there any additional tips on configuring TranQL for Oracle or
configuring Oracle JDBC for TranQL?



Thank you!



Vasily Zakharov

Intel Middleware Products Division




RE: Problem with TranQL on Oracle

2006-06-07 Thread Zakharov, Vasily M
Aaron,

Thank you for your reply!

 There are separate settings to control the SQL dialect, etc.

I couldn't find anything like that in the docs. Where could I look at
those settings?

XA is important for me. Does XA driver for Oracle exist somewhere? Can I
get it?

Thank you!

 Vasily


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Mulder
Sent: Wednesday, June 07, 2006 5:59 PM
To: user@geronimo.apache.org
Subject: Re: Problem with TranQL on Oracle

The connector is pretty generic -- it works for all JDBC drivers.
There are separate settings to control the SQL dialect, etc. which may
be more relevant, but you can try the default first.  I would assume
the connector would work with pretty much any recent release of the
Oracle drivers (I know some of the really old ones didn't implement
all of JDBC and things).

The one important note is that the generic connector does not handle
XA drivers.  There are separate connector packages for each XA driver.
 For reasons that aren't clear to me, we don't ship any of the XA
drivers except Derby.  I think the Tranql project may have a separate
Oracle XA connector available.

Thanks,
Aaron


On 6/7/06, Zakharov, Vasily M [EMAIL PROTECTED] wrote:

 Hi, all,

 I'm thinking of using Geronimo 1.0 with Oracle database, what
connector
 should I use?

 The only one I could find is tranql-connector-1.1.rar.

 Does it work with Oracle JDBC?

 If yes, does it have any limitations on Oracle database version?

 Does it support XA transactions with Oracle JDBC?

 Are there any additional tips on configuring TranQL for Oracle or
 configuring Oracle JDBC for TranQL?

 Thank you!

 Vasily Zakharov

 Intel Middleware Products Division



Accessing EJB Service using Service Mix on geronimo 1.0

2006-06-07 Thread Anshuk Chinmoy Pal Chaudhuri

Hi,

I am trying to deploy  servicemix 2.0.2 on geronimo 1.0.The
servicemix.xml contains an EJB which is deployed on Geronimo server
only.
The ejb is being looked up from a standalone client correctly.

But while deploying the servicemix,where do I put the authentication
details of the ejb i.e. java.naming.security.principal and
java.naming.security.credentials?
Is there a way of putting it in the WSIF WSDL of the EJB?Or is any other
property file of geronimo where I need to mention that?
Plase let me know.

Regards,
Anshuk

 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***


RE: Problem with TranQL on Oracle

2006-06-07 Thread Santosh Koti


Vasily,

XA support is not supported for Oracle.

U may try some other DB.:~|

Thanks,
Santosh.
Don't talk about yourself; it will be done when you leave. 


-Original Message-
From: Zakharov, Vasily M [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 7:46 PM
To: user@geronimo.apache.org
Subject: RE: Problem with TranQL on Oracle

Aaron,

Thank you for your reply!

 There are separate settings to control the SQL dialect, etc.

I couldn't find anything like that in the docs. Where could I look at
those settings?

XA is important for me. Does XA driver for Oracle exist somewhere? Can I
get it?

Thank you!

 Vasily


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Mulder
Sent: Wednesday, June 07, 2006 5:59 PM
To: user@geronimo.apache.org
Subject: Re: Problem with TranQL on Oracle

The connector is pretty generic -- it works for all JDBC drivers.
There are separate settings to control the SQL dialect, etc. which may
be more relevant, but you can try the default first.  I would assume
the connector would work with pretty much any recent release of the
Oracle drivers (I know some of the really old ones didn't implement
all of JDBC and things).

The one important note is that the generic connector does not handle
XA drivers.  There are separate connector packages for each XA driver.
 For reasons that aren't clear to me, we don't ship any of the XA
drivers except Derby.  I think the Tranql project may have a separate
Oracle XA connector available.

Thanks,
Aaron


On 6/7/06, Zakharov, Vasily M [EMAIL PROTECTED] wrote:

 Hi, all,

 I'm thinking of using Geronimo 1.0 with Oracle database, what
connector
 should I use?

 The only one I could find is tranql-connector-1.1.rar.

 Does it work with Oracle JDBC?

 If yes, does it have any limitations on Oracle database version?

 Does it support XA transactions with Oracle JDBC?

 Are there any additional tips on configuring TranQL for Oracle or
 configuring Oracle JDBC for TranQL?

 Thank you!

 Vasily Zakharov

 Intel Middleware Products Division


 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***


Re: Problem with TranQL on Oracle

2006-06-07 Thread Aaron Mulder

The XA connector for Oracle is available here:

http://dist.codehaus.org/tranql/rars/

(See the files with oracle in the name.)  You also need the regular
Oracle XA driver, I assume.  I don't actually know how to configure
the connector, but if you crack it open and look at the ra.xml then
hopefully it'll list the required settings and so on.  You'd have to
ask the Tranql folks whether there's any documentation available.

Thanks,
   Aaron

On 6/7/06, Zakharov, Vasily M [EMAIL PROTECTED] wrote:

Aaron,

Thank you for your reply!

 There are separate settings to control the SQL dialect, etc.

I couldn't find anything like that in the docs. Where could I look at
those settings?

XA is important for me. Does XA driver for Oracle exist somewhere? Can I
get it?

Thank you!

 Vasily


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron
Mulder
Sent: Wednesday, June 07, 2006 5:59 PM
To: user@geronimo.apache.org
Subject: Re: Problem with TranQL on Oracle

The connector is pretty generic -- it works for all JDBC drivers.
There are separate settings to control the SQL dialect, etc. which may
be more relevant, but you can try the default first.  I would assume
the connector would work with pretty much any recent release of the
Oracle drivers (I know some of the really old ones didn't implement
all of JDBC and things).

The one important note is that the generic connector does not handle
XA drivers.  There are separate connector packages for each XA driver.
 For reasons that aren't clear to me, we don't ship any of the XA
drivers except Derby.  I think the Tranql project may have a separate
Oracle XA connector available.

Thanks,
Aaron


On 6/7/06, Zakharov, Vasily M [EMAIL PROTECTED] wrote:

 Hi, all,

 I'm thinking of using Geronimo 1.0 with Oracle database, what
connector
 should I use?

 The only one I could find is tranql-connector-1.1.rar.

 Does it work with Oracle JDBC?

 If yes, does it have any limitations on Oracle database version?

 Does it support XA transactions with Oracle JDBC?

 Are there any additional tips on configuring TranQL for Oracle or
 configuring Oracle JDBC for TranQL?

 Thank you!

 Vasily Zakharov

 Intel Middleware Products Division




Re: Exceptions in 1.1 build 20060607

2006-06-07 Thread Stanley Bradbury

Krishnakumar B wrote:

Hi,

I am trying running some basic samples that use Database pools with 1.1

I am creating a new Database Pool called NewDataSource. When i use
this in my web application it throws an exception. I have set database
as SystemDatabase.

I am able to use only SystemDatasource that comes built with the server.

SQL Exception: Failed to start database 'SystemDatabase', see the next 
exception

for details.
   =   SNIP  
   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP

ool.java:684)
   at java.lang.Thread.run(Thread.java:534)
java.lang.NullPointerExceptionnull

Any help appreciated.

Thanks
Krish


Hi Krish -

You may have already seen this message: David Jencks posted a resolution 
earlier today for a NullPointerExpection being thrown when starting a 
Derby database in as application scoped datasource using 1.1.  If I 
understand his resolution correctly a CAR dependency needs to be defined 
on the System datasource so the Derby classes from the System 
classloader are used by the application.  The problem is caused when the 
Derby driver is loaded in a different classloader by the application.  
See the thread : subject -  unable to run a simple jsp application for 
complete information.


HTH,  Stanley




Fw: 1.1 problem on Solaris

2006-06-07 Thread RShows
Below is a copy of my earlier message.  It is still unresolved.  I need to
know if geronimo is going to work under this environment.  Has anyone else
tried it on Solaris?


The server fails to start when I try to run it on a Sun T2000 (Sparc) on
Solaris 10.  Works fine on Sun x4200 (AMD 64) with RH Linux ES 4.0.  Below
is the stack trace.  I had issues on Solaris with 1.0, but at least it
started.

edpwbd01:rshows:/home/rshows/geronimo-1.1-410806/binjava -jar server.jar
Booting Geronimo Kernel (in Java 1.4.2_11)...
Starting Geronimo Application Server v1.1-410806
[*-]  0%   7s Startup failed
org.apache.geronimo.kernel.config.LifecycleException: load of
geronimo/rmi-namin
g/1.1-410806/car failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:256)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:235)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConf
iguration(KernelConfigurationManager.java:112)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastCla
ssByCGLIB$$b117102f.invoke(generated)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:122)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:817)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
cerByCGLIB$$889891e.loadConfiguration(generated)
at
org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:294)
at org.apache.geronimo.system.main.Daemon.init(Daemon.java:74)
at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
Caused by: org.apache.geronimo.kernel.config.NoSuchConfigException:
geronimo/rmi
-naming/1.1-410806/car
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
igurationData(SimpleConfigurationManager.java:439)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:253)
... 14 more
Server shutdown begun
Server shutdown completed

Ryan Shows
Configuration Manager
Symcor Inc.
416-673-3963
[EMAIL PROTECTED]



Re: 1.1 problem on Solaris

2006-06-07 Thread David Jencks
I don't have sun hardware to try it with, but I think that jeff  
genender has been running recent geronimo builds on a t2000, and I  
didn't hear of any problems.
Have you checked that the missing configuration really is in the  
geronimo repository?


sorry I don't have more ideas
david jencks

On Jun 7, 2006, at 9:19 AM, [EMAIL PROTECTED] wrote:

Below is a copy of my earlier message.  It is still unresolved.  I  
need to
know if geronimo is going to work under this environment.  Has  
anyone else

tried it on Solaris?


The server fails to start when I try to run it on a Sun T2000  
(Sparc) on
Solaris 10.  Works fine on Sun x4200 (AMD 64) with RH Linux ES  
4.0.  Below

is the stack trace.  I had issues on Solaris with 1.0, but at least it
started.

edpwbd01:rshows:/home/rshows/geronimo-1.1-410806/binjava -jar  
server.jar

Booting Geronimo Kernel (in Java 1.4.2_11)...
Starting Geronimo Application Server v1.1-410806
[*-]  0%   7s Startup failed
org.apache.geronimo.kernel.config.LifecycleException: load of
geronimo/rmi-namin
g/1.1-410806/car failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:256)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:235)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConf
iguration(KernelConfigurationManager.java:112)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastCla
ssByCGLIB$$b117102f.invoke(generated)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:122)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:817)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
cerByCGLIB$$889891e.loadConfiguration(generated)
at
org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:294)
at org.apache.geronimo.system.main.Daemon.init 
(Daemon.java:74)
at org.apache.geronimo.system.main.Daemon.main(Daemon.java: 
377)

Caused by: org.apache.geronimo.kernel.config.NoSuchConfigException:
geronimo/rmi
-naming/1.1-410806/car
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
igurationData(SimpleConfigurationManager.java:439)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:253)
... 14 more
Server shutdown begun
Server shutdown completed

Ryan Shows
Configuration Manager
Symcor Inc.
416-673-3963
[EMAIL PROTECTED]





Re: Fw: 1.1 problem on Solaris

2006-06-07 Thread Mario Rübsam

Ryan,

is there already a RMI service running on port 1099 your solaris system?
The exception is thrown when loading the RMI naming configuration. So I think
there is a conflict on that resource.

I will try 1.1 on my Sun later that day. I give you a feedback.

Thanks,
Mario


[EMAIL PROTECTED] wrote:

Below is a copy of my earlier message.  It is still unresolved.  I need to
know if geronimo is going to work under this environment.  Has anyone else
tried it on Solaris?


The server fails to start when I try to run it on a Sun T2000 (Sparc) on
Solaris 10.  Works fine on Sun x4200 (AMD 64) with RH Linux ES 4.0.  Below
is the stack trace.  I had issues on Solaris with 1.0, but at least it
started.

edpwbd01:rshows:/home/rshows/geronimo-1.1-410806/binjava -jar server.jar
Booting Geronimo Kernel (in Java 1.4.2_11)...
Starting Geronimo Application Server v1.1-410806
[*-]  0%   7s Startup failed
org.apache.geronimo.kernel.config.LifecycleException: load of
geronimo/rmi-namin
g/1.1-410806/car failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:256)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:235)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConf
iguration(KernelConfigurationManager.java:112)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastCla
ssByCGLIB$$b117102f.invoke(generated)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:122)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:817)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
cerByCGLIB$$889891e.loadConfiguration(generated)
at
org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:294)
at org.apache.geronimo.system.main.Daemon.init(Daemon.java:74)
at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
Caused by: org.apache.geronimo.kernel.config.NoSuchConfigException:
geronimo/rmi
-naming/1.1-410806/car
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
igurationData(SimpleConfigurationManager.java:439)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:253)
... 14 more
Server shutdown begun
Server shutdown completed

Ryan Shows
Configuration Manager
Symcor Inc.
416-673-3963
[EMAIL PROTECTED]






Re: geronimo 1.1 and activemq 4.0

2006-06-07 Thread Dain Sundstrom
I believe that you can use AMQ 4 as a plain old JCA managed resource,  
by deploying the AMQ 4 rar.  Geronimo will treat this as just another  
resource adapter and will have console support.  I suggest you ask  
for more help on the active mq mailing list.


-dain

On Jun 7, 2006, at 3:11 AM, Christoph Sturm wrote:


Hey guys!

the 1.1 candidates seem to run with activemq 3.x still.

When will there be a version that runs with activemq 4.0?
Is it possible to use activemq 4.0 now with geronimo 1.1 anyway?

thanks
chris




Re: Fw: 1.1 problem on Solaris

2006-06-07 Thread Mario Ruebsam

Ryan,

is there already a RMI service running on port 1099 your solaris system?
The exception is thrown when loading the RMI naming configuration. So I think
there is a conflict on that resource.

Thanks,
Mario


[EMAIL PROTECTED] wrote:

Below is a copy of my earlier message.  It is still unresolved.  I need to
know if geronimo is going to work under this environment.  Has anyone else
tried it on Solaris?


The server fails to start when I try to run it on a Sun T2000 (Sparc) on
Solaris 10.  Works fine on Sun x4200 (AMD 64) with RH Linux ES 4.0.  Below
is the stack trace.  I had issues on Solaris with 1.0, but at least it
started.

edpwbd01:rshows:/home/rshows/geronimo-1.1-410806/binjava -jar server.jar
Booting Geronimo Kernel (in Java 1.4.2_11)...
Starting Geronimo Application Server v1.1-410806
[*-]  0%   7s Startup failed
org.apache.geronimo.kernel.config.LifecycleException: load of
geronimo/rmi-namin
g/1.1-410806/car failed
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:256)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:235)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConf
iguration(KernelConfigurationManager.java:112)
at
org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastCla
ssByCGLIB$$b117102f.invoke(generated)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:122)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:817)
at
org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
7)
at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
ionInvoker.java:35)
at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
xyMethodInterceptor.java:96)
at
org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
cerByCGLIB$$889891e.loadConfiguration(generated)
at
org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:294)
at org.apache.geronimo.system.main.Daemon.init(Daemon.java:74)
at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
Caused by: org.apache.geronimo.kernel.config.NoSuchConfigException:
geronimo/rmi
-naming/1.1-410806/car
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
igurationData(SimpleConfigurationManager.java:439)
at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:253)
... 14 more
Server shutdown begun
Server shutdown completed

Ryan Shows
Configuration Manager
Symcor Inc.
416-673-3963
[EMAIL PROTECTED]




RE: unable to run a simple jsp application

2006-06-07 Thread Lin Sun
Hi David,

Thanks so much - that did solve the prob!

My 1.0 plan has:

connector xmlns=http://geronimo.apache.org/xml/ns/j2ee/connector-1.0;
  configId=EmployeeDatasource
  parentId=geronimo/j2ee-server/1.0/car

  dependency
uriorg.apache.derby/derby/10.1.1.0/jar/uri
  /dependency
  dependency
uriorg.apache.derby/derbynet/10.1.1.0/jar/uri
  /dependency
...

After I ran the upgrader tool:
...
dep:moduleId
  dep:groupIddefault/dep:groupId
  dep:artifactIdEmployeeDatasource/dep:artifactId
  dep:version1-default/dep:version
  dep:typecar/dep:type
/dep:moduleId
dep:dependencies
  dep:dependency
dep:groupIdgeronimo/dep:groupId
dep:artifactIdj2ee-server/dep:artifactId
dep:version1.0/dep:version
dep:typecar/dep:type
  /dep:dependency
  dep:dependency
dep:groupIdorg.apache.derby/dep:groupId
dep:artifactIdderby/dep:artifactId
dep:version10.1.1.0/dep:version
dep:typejar/dep:type
  /dep:dependency
  dep:dependency
dep:groupIdorg.apache.derby/dep:groupId
dep:artifactIdderbynet/dep:artifactId
dep:version10.1.1.0/dep:version
dep:typejar/dep:type
  /dep:dependency
/dep:dependencies
...

I think most of the users will hit the same problem as I did when using the
upgrader tool to upgrade the server wide datasource.  It would be great if
the upgrader tool could address this.

Regarding the daytrader plan, I did look at the plan in the target
directory.   I was searching for org.apache.derby and it didn't return
anything.:-(  The dependencies were inside of the embedded datasource plan
in 1.0 but now it is moved up to the top of the plan so I missed them too:-(

Lin

-Original Message-
From: David Jencks [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 07, 2006 3:14 AM
To: user@geronimo.apache.org
Subject: Re: unable to run a simple jsp application


On Jun 6, 2006, at 8:13 PM, Lin Sun wrote:

 Hi Stan,

 You are right, the classloader in 1.1 seems to change a lot.   So I  
 went
 back to the datasource plan, and I had the following as dependencies:

 dep:dependency
 dep:groupIdorg.apache.derby/dep:groupId
 dep:artifactIdderby/dep:artifactId
 dep:version10.1.1.0/dep:version
 dep:typejar/dep:type
 /dep:dependency

This is your problem, this loads a second copy of derby in a second  
classloader: as Stanley reminded me this causes problems.  Instead  
you need a car dependency on system-datasource so you are sharing  
it's copy of derby.


 dep:dependency
 dep:groupIdgeronimo/dep:groupId
 dep:artifactIdsystem-database/dep:artifactId
dep:typecar/dep:type
 /dep:dependency

 dep:dependency
 dep:groupIdorg.apache.derby/dep:groupId
 dep:artifactIdderbynet/dep:artifactId
 dep:version10.1.1.0/dep:version
 dep:typejar/dep:type
 /dep:dependency

This is in the system-database classloader also so you can omit it.
In general you should leave out versions so they can be resolved by  
geronimo and upgraded later.

 First I tried to comment out both of them, but I got a 
 java.lang.NoClassDefFoundError: org/apache/derby/jdbc/ 
 EmbeddedXADataSource
 from tranql.  Then I only commented out the derbynet jar and  
 redeployed
 everything.   Still got the same exception.

 I looked over the derby datasource section of the daytrader plan,  
 and it
 didn't have any org.apache.derby dependencies.  I don't understand  
 that even
 though the daytrader uses an application scoped datasource.   But I  
 haven't
 been able to get daytrader running yet.

Where are you looking?  You need to look in the target directory of  
the config, or the project.xml of the config subproject.  The  
geronimo packaging plugin inserts the dependencies into the plan  
based on marked dependencies in the project.xml.  So, for instance,  
the daytrader jetty plan starts like this, including a dependency on  
system-datasource such as I recommend above:

?xml version=1.0 encoding=UTF-8?
application xmlns=http://geronimo.apache.org/xml/ns/j2ee/ 
application-1.1
   dep:environment xmlns:dep=http://geronimo.apache.org/xml/ns/ 
deployment-1.1
 dep:moduleId
   dep:groupIdgeronimo/dep:groupId
   dep:artifactIddaytrader-derby-jetty/dep:artifactId
   dep:version1.1-SNAPSHOT/dep:version
   dep:typecar/dep:type
 /dep:moduleId
 dep:dependencies
   dep:dependency
 dep:groupIdgeronimo/dep:groupId
 dep:artifactIdj2ee-server/dep:artifactId
 dep:typecar/dep:type
   /dep:dependency
   dep:dependency
 dep:groupIdgeronimo/dep:groupId
 dep:artifactIdsystem-database/dep:artifactId
 dep:typecar/dep:type
   /dep:dependency
   dep:dependency
 dep:groupIdgeronimo/dep:groupId
 

Re: Fw: 1.1 problem on Solaris

2006-06-07 Thread Paul McMahan

The stacktrace seems to indicate that the RMI module cannot be loaded
from the repository. To rule out any file corruptions, can you check
to see if the files in this directory match the files in your working
installations:

repository/geronimo/rmi-naming/1.1-410806/rmi-naming-1.1-410806.car/META-INF


Paul

On 6/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


I ran netstat -a and no conflict.  I can startup geronimo 1.0.

Ryan Shows
Configuration Manager
Symcor Inc.
416-673-3963
[EMAIL PROTECTED]



 Mario Rübsam
 [EMAIL PROTECTED]
 com   To
   user@geronimo.apache.org
 07/06/2006 12:55   cc
 PM
   Subject
   Re: Fw: 1.1 problem on Solaris
 Please respond to
 [EMAIL PROTECTED]
  che.org







Ryan,

is there already a RMI service running on port 1099 your solaris system?
The exception is thrown when loading the RMI naming configuration. So I
think
there is a conflict on that resource.

I will try 1.1 on my Sun later that day. I give you a feedback.

Thanks,
Mario


[EMAIL PROTECTED] wrote:
 Below is a copy of my earlier message.  It is still unresolved.  I need
to
 know if geronimo is going to work under this environment.  Has anyone
else
 tried it on Solaris?


 The server fails to start when I try to run it on a Sun T2000 (Sparc) on
 Solaris 10.  Works fine on Sun x4200 (AMD 64) with RH Linux ES 4.0.
Below
 is the stack trace.  I had issues on Solaris with 1.0, but at least it
 started.

 edpwbd01:rshows:/home/rshows/geronimo-1.1-410806/binjava -jar server.jar
 Booting Geronimo Kernel (in Java 1.4.2_11)...
 Starting Geronimo Application Server v1.1-410806
 [*-]  0%   7s Startup failed
 org.apache.geronimo.kernel.config.LifecycleException: load of
 geronimo/rmi-namin
 g/1.1-410806/car failed
 at
 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
 iguration(SimpleConfigurationManager.java:256)
 at
 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
 iguration(SimpleConfigurationManager.java:235)
 at
 org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConf
 iguration(KernelConfigurationManager.java:112)
 at
 org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastCla
 ssByCGLIB$$b117102f.invoke(generated)
 at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
 at
 org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
 Invoker.java:38)
 at
 org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
 n.java:122)
 at
 org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
 java:817)
 at
 org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
 7)
 at
 org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
 ionInvoker.java:35)
 at
 org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
 xyMethodInterceptor.java:96)
 at
 org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
 cerByCGLIB$$889891e.loadConfiguration(generated)
 at
 org.apache.geronimo.system.main.Daemon.doStartup(Daemon.java:294)
 at org.apache.geronimo.system.main.Daemon.init(Daemon.java:74)
 at org.apache.geronimo.system.main.Daemon.main(Daemon.java:377)
 Caused by: org.apache.geronimo.kernel.config.NoSuchConfigException:
 geronimo/rmi
 -naming/1.1-410806/car
 at
 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
 igurationData(SimpleConfigurationManager.java:439)
 at
 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
 iguration(SimpleConfigurationManager.java:253)
 ... 14 more
 Server shutdown begun
 Server shutdown completed

 Ryan Shows
 Configuration Manager
 Symcor Inc.
 416-673-3963
 [EMAIL PROTECTED]








cwiki.apache.org [longish]

2006-06-07 Thread Hernan Cunico

Hi All,
I have enabled public signup so now you can register and contribute directly to 
the documentation.

The list of spaces for Geronimo are listed in geronimo.apache.org/documentation/
There you will find a breakdown into 4 initial sections. The first two focuses on Geronimo 
software documentation, the third focuses on the project development process and status (not a 
development guide). The last section should hold everything else, this section will be a good 
place to put the historical and/or still valid data from the old wiki that does not fit in any of 
the other spaces.


1. Apache Geronimo v1.0
   Apache Geronimo v1.0 - User's Guide
   Apache Geronimo v1.0 - Developer's Guide

2. Apache Geronimo v1.1
   Apache Geronimo v1.1 - User's Guide

3. Apache Geronimo Project Management
   Apache Geronimo Development Process
   Apache Geronimo Development Status

4. Apache Geronimo SandBox

Not sure if this organization calls for a vote but is pretty close to what we have been discussing 
from the beginning for organizing the documentation.


As I already mentioned, the pointers to these documentation spaces are available from 
geronimo.apache.org/documentation/ and hopefully soon at geronimo.apache.org/documentation.html.


Given that we have all the documentation organized in different spaces now I created a new one to 
consolidate all the pointers to the other spaces, cwiki.apache.org/geronimo


Comments welcome!


Cheers!
Hernan


Deploying EJB

2006-06-07 Thread Anshuk Chinmoy Pal Chaudhuri


Hi,

I have a simple stateless session EJB on geronimo 1.0.
While looking up the EJB from the client I have to mention the
java.naming.security.principal and java.naming.security.credentials
as geronimo and geronimo. And it is working fine.

But suppose I do not want to use the username and password to access,it
is giving me an authentication exception.
Is it not possible to scrap off the username and password details of
geronimo and geronimo from the server?
So that those are not required while looking up the EJB.Is it
possible?If yes,the how?


Warm Regards,
Anshuk Pal Chaudhuri

 CAUTION - Disclaimer *
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS End of Disclaimer INFOSYS***


Re: Exceptions in 1.1 build 20060607

2006-06-07 Thread Krishnakumar B

hi stanley,

thanks a lot for the pointers.

Regards
Krish

On 6/7/06, Stanley Bradbury [EMAIL PROTECTED] wrote:

Krishnakumar B wrote:
 Hi,

 I am trying running some basic samples that use Database pools with 1.1

 I am creating a new Database Pool called NewDataSource. When i use
 this in my web application it throws an exception. I have set database
 as SystemDatabase.

 I am able to use only SystemDatasource that comes built with the server.

 SQL Exception: Failed to start database 'SystemDatabase', see the next
 exception
 for details.
=   SNIP  
at
 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
 ool.java:684)
at java.lang.Thread.run(Thread.java:534)
 java.lang.NullPointerExceptionnull

 Any help appreciated.

 Thanks
 Krish

Hi Krish -

You may have already seen this message: David Jencks posted a resolution
earlier today for a NullPointerExpection being thrown when starting a
Derby database in as application scoped datasource using 1.1.  If I
understand his resolution correctly a CAR dependency needs to be defined
on the System datasource so the Derby classes from the System
classloader are used by the application.  The problem is caused when the
Derby driver is loaded in a different classloader by the application.
See the thread : subject -  unable to run a simple jsp application for
complete information.

HTH,  Stanley