Re: How to connect to LDAP server on Geronimo from an LDAP client?

2006-01-19 Thread Cristian Roldan
Hi,     I have used the IBM's ldap client, but you could you any ldap client.     ldapsearch -h localhost -p 1389 -D "uid=admin,ou=system" -w secret -b "ou=system" "objectClass=*"     if everything works ok this should be the output:     ou=systemou=systemobjectClass=organizationalUnitobjectClass=top  ou=systemou=systemobjectClass=organizationalUnitobjectClass=top  ou=configuration,ou=systemobjectClass=organizationalUnitobjectClass=topou=configuration  ou=interceptors,ou=configuration,ou=systemobjectClass=organizationalUnitobjectClass=topou=interceptors  ou=partitions,ou=configuration,ou=systemobjectClass=organizationalUnitobjectClass=topou=partitions 
 ou=services,ou=configuration,ou=systemobjectClass=organizationalUnitobjectClass=topou=services  ou=groups,ou=systemobjectClass=organizationalUnitobjectClass=topou=groups  ou=users,ou=systemobjectClass=organizationalUnitobjectClass=topou=users  prefNodeName=sysPrefRoot,ou=systemobjectClass=extensibleObjectprefNodeName=sysPrefRoot  uid=admin,ou=systemsn=administratorobjectClass=inetOrgPersonobjectClass=organizationalPersonobjectClass=personobjectClass=topcn=system administratoruid=adminuserPassword=secretdisplayName=Directory Superuser     Bye.  Phani Madgula <[EMAIL PROTECTED]> escribió:Hi     I am facing a problem while connecting 
 to LDAP
 server from an LDAP client.  I have installed Softerra LDAP browser and tried to connect to LDAP server running on Geronimo.     I always get "Can not connect to the LDAP server : ERROR 91".     Any solution?     thanks  phani  
		 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
Abrí tu cuenta aquí

Re: How to connect to LDAP server on Geronimo from an LDAP client?

2006-01-19 Thread Krishnakumar B
hi phani,

try JXplorer ( http://pegacat.com/jxplorer/ )

Regards
Krish

On 1/20/06, Phani Madgula <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am facing a problem while connecting to LDAP server from an LDAP client.
> I have installed Softerra LDAP browser and tried to connect to LDAP server
> running on Geronimo.
>
> I always get "Can not connect to the LDAP server : ERROR 91".
>
> Any solution?
>
> thanks
> phani


How to connect to LDAP server on Geronimo from an LDAP client?

2006-01-19 Thread Phani Madgula
Hi
 
I am facing a problem while connecting to LDAP server from an LDAP client.
I have installed Softerra LDAP browser and tried to connect to LDAP server running on Geronimo.
 
I always get "Can not connect to the LDAP server : ERROR 91".
 
Any solution?
 
thanks
phani


Re: how to keep the server process alive on Fedora Linux

2006-01-19 Thread Kevan Miller

Qingtian,
Thanks for keeping after this...

What was the date/time of the last log entry in var/log/geronimo.log?  
Are you running the server in the foreground (e.g. geronimo.sh run)  
or background (e.g. geronimo.sh start). Are you putting any load on  
the server?


I did run a short 8 hour test on Mac OS X and didn't observe any  
signs of distress (no memory leak, etc). Will set up a longer run on  
Linux, tomorrow...


--kevan

On Jan 19, 2006, at 9:51 PM, Qingtian Wang wrote:


OK, this time it lived more than one day (more than two days). I found
it dead this morning, and "ps" command shows nothing. The process is
gone.

Looking in geronimo.out and geronimo.log doesn't give much a clue. Is
there any other log I could check? I am not real versed with Linux; is
there some sys log that would show when and how the process got
killed?

Thanks!
Qingtian





On 1/16/06, Paul McMahan <[EMAIL PROTECTED]> wrote:
Intriguing problem..  Could the Geronimo process still be running  
but is
just inaccessible?  You can check by waiting until the server has  
seemingly

terminated and then type :

 ps -ef | grep geronimo

 If you see something like :

 username  4589 1 11 13:41 pts/200:00:39
/usr/java/j2sdk1.4.2_10/bin/java -Djava.endorsed.dirs=
-Dorg.apache.geronimo.base.dir [remainder truncated by me]

 then geronimo may have become inaccessible due to, perhaps, an IP  
address

change (thanks to Leigh Williamson for this suggestion).

 As a test of this theory I changed the IP address on my redhat  
linux system
and was still able to access the admin console. But command line  
utilities

such as shutdown.sh and deploy.sh no longer worked:

 [EMAIL PROTECTED] geronimo-1.0]$ bin/deploy.sh list-modules
 Error: Unable to connect to server at deployer:geronimo:jmx --
 javax.naming.NameNotFoundException: JMXConnector


 Best wishes,
 Paul


On 1/16/06, Qingtian Wang <[EMAIL PROTECTED] > wrote:

Hi,

I am running on Fedora as a normal user. Once started, the server  
runs

fine until the next day, it is stopped with no clear warning in the
geronomo.out log file. How can I keep the server alive all the time.
Do I have to be a root user when starting the server?

Thanks!
Qingtian








Re: how to keep the server process alive on Fedora Linux

2006-01-19 Thread lichtner

How long does it run for? Is it always the same amount of time?

On Thu, 19 Jan 2006, Matt Hogstrom wrote:

> you could check /var/logs and look in the messages to see if something was
> logged at the same time.  Other than that others probably have better ideas.
>
>
> Qingtian Wang wrote:
> > OK, this time it lived more than one day (more than two days). I found
> > it dead this morning, and "ps" command shows nothing. The process is
> > gone.
> >
> > Looking in geronimo.out and geronimo.log doesn't give much a clue. Is
> > there any other log I could check? I am not real versed with Linux; is
> > there some sys log that would show when and how the process got
> > killed?
> >
> > Thanks!
> > Qingtian
> >
> >
> >
> >
> >
> > On 1/16/06, Paul McMahan <[EMAIL PROTECTED]> wrote:
> >
> >>Intriguing problem..  Could the Geronimo process still be running but is
> >>just inaccessible?  You can check by waiting until the server has seemingly
> >>terminated and then type :
> >>
> >> ps -ef | grep geronimo
> >>
> >> If you see something like :
> >>
> >> username  4589 1 11 13:41 pts/200:00:39
> >>/usr/java/j2sdk1.4.2_10/bin/java -Djava.endorsed.dirs=
> >>-Dorg.apache.geronimo.base.dir [remainder truncated by me]
> >>
> >> then geronimo may have become inaccessible due to, perhaps, an IP address
> >>change (thanks to Leigh Williamson for this suggestion).
> >>
> >> As a test of this theory I changed the IP address on my redhat linux system
> >>and was still able to access the admin console. But command line utilities
> >>such as shutdown.sh and deploy.sh no longer worked:
> >>
> >> [EMAIL PROTECTED] geronimo-1.0]$ bin/deploy.sh list-modules
> >> Error: Unable to connect to server at deployer:geronimo:jmx --
> >> javax.naming.NameNotFoundException: JMXConnector
> >>
> >>
> >> Best wishes,
> >> Paul
> >>
> >>
> >>On 1/16/06, Qingtian Wang <[EMAIL PROTECTED] > wrote:
> >>
> >>>Hi,
> >>>
> >>>I am running on Fedora as a normal user. Once started, the server runs
> >>>fine until the next day, it is stopped with no clear warning in the
> >>>geronomo.out log file. How can I keep the server alive all the time.
> >>>Do I have to be a root user when starting the server?
> >>>
> >>>Thanks!
> >>>Qingtian
> >>>
> >>
> >>
> >
> >
> >
>


Re: how to keep the server process alive on Fedora Linux

2006-01-19 Thread Matt Hogstrom
you could check /var/logs and look in the messages to see if something was 
logged at the same time.  Other than that others probably have better ideas.



Qingtian Wang wrote:

OK, this time it lived more than one day (more than two days). I found
it dead this morning, and "ps" command shows nothing. The process is
gone.

Looking in geronimo.out and geronimo.log doesn't give much a clue. Is
there any other log I could check? I am not real versed with Linux; is
there some sys log that would show when and how the process got
killed?

Thanks!
Qingtian





On 1/16/06, Paul McMahan <[EMAIL PROTECTED]> wrote:


Intriguing problem..  Could the Geronimo process still be running but is
just inaccessible?  You can check by waiting until the server has seemingly
terminated and then type :

ps -ef | grep geronimo

If you see something like :

username  4589 1 11 13:41 pts/200:00:39
/usr/java/j2sdk1.4.2_10/bin/java -Djava.endorsed.dirs=
-Dorg.apache.geronimo.base.dir [remainder truncated by me]

then geronimo may have become inaccessible due to, perhaps, an IP address
change (thanks to Leigh Williamson for this suggestion).

As a test of this theory I changed the IP address on my redhat linux system
and was still able to access the admin console. But command line utilities
such as shutdown.sh and deploy.sh no longer worked:

[EMAIL PROTECTED] geronimo-1.0]$ bin/deploy.sh list-modules
Error: Unable to connect to server at deployer:geronimo:jmx --
javax.naming.NameNotFoundException: JMXConnector


Best wishes,
Paul


On 1/16/06, Qingtian Wang <[EMAIL PROTECTED] > wrote:


Hi,

I am running on Fedora as a normal user. Once started, the server runs
fine until the next day, it is stopped with no clear warning in the
geronomo.out log file. How can I keep the server alive all the time.
Do I have to be a root user when starting the server?

Thanks!
Qingtian










Re: how to keep the server process alive on Fedora Linux

2006-01-19 Thread Qingtian Wang
OK, this time it lived more than one day (more than two days). I found
it dead this morning, and "ps" command shows nothing. The process is
gone.

Looking in geronimo.out and geronimo.log doesn't give much a clue. Is
there any other log I could check? I am not real versed with Linux; is
there some sys log that would show when and how the process got
killed?

Thanks!
Qingtian





On 1/16/06, Paul McMahan <[EMAIL PROTECTED]> wrote:
> Intriguing problem..  Could the Geronimo process still be running but is
> just inaccessible?  You can check by waiting until the server has seemingly
> terminated and then type :
>
>  ps -ef | grep geronimo
>
>  If you see something like :
>
>  username  4589 1 11 13:41 pts/200:00:39
> /usr/java/j2sdk1.4.2_10/bin/java -Djava.endorsed.dirs=
> -Dorg.apache.geronimo.base.dir [remainder truncated by me]
>
>  then geronimo may have become inaccessible due to, perhaps, an IP address
> change (thanks to Leigh Williamson for this suggestion).
>
>  As a test of this theory I changed the IP address on my redhat linux system
> and was still able to access the admin console. But command line utilities
> such as shutdown.sh and deploy.sh no longer worked:
>
>  [EMAIL PROTECTED] geronimo-1.0]$ bin/deploy.sh list-modules
>  Error: Unable to connect to server at deployer:geronimo:jmx --
>  javax.naming.NameNotFoundException: JMXConnector
>
>
>  Best wishes,
>  Paul
>
>
> On 1/16/06, Qingtian Wang <[EMAIL PROTECTED] > wrote:
> > Hi,
> >
> > I am running on Fedora as a normal user. Once started, the server runs
> > fine until the next day, it is stopped with no clear warning in the
> > geronomo.out log file. How can I keep the server alive all the time.
> > Do I have to be a root user when starting the server?
> >
> > Thanks!
> > Qingtian
> >
>
>


Re: Geronimo build question

2006-01-19 Thread John Sisson

Hi Rob,

We found a couple of problems that prevent people building from the src 
distribution.  Try this..


Delete your C:\Documents and Settings\yourusernamehere\.maven directory

Replace the geronimo-1.0-src\configs\j2ee-server\project.xml file with 
the attached file (based upon the patch in 
http://issues.apache.org/jira/browse/GERONIMO-1449 ).


Delete your C:\Documents and Settings\yourusernamehere\.maven directory

Rebuild.

Let us know how it goes.

John


Rob Kenworthy wrote:

Hi John,

A while back I was asking you about running the build for Geronimo. I 
had stopped getting responses at my hotmail account, but just realized 
they are all going into my junk email folder and are now lost so now I 
don't know what the resolution was (if there was one) to the build issue.


Did you guys ever get it sorted out?

Thanks,
Rob

Original Message Follows
From: John Sisson <[EMAIL PROTECTED]>
Reply-To: user@geronimo.apache.org
To: user@geronimo.apache.org
Subject: Re: Geronimo build question
Date: Thu, 12 Jan 2006 10:18:08 +1100

Rob,

The build instructions probably shouldn't say JDK1.4.x they should say 
JDK1.4.2 (preferably JDK1.4.2_08 or later).


Can you also send me the output of the "java -version" command.

Thanks,

John

Rob Kenworthy wrote:


Hi,

John Sisson has asked me to send an email to this list as a result of 
my posting on theserverside 
(http://www.theserverside.com/tss?service=direct/0/PostNewsReply/postReply&sp=l38463&sp=F&sp=l196734#196680) 




I am having problems doing a simple Geronimo build of 1.0 final.

Here is the info that John requested:

Q: Are you using the 1.0 final release or a release candidate?
A: 1.0 Final release.

Q: What platform are you building on (Windows XP, Linux..)?
A: Windows 2000

Q: Do you want to build from the command line or were you wanting to 
use an IDE to debug etc?
A: Command line. The BUILDING.txt file says to use Maven 1.0.2 or 
later and use JDK 1.4.x. So I set my path to the bin directory of 
Maven and set JAVA_HOME appropriately. Then run Maven from the 
geronimo directory. I figure that is all I should need to do.


The errors I am getting are unsatisfied class dependencies for a file 
called GenerateServiceXml.java. The dependencies are actually in one 
of the maven jars, but it doesn't seem to be in the classpath. I did 
try renaming the file to ...java.bak and ran it again. It got much 
further, but other class compilations depend on 
GenerateServiceXml.java, so it blew up again.


Any help would be appreciated.

Thanks,
Rob
















3
../../etc/project.xml
j2ee-server
Server Configuration for the J2EE Server




geronimo
geronimo-packaging-plugin
${geronimo_packaging_plugin_version}
plugin


geronimo
geronimo-gbean-deployer
${geronimo_version}
car



geronimo
rmi-naming
${geronimo_version}
car

 true
 


geronimo
geronimo-core
${geronimo_version}

 true
 


geronimo
geronimo-common
${geronimo_version}

 true
 


geronimo
geronimo-connector
${geronimo_version}

 true
 


geronimo
geronimo-timer
${geronimo_version}

 true
 


geronimo
geronimo-webservices
${geronimo_version}

 true
 


geronimo
geronimo-client
${geronimo_version}

 true
 


geronimo
geronimo-axis
${geronimo_version}

 true
 


openejb
openejb-core
${openejb_version}

 true
 


xstream
xstream
${xstream_version}

 true
 


xpp3
xpp3
${xpp3_version}

 true
 


asm
asm
${asm_version}

 true
 


activemq
activemq-gbean-management
${activemq_version}

 true
 


activeio
activeio
${activeio_version}

 true
 

   
 

Re: javamail

2006-01-19 Thread Alex Andrushchak




Hi!

I've found one article
https://www6.software.ibm.com/developerworks/education/os-ag-javamail/
There are references to javamail and JAF from Sun. But this article
references to geromino-1.0-M5.
Are we need javamail.jar and activation.jar in geronimo-1.0 too?

Best regards,
Alex Andrushchak

Ken McArthur wrote:

Hi Alex,
  
I'm experiencing the exact same problem.  Only odd thing I've
noticed so far is that the properties from the session object are
empty.  It's connecting to localhost on port 25 regardless of what
I set in config.xml.  Going to try setting them in code right
after I get session from context.  Will let you know if this, or
anything else I try helps.
  
Ken
  
  
  On 1/18/06, Alex Andrushchak <[EMAIL PROTECTED]>
wrote:
  
Thank You Rajith!
Sorry for disturb you.


Best regards,
Alex Andrushchak

Rajith Attapattu wrote:

  Alex,
   
  Unfortunately I don't have time right now to try out the
mail
funtionality myself. I can try to do that in the evening when I go home.
   
  Meanwhile lets hope that somebody else might be able to come
with a better idea to help u.
   
  Regards,
   
  Rajith.
  
 
  On 1/18/06, Alex Andrushchak <[EMAIL PROTECTED]
  >
wrote:
  There
are my two methods from my MailerBean:
    public void setMessage(String recipient, String cc, String subject,
String content) 
    throws Exception, RemoteException 
    {
    System.out.println("SessionMailerBean.setMessage: checkpoint
1.");

    // Get the initial context
    InitialContext ictx = null; 
    try {
    ictx = new InitialContext();
    } catch (NamingException e) {
    throw new Exception("Can not get an inital context : " +
e.getMessage());
    }

    // get a new Session from our ENC envirnoment java:comp/env
    Session session = null;
    try {
    session = (Session) ictx.lookup("java:comp/env/mail/MailSession"
);
    } catch (NamingException e) {
    throw new Exception("You have not configure the mail
factory "
    + " ifor java:comp/env/mail/MailSession." +
e.getMessage
());
    }

    session.setDebug(true);

    try {
    //Create the message
    message = new MimeMessage(session);
    InternetAddress[] toRecipients = new InternetAddress[] {new
InternetAddress(recipient)}; 
    message.setRecipients(Message.RecipientType.TO,
toRecipients);
    message.setSubject
(subject, MAIL_CHARSET);
    message.setText(content, MAIL_CHARSET);
    
    if ( null != cc ) {
   
InternetAddress[] ccs = new InternetAddress[] {new
InternetAddress(cc)}; 
    message.setRecipients(Message.RecipientType.CC,
ccs);
    }
    
    //message.setContent(content, "text/plain");
    } catch (MessagingException e) {
    throw new Exception("A failure occurs when getting a
message from the session and setting " 
   
+ "the different parameters :" + e.getMessage());
    }

    System.out.println("SessionMailerBean.setMessage: checkpoint
2.");
    }

    public void send() throws Exception, RemoteException { 
    System.out.println("SessionMailerBean.send: checkpoint 1.");
    if (message == null) {
    throw new Exception("The message can not be send because
the method setMessage() " 
   
+ " was not called before the send() method.");
    }

    try {
    Transport.send(message);
    } catch (MessagingException e) {
    throw new Exception("The message can not be send : " +
e.getMessage());
    }
    System.out.println("SessionMailerBean.send: checkpoint 2.");
    }

I've add debug to mail session but nothing :-(
Unfortunatelly i have not configured environment for remote debug. 
Any advice?


Best regards,
Alex Andrushchak

Rajith Attapattu wrote:

  Alex,
   
  Sorry about the mix up, actually Can u set
Session.setDebug(true) (javax.mail.Session) in your code.
   
  for u to send the mail u must be getting a session and
then
accesing the trasport by using the getTransport(). So when u get an
instance of Session please set the above 
value.to true. If you are not sure about it, pls email the code
segment and I will point it out. 
   
  If there is not enough debug info, can u please remote
debug
with the info I provided above.
 
  Regards,
   
  Rajith.
 
  On 1/18/06, Alex Andrushchak <[EMAIL PROTECTED]
  > wrote:
  Hi!

I've switched log lovel to debug. But there aren't any debug messaging
about mail delivery, only struts debug messages  :-( 
Are there any other posibility to dig this case?


Best regards,
Alex A

Re: ActivationSpec problem (ClassCastException)

2006-01-19 Thread Ken McArthur

You've probably already looked into this but, just in case, this sounds
like class exists in multiple jar repositories and classLoaders are
different.
On 1/19/06, David Jencks <[EMAIL PROTECTED]> wrote:
On Jan 19, 2006, at 1:01 AM, johnxmas wrote:> Hi Aaron,>> a) I tried with just one setter and getter>> private int port;> public int getPort()> public void setPortl(int port)  throws InvalidPropertyException
>> and the problem persists.Unfortunately the spec doesn't provide any guidance on what types areallowed for activation spec properties.  Reasonable conclusions mightbe,- only string- only types allowed for ManagedConnectionFactory properties
- only strings and primitive types.We might support only types allowed for MCF properties, which rulesout primitive types.  Could you try Integer and String and report theresults?thanks
david jencks>> b) If I suppress the property port in all descriptors and force the> value in my ActivationSpec,> the MDB deploys with no problem.>> I m a bit puzzled there. If I can be of any help for investigating
> deeper, let me know>> Thanks for your help>> Jean-Noel>>> I wonder if the problem is due to the multiple setters.  Can you>> temporarily try with an ActivationSpec class with only one int setter
>> (assuming the getter and private variable are also ints) and see if>> that solves the problem?  It so, it would suggest that we need to try>> harder to distinguish the proper setter to call in the face of
>> overloading like that.  If that doesn't help, maybe we have a problem>> with setting primitives or something? Thanks,>>Aaron On 1/18/06, johnxmas <
[EMAIL PROTECTED]> wrote:>>> Hi,>> id is String>> As regards port, it's an int. But the ActivationSpec implements
>>> three setters>>> (each required due to WebLogic, Jboss, Sun and others>>> implementations of their application server):>>> - with an int parameter>>> -  with an Integer parameter
>>> - with a String parameter> Jean-Noël Hmm...  It looks like we're trying to set the wrong data type on
 the properties.  Can you check the data types of the "port" and "id" properties? Thanks,Aaron
 On 1/17/06, johnxmas <[EMAIL PROTECTED]> wrote:> I've written an InboundResourceAdapter. When deploying my> MessageDrivenBean, with the following
> descriptor>> > xmlns="http://www.openejb.org/xml/ns/openejb-jar
"> xmlns:naming="http://geronimo.apache.org/xml/ns/naming"> xmlns:security="
http://geronimo.apache.org/xml/ns/security"> xmlns:sys="http://geronimo.apache.org/xml/ns/deployment"> configId="InboundMdb"  parentId="ScortJcaAdapter15">
>  > > InboundMdb> 
>   ScortJcaAdapter15> > >
>
port> activation-config-property-name>>
> value>23072>
>
>
id> activation-config-property-name>>
> value>CUSTLIST>
> >   >  > 
>>  I encounter the following problem (using geronimo 1.0)> (BTW, it reminds me of GERONIMO-689)>> 17:26:08,054 ERROR [GBeanInstanceState] Error while starting;
> GBean is now in the FAILED state:> objectName="geronimo.server:EJBModule=InboundMdb,J2EEApplication=n> ull,J2EEServer=geronimo,j2eeType=JCAActivationSpec,name=InboundMdb
> "> java.lang.ClassCastException> at> com.scort.inbound.jca.socket.impl.SocketActivationSpec$> $FastClassByCGLIB$$7d9f9cac.invoke()
> at net.sf.cglib.reflect.FastMethod.invoke> (FastMethod.java:53)> at org.apache.geronimo.gbean.DynamicGBeanDelegate> $Operation.invoke(
DynamicGBeanDelegate.java:181)> at> org.apache.geronimo.gbean.DynamicGBeanDelegate.setAttribute> (DynamicGBeanDelegate.java:134)> at
> org.apache.geronimo.connector.ActivationSpecWrapperGBean.setAttrib> ute(ActivationSpecWrapperGBean.java:68)> at org.apache.geronimo.gbean.runtime.GBeanAttribute
> $DynamicSetterMethodInvoker.invoke(GBeanAttribute.java:430)> at> org.apache.geronimo.gbean.runtime.GBeanAttribute.setValue> (
GBeanAttribute.java:403)> at> org.apache.geronimo.gbean.runtime.GBeanAttribute.inject> (GBeanAttribute.java:334)> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance> (GBeanInstance.java:925)> at> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullSt
> art(GBeanInstanceState.java:325)> at> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start> (GBeanInstanceState.java
:110)> at> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursiv> e(GBeanInstanceState.jav

AW: transaction behaviour

2006-01-19 Thread Ueberbach, Michael
hello matt,

to answer your first question: I had a look at the database using a neutral 
frontend (aqua data studio, that means via JDBC also) while I was testing my 
EJBs. When using MySQL I could see the new rows in the database table 
immediately after calling the method to create the new EJBs (using a stateless 
session bean as facade). When using the Oracle DB no additional rows could be 
seen in the database table allthough I could read the new Entities by a finder 
from the EJB-Container. Directly after shutting down geronimo the addditional 
rows could be read in the database also.
I deployed both connections over the console after installing the JDBC drivers 
(also over the console). So I have no explicit plan (maybe the config.ser 
helps? I attache it)
Does it has something to do with a different auto-commit-option?

thanks for your help
Michael 

 


-Ursprüngliche Nachricht-
Von: Matt Hogstrom [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 19. Januar 2006 16:28
An: user@geronimo.apache.org
Betreff: Re: transaction behaviour


I wouldn't expect that behaviour at all.  I've been using DB2 and haven't seen 
that happen.  What leads you to believe that data isn't being persisted at the 
end of the transaction?

So, to restate what you said so I understand:

1. Using MySQL it appears that data is persisted correctly.

2. Using the Oracle Driver you see some caching occurring?

Can you provide the plan you are using that describes the database connections?

Ueberbach, Michael wrote:
> hello all,
> 
> while testing some ejb-apps on geronimo I encountered a significant 
> difference between different databases as connection pools.
> Using a local MySQL database all transactions (inserting, updating etc) work 
> well. Changing to a separate Oracle database the behaviour is different. 
> Creating new Entity Beans will be done on geronimo but not written to the 
> database until geronimo has been shut down. Im using a thin oracle jdbc 
> driver and CMP.
> Does anybody has any idea where to look after?
> 
> regards
> Michael
> 
> 
> 


config.ser
Description: config.ser


Re: Geronimo JVM Configuration Portlet

2006-01-19 Thread Dave Colasurdo
Anyone who is managing their network from outside of the firewall really 
needs to be conscious of security exposures and should only allow access 
to the console with the ssl transport (https) and user authentication 
(hopefully with something other than system/manager).  We should add 
this to our security and admin console documentation.


I think the admin console should allow updates to JVM properties.. In 
fact, perhaps even add some input fields for some of the common 
parameters that Cristian mentioned in his original post.


-Dave-

Paul McMahan wrote:
I definitely like the idea of adding this type of functionality to the 
admin console.  A section of setenv.sh/bat could be designated to JVM 
variables settable via the admin console.  And by surrounding that 
section with proper annotation we could probably avoid confusing the 
user as to what gets set by whom and when.   However, my spidey sense 
starts tingling when I think about accepting input from outside the 
machine (and potentially outside the firewall) that is placed directly 
into an script that may be executed with root/admin privileges.  No 
matter how carefully we sanitize the input some clever person may figure 
out some new fangled way to sneak a newline through or some such 
mischief.  Perhaps there is a way to change (at least some of) the 
properties of the JVM *after* it has been executed from the command 
line?  But now we're back to allowing properties to be set in two places 
again, doh!  :-)


Best wishes,
Paul



On 1/18/06, *John Sisson* < [EMAIL PROTECTED] 
> wrote:


The geronimo.sh/bat startup script will execute a setenv.sh/bat file if
it is present.  See the comments at the bottom of the comment header for
geronimo.sh/bat.

For example, the setenv.sh/bat files can set the GERONIMO_OPTS
environment variable to change the JVM options.

We would want to avoid having two places that JVM options are configured
as that would be confusing and make Geronimo more difficult to support.

Maybe the console could have a page that allows you to
add/update/delete
environment variables, which results in the appropriate modifications to
the setenv.sh and setenv.bat files.  It would need to be careful with
updating/deleting environment variables, as a user may have inserted
some logic in the script before the environment variable is set (or the
environment variable could be in a number of places in the script due to
logic).  Maybe the console would need to detect whether the script has
anything other than the simple setting of environment variables and if
so, prevents you from editing it from the console.

It would be interesting to hear from others whether they think it is a
security issue allowing the console to edit bat/sh startup script files
(could malicious commands be inserted into the startup scripts).

John




Re: transaction behaviour

2006-01-19 Thread Matt Hogstrom
I wouldn't expect that behaviour at all.  I've been using DB2 and haven't seen 
that happen.  What leads you to believe that data isn't being persisted at the 
end of the transaction?


So, to restate what you said so I understand:

1. Using MySQL it appears that data is persisted correctly.

2. Using the Oracle Driver you see some caching occurring?

Can you provide the plan you are using that describes the database connections?

Ueberbach, Michael wrote:

hello all,

while testing some ejb-apps on geronimo I encountered a significant difference 
between different databases as connection pools.
Using a local MySQL database all transactions (inserting, updating etc) work 
well. Changing to a separate Oracle database the behaviour is different. 
Creating new Entity Beans will be done on geronimo but not written to the 
database until geronimo has been shut down. Im using a thin oracle jdbc driver 
and CMP.
Does anybody has any idea where to look after?

regards
Michael





Re: Geronimo JVM Configuration Portlet

2006-01-19 Thread Matt Hogstrom
I like the idea of using an env script/bat implementation.  It makes lots of 
sense in many ways.  I don't think one would be allowing users to directly 
modify the scripts but we'd ask for their input and validate it before building 
the script.  So from that perspective the input mechanism is is responsible for 
doing the scrubbing.


The bigger issue in my mind is the strategy for supporting multiple server 
configurations.  A single env script is not adequate for all possible servers 
since the user may choose to run different apps on servers that are not part of 
the same group.


I'm not sure how WADI is handling this from an admin / config perspective but 
they have the same issue in how do we get the right information into a 
particular server instance.  It sounds like this will most likely be a 2.0 
discussion since it will be a significant change over how were currently structured.


One possible (and simple solution) would be to:

$g/var/servers/server1/config.xml
  /server2/config.xml
  /server3/config.xml

Would contain the meta data used to generate unique env scripts (not very 
scalable) or better yet, be used to dynamically build the java command to launch 
the desired server.


I guess at some point someone might want to restrict who can configure a set of 
servers based on their credentials but I think that's  a bit out on the horizon. 
 To paraphrase Guglielmo, perhaps that is a feature that people will get from 
commercial software.


Thoughts?

Matt

Paul McMahan wrote:

I definitely like the idea of adding this type of functionality to the admin
console.  A section of setenv.sh/bat could be designated to JVM variables
settable via the admin console.  And by surrounding that section with proper
annotation we could probably avoid confusing the user as to what gets set by
whom and when.   However, my spidey sense starts tingling when I think about
accepting input from outside the machine (and potentially outside the
firewall) that is placed directly into an script that may be executed with
root/admin privileges.  No matter how carefully we sanitize the input some
clever person may figure out some new fangled way to sneak a newline through
or some such mischief.  Perhaps there is a way to change (at least some of)
the properties of the JVM *after* it has been executed from the command
line?  But now we're back to allowing properties to be set in two places
again, doh!  :-)

Best wishes,
Paul



On 1/18/06, John Sisson <[EMAIL PROTECTED]> wrote:


The geronimo.sh/bat startup script will execute a setenv.sh/bat file if
it is present.  See the comments at the bottom of the comment header for
geronimo.sh/bat.

For example, the setenv.sh/bat files can set the GERONIMO_OPTS
environment variable to change the JVM options.

We would want to avoid having two places that JVM options are configured
as that would be confusing and make Geronimo more difficult to support.

Maybe the console could have a page that allows you to add/update/delete
environment variables, which results in the appropriate modifications to
the setenv.sh and setenv.bat files.  It would need to be careful with
updating/deleting environment variables, as a user may have inserted
some logic in the script before the environment variable is set (or the
environment variable could be in a number of places in the script due to
logic).  Maybe the console would need to detect whether the script has
anything other than the simple setting of environment variables and if
so, prevents you from editing it from the console.

It would be interesting to hear from others whether they think it is a
security issue allowing the console to edit bat/sh startup script files
(could malicious commands be inserted into the startup scripts).

John







transaction behaviour

2006-01-19 Thread Ueberbach, Michael
hello all,

while testing some ejb-apps on geronimo I encountered a significant difference 
between different databases as connection pools.
Using a local MySQL database all transactions (inserting, updating etc) work 
well. Changing to a separate Oracle database the behaviour is different. 
Creating new Entity Beans will be done on geronimo but not written to the 
database until geronimo has been shut down. Im using a thin oracle jdbc driver 
and CMP.
Does anybody has any idea where to look after?

regards
Michael


Re: Geronimo JVM Configuration Portlet

2006-01-19 Thread Paul McMahan
I definitely like the idea of adding this type of functionality to the admin console.  A section of setenv.sh/bat could be designated to JVM variables settable via the admin console.  And by surrounding that section with proper annotation we could probably avoid confusing the user as to what gets set by whom and when.   However, my spidey sense starts tingling when I think about accepting input from outside the machine (and potentially outside the firewall) that is placed directly into an script that may be executed with root/admin privileges.  No matter how carefully we sanitize the input some clever person may figure out some new fangled way to sneak a newline through or some such mischief.  Perhaps there is a way to change (at least some of) the properties of the JVM *after* it has been executed from the command line?  But now we're back to allowing properties to be set in two places again, doh!  :-)
Best wishes,PaulOn 1/18/06, John Sisson <
[EMAIL PROTECTED]> wrote:
The geronimo.sh/bat startup script will execute a setenv.sh/bat file ifit is present.  See the comments at the bottom of the comment header forgeronimo.sh/bat.For example, the setenv.sh/bat files can set the GERONIMO_OPTS
environment variable to change the JVM options.We would want to avoid having two places that JVM options are configuredas that would be confusing and make Geronimo more difficult to support.Maybe the console could have a page that allows you to add/update/delete
environment variables, which results in the appropriate modifications tothe setenv.sh and setenv.bat files.  It would need to be careful withupdating/deleting environment variables, as a user may have inserted
some logic in the script before the environment variable is set (or theenvironment variable could be in a number of places in the script due tologic).  Maybe the console would need to detect whether the script has
anything other than the simple setting of environment variables and ifso, prevents you from editing it from the console.It would be interesting to hear from others whether they think it is asecurity issue allowing the console to edit bat/sh startup script files
(could malicious commands be inserted into the startup scripts).John



Why do we need /lib/extension folder?

2006-01-19 Thread Phani Madgula
Hi,
 
I have question. I want to know the purpose of /lib/extension folder.
I placed some jars in the above said folder,  and try to access the classes in them in some applications deployed.
But not able to access any..!
 
Thanks
phani
 
 
 


RMI at different port

2006-01-19 Thread Phani Madgula
Hi 
 
I am trying to port an application on Geronimo.
 
I configured server for a different RMI port say  and successfully started it. My config.xml is as follows. I changed only two configurations 
related to RMI naming and JMX.
 
           
  rmi://0.0.0.0:          
javax.net.ssl.keyStorePassword=secret    javax.net.ssl.trustStorePassword=secret      
...
...
 
        
0.0.0.0  4242          service:jmx:rmi://0.0.0.0/jndi/rmi://localhost:/JMXConnector
      
...
...
I tried to deploy a sample application as follows as per the documentation
 
 
 
java -jar deployer.jar --user system --password manager --uri deployer:geronimo:jmx:rmi:///jndi/rmi://localhost:/JMXConnector deploy stateful.jar

    Error: Unable to connect to server at    deployer:geronimo:jmx:rmi:///jndi/rmi://localhost:/JMXConnector --    javax.naming.ServiceUnavailableException [Root exception is    java.rmi.ConnectException
: Connection refused to host: localhost;    nested exception is:
    java.net.ConnectException: Connection refused: connect]
Can you help me with right options for deployer in this case?
 
Thanks
phani
 
 
 
 


Re: ActivationSpec problem (ClassCastException)

2006-01-19 Thread David Jencks


On Jan 19, 2006, at 1:01 AM, johnxmas wrote:


Hi Aaron,

a) I tried with just one setter and getter

private int port;
public int getPort()
public void setPortl(int port)  throws InvalidPropertyException

and the problem persists.


Unfortunately the spec doesn't provide any guidance on what types are  
allowed for activation spec properties.  Reasonable conclusions might  
be,

- only string
- only types allowed for ManagedConnectionFactory properties
- only strings and primitive types.

We might support only types allowed for MCF properties, which rules  
out primitive types.  Could you try Integer and String and report the  
results?


thanks
david jencks



b) If I suppress the property port in all descriptors and force the  
value in my ActivationSpec,

the MDB deploys with no problem.

I m a bit puzzled there. If I can be of any help for investigating  
deeper, let me know


Thanks for your help

Jean-Noel






I wonder if the problem is due to the multiple setters.  Can you
temporarily try with an ActivationSpec class with only one int setter
(assuming the getter and private variable are also ints) and see if
that solves the problem?  It so, it would suggest that we need to try
harder to distinguish the proper setter to call in the face of
overloading like that.  If that doesn't help, maybe we have a problem
with setting primitives or something?

Thanks,
   Aaron

On 1/18/06, johnxmas <[EMAIL PROTECTED]> wrote:

Hi,

id is String

As regards port, it's an int. But the ActivationSpec implements  
three setters
(each required due to WebLogic, Jboss, Sun and others  
implementations of their application server):

- with an int parameter
-  with an Integer parameter
- with a String parameter


Jean-Noël




Hmm...  It looks like we're trying to set the wrong data type on  
the

properties.  Can you check the data types of the "port" and "id"
properties?

Thanks,
   Aaron

On 1/17/06, johnxmas <[EMAIL PROTECTED]> wrote:
I've written an InboundResourceAdapter. When deploying my  
MessageDrivenBean, with the following

descriptor

http://www.openejb.org/xml/ns/openejb-jar";
xmlns:naming="http://geronimo.apache.org/xml/ns/naming";
xmlns:security="http://geronimo.apache.org/xml/ns/security";
xmlns:sys="http://geronimo.apache.org/xml/ns/deployment";
configId="InboundMdb"  parentId="ScortJcaAdapter15">
 

InboundMdb

  ScortJcaAdapter15



portactivation-config-property-name>
value>23072



idactivation-config-property-name>
value>CUSTLIST



  
 


 I encounter the following problem (using geronimo 1.0)   
(BTW, it reminds me of GERONIMO-689)


17:26:08,054 ERROR [GBeanInstanceState] Error while starting;  
GBean is now in the FAILED state:  
objectName="geronimo.server:EJBModule=InboundMdb,J2EEApplication=n 
ull,J2EEServer=geronimo,j2eeType=JCAActivationSpec,name=InboundMdb 
"

java.lang.ClassCastException
at  
com.scort.inbound.jca.socket.impl.SocketActivationSpec$ 
$FastClassByCGLIB$$7d9f9cac.invoke()
at net.sf.cglib.reflect.FastMethod.invoke 
(FastMethod.java:53)
at org.apache.geronimo.gbean.DynamicGBeanDelegate 
$Operation.invoke(DynamicGBeanDelegate.java:181)
at  
org.apache.geronimo.gbean.DynamicGBeanDelegate.setAttribute 
(DynamicGBeanDelegate.java:134)
at  
org.apache.geronimo.connector.ActivationSpecWrapperGBean.setAttrib 
ute(ActivationSpecWrapperGBean.java:68)
at org.apache.geronimo.gbean.runtime.GBeanAttribute 
$DynamicSetterMethodInvoker.invoke(GBeanAttribute.java:430)
at  
org.apache.geronimo.gbean.runtime.GBeanAttribute.setValue 
(GBeanAttribute.java:403)
at  
org.apache.geronimo.gbean.runtime.GBeanAttribute.inject 
(GBeanAttribute.java:334)
at  
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance 
(GBeanInstance.java:925)
at  
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullSt 
art(GBeanInstanceState.java:325)
at  
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start 
(GBeanInstanceState.java:110)
at  
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursiv 
e(GBeanInstanceState.java:132)
at  
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive 
(GBeanInstance.java:537)
at  
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean 
(BasicKernel.java:208)
at  
org.apache.geronimo.kernel.config.Configuration.startRecursiveGBea 
ns(Configuration.java:315)
at org.apache.geronimo.kernel.config.Configuration$ 
$FastClassByCGLIB$$7f4b4a9b.invoke()
at net.sf.cglib.reflect.FastMethod.invoke 
(FastMethod.java:53)
at  
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke 
(FastMethodInvoker.java:38)
at  
org.apache.geronimo.gbean.runtime.G

Re: car

2006-01-19 Thread David Jencks


On Jan 19, 2006, at 12:41 AM, Ken Perl wrote:


From 1.0 all system modules are ended with /car, any special meaning
about this? any new feature is in 1.0 with this name car?


Each configuration is built using the packaging plugin, and the  
resulting car file is put into the local maven repository.  The  
configIds are now the uri corresponding to the location in the maven  
repo. (note that these are NOT the path into the repo, but groupId/ 
artifactId/version/type).


We are planning to build a config-store implementation that uses the  
car files directly from the geronimo repository, eliminating the  
config-store directory and the mysterious numbered directories.   
Then, the configId will correspond to the location in the config  
store/repo.


thanks
david jencks



--
perl -e 'print unpack(u,"62V5N\"FME;G\!E



Re: Classpath issue when activating openwire protocol for ActiveMQ

2006-01-19 Thread David Jencks


On Jan 19, 2006, at 12:05 AM, Martin Goldhahn wrote:

Thanks for your help. I think I got one step further to a solution.  
Now

I am having another problem. The deployer complains that the openwire
jar is not in the repository, but it is. I in the same directoy as the
other activemq jars. In the deployment plan refer to it with

activemq/jars/activemq-openwire-3.2.2.jar
.


The uri here is NOT a path into the repository, instead it is a uri  
rendering of the maven info identifying the artifact.  The uri should be


activemq/activemq-openwire/3.2.2/jar

groupId/artifactId/version/type

hope this helps
david jencks



I thought It might need the other jars as well. so i put in  
dependencies

for the other activemq jars. Stil not working.
Error: Unable to distribute plan.xml:
org.apache.geronimo.kernel.repository.MissingDependencyException:
uri activemq/jars/activemq-core-3.2.1.jar not found in repository

uri activemq/jars/activemq-core-3.2.1.jar not found in
repository

What am I doing wrong here?

Martin


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Aaron Mulder
Sent: Wednesday, January 18, 2006 4:05 PM
To: user@geronimo.apache.org
Subject: Re: Classpath issue when activating openwire
protocol for ActiveMQ

Are you adding the connector via the console?  It may be that
the console is trying to add the connector to the existing
ActiveMQ configuration, which would not work if that does not
have the openwire classes on its configuration class path.
If that's the case, I think you'd have to write a Geronimo
service deployment plan that had the ActiveMQ server as a
parent, the openwire JAR as a dependency, and the openwire
ActiveMQ connector as a GBean.

If you want to try this, you can see some sample ActiveMQ
connector declarations at the bottom of this plan:

https://svn.apache.org/repos/asf/geronimo/tags/1.0.0/configs/a
ctivemq-broker/src/plan/plan.xml

Thanks,
Aaron

On 1/18/06, Martin Goldhahn <[EMAIL PROTECTED]> wrote:

Hi!
I added the JAR file containing the openwire classes to the

repository

(via the console).
But when I try to activate the openwire connector I get a
ClassNotFoundException.
Does anybody know how to fix this problem?

Martin








Re: Re: Re: ActivationSpec problem (ClassCastException)

2006-01-19 Thread johnxmas
Hi Aaron,

a) I tried with just one setter and getter

private int port;
public int getPort()
public void setPortl(int port)  throws InvalidPropertyException  

and the problem persists.

b) If I suppress the property port in all descriptors and force the value in my 
ActivationSpec,
the MDB deploys with no problem.

I m a bit puzzled there. If I can be of any help for investigating deeper, let 
me know

Thanks for your help

Jean-Noel





>I wonder if the problem is due to the multiple setters.  Can you
>temporarily try with an ActivationSpec class with only one int setter
>(assuming the getter and private variable are also ints) and see if
>that solves the problem?  It so, it would suggest that we need to try
>harder to distinguish the proper setter to call in the face of
>overloading like that.  If that doesn't help, maybe we have a problem
>with setting primitives or something?
>
>Thanks,
>Aaron
>
>On 1/18/06, johnxmas <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> id is String
>>
>> As regards port, it's an int. But the ActivationSpec implements three setters
>> (each required due to WebLogic, Jboss, Sun and others implementations of 
>> their application server):
>> - with an int parameter
>> -  with an Integer parameter
>> - with a String parameter
>>
>>
>> Jean-Noël
>>
>>
>>
>>
>> >Hmm...  It looks like we're trying to set the wrong data type on the
>> >properties.  Can you check the data types of the "port" and "id"
>> >properties?
>> >
>> >Thanks,
>> >Aaron
>> >
>> >On 1/17/06, johnxmas <[EMAIL PROTECTED]> wrote:
>> >> I've written an InboundResourceAdapter. When deploying my 
>> >> MessageDrivenBean, with the following
>> >> descriptor
>> >>
>> >> > >> xmlns="http://www.openejb.org/xml/ns/openejb-jar";
>> >> xmlns:naming="http://geronimo.apache.org/xml/ns/naming";
>> >> xmlns:security="http://geronimo.apache.org/xml/ns/security";
>> >> xmlns:sys="http://geronimo.apache.org/xml/ns/deployment";
>> >> configId="InboundMdb"  parentId="ScortJcaAdapter15">
>> >>  
>> >> 
>> >> InboundMdb
>> >> 
>> >>   ScortJcaAdapter15
>> >> 
>> >> 
>> >> 
>> >> 
>> >> port
>> >> 
>> >> 23072
>> >> 
>> >> 
>> >> 
>> >> id
>> >> 
>> >> CUSTLIST
>> >> 
>> >> 
>> >>   
>> >>  
>> >> 
>> >>
>> >>  I encounter the following problem (using geronimo 1.0)  (BTW, it 
>> >> reminds me of GERONIMO-689)
>> >>
>> >> 17:26:08,054 ERROR [GBeanInstanceState] Error while starting; GBean is 
>> >> now in the FAILED state: 
>> >> objectName="geronimo.server:EJBModule=InboundMdb,J2EEApplication=null,J2EEServer=geronimo,j2eeType=JCAActivationSpec,name=InboundMdb"
>> >> java.lang.ClassCastException
>> >> at 
>> >> com.scort.inbound.jca.socket.impl.SocketActivationSpec$$FastClassByCGLIB$$7d9f9cac.invoke()
>> >> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>> >> at 
>> >> org.apache.geronimo.gbean.DynamicGBeanDelegate$Operation.invoke(DynamicGBeanDelegate.java:181)
>> >> at 
>> >> org.apache.geronimo.gbean.DynamicGBeanDelegate.setAttribute(DynamicGBeanDelegate.java:134)
>> >> at 
>> >> org.apache.geronimo.connector.ActivationSpecWrapperGBean.setAttribute(ActivationSpecWrapperGBean.java:68)
>> >> at 
>> >> org.apache.geronimo.gbean.runtime.GBeanAttribute$DynamicSetterMethodInvoker.invoke(GBeanAttribute.java:430)
>> >> at 
>> >> org.apache.geronimo.gbean.runtime.GBeanAttribute.setValue(GBeanAttribute.java:403)
>> >> at 
>> >> org.apache.geronimo.gbean.runtime.GBeanAttribute.inject(GBeanAttribute.java:334)
>> >> at 
>> >> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:925)
>> >> at 
>> >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
>> >> at 
>> >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
>> >> at 
>> >> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
>> >> at 
>> >> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537)
>> >> at 
>> >> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208)
>> >> at 
>> >> org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315)
>> >> at 
>> >> org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.invoke()
>> >> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>> >> at 
>> >> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>> >> at 
>> >> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
>> >> at 
>> >> org.ap

car

2006-01-19 Thread Ken Perl
>From 1.0 all system modules are ended with /car, any special meaning
about this? any new feature is in 1.0 with this name car?

--
perl -e 'print unpack(u,"62V5N\"FME;G\!E

RE: Classpath issue when activating openwire protocol for ActiveMQ

2006-01-19 Thread Martin Goldhahn
Thanks for your help. I think I got one step further to a solution. Now
I am having another problem. The deployer complains that the openwire
jar is not in the repository, but it is. I in the same directoy as the
other activemq jars. In the deployment plan refer to it with 

activemq/jars/activemq-openwire-3.2.2.jar
.

I thought It might need the other jars as well. so i put in dependencies
for the other activemq jars. Stil not working.
Error: Unable to distribute plan.xml:
org.apache.geronimo.kernel.repository.MissingDependencyException:
uri activemq/jars/activemq-core-3.2.1.jar not found in repository

uri activemq/jars/activemq-core-3.2.1.jar not found in
repository

What am I doing wrong here?

Martin

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf Of Aaron Mulder
> Sent: Wednesday, January 18, 2006 4:05 PM
> To: user@geronimo.apache.org
> Subject: Re: Classpath issue when activating openwire 
> protocol for ActiveMQ
> 
> Are you adding the connector via the console?  It may be that 
> the console is trying to add the connector to the existing 
> ActiveMQ configuration, which would not work if that does not 
> have the openwire classes on its configuration class path.  
> If that's the case, I think you'd have to write a Geronimo 
> service deployment plan that had the ActiveMQ server as a 
> parent, the openwire JAR as a dependency, and the openwire 
> ActiveMQ connector as a GBean.
> 
> If you want to try this, you can see some sample ActiveMQ 
> connector declarations at the bottom of this plan:
> 
> https://svn.apache.org/repos/asf/geronimo/tags/1.0.0/configs/a
> ctivemq-broker/src/plan/plan.xml
> 
> Thanks,
> Aaron
> 
> On 1/18/06, Martin Goldhahn <[EMAIL PROTECTED]> wrote:
> > Hi!
> > I added the JAR file containing the openwire classes to the 
> repository 
> > (via the console).
> > But when I try to activate the openwire connector I get a 
> > ClassNotFoundException.
> > Does anybody know how to fix this problem?
> >
> > Martin
> >
> >
>