AW: [jira] Resolved: (SM-1085) Additional geronimo deployment plan support

2007-10-23 Thread Kristian Köhler
Hi Guillaume

looks ok for me. Thanks!

Kristian

 -Ursprüngliche Nachricht-
 Von: Guillaume Nodet (JIRA) [mailto:[EMAIL PROTECTED]
 Gesendet: Sonntag, 21. Oktober 2007 22:42
 An: servicemix-dev@geronimo.apache.org
 Betreff: [jira] Resolved: (SM-1085) Additional geronimo 
 deployment plan
 support
 
 
 
  [ 
 https://issues.apache.org/activemq/browse/SM-1085?page=com.atl
assian.jira.plugin.system.issuetabpanels:all- tabpanel ]
 
 Guillaume Nodet resolved SM-1085.
 -
 
Resolution: Fixed
 Fix Version/s: 3.2
 
 Kristian, given the problems I had, it would be nice if you 
 could check if the commit is ok for you.
 
  Additional geronimo deployment plan support
  ---
 
  Key: SM-1085
  URL: 
 https://issues.apache.org/activemq/browse/SM-1085
  Project: ServiceMix
   Issue Type: New Feature
   Components: geronimo
 Reporter: Kristian Koehler
  Fix For: 3.2
 
  Attachments: another-patch.patch, 
 geronimo-plugin.patch, geronimo-servicemix-deployer-patch.patch
 
 
  Hi
  the attached patch includes an optional geronimo deployment 
 plan for jbi deployment units. with this patch it's possible 
 to deploy servicemix deployment units and specified 
 additional dependencies. For example if you tried to deploy 
 the camel service unit an ClassNotFound exception is thrown 
 because the class org/apache/camel/Component isn't part of 
 the deployment unit. With the patch it's possible to 
 sepcified the neccessary dependency.
  Sample geronimo-jbi.xml:
  sjbi:jbi 
 xmlns:sjbi=http://servicemix.apache.org/xml/ns/jbi-1.0; 
 xmlns:ger=http://geronimo.apache.org/xml/ns/deployment-1.2;
ger:environment
  ger:moduleId
ger:groupIdservicemix-components/ger:groupId
ger:artifactIdservicemix-camel/ger:artifactId
ger:version0.0/ger:version
ger:typecar/ger:type
  /ger:moduleId
  ger:dependencies
ger:dependency
  ger:groupIdorg.apache.camel/ger:groupId
  ger:artifactIdcamel-core/ger:artifactId
  ger:version1.1.0/ger:version
  ger:typejar/ger:type
  ger:importclasses/ger:import
/ger:dependency
  /ger:dependencies
  ger:hidden-classes/
  ger:non-overridable-classes/
/ger:environment
  /sjbi:jbi
  Currently only environment entries are supported.
  Kristian
 
 -- 
 This message is automatically generated by JIRA.
 -
 You can reply to this email to add a comment to the issue online.
 
 


AW: ServiceMix and Geronimo

2007-10-22 Thread Kristian Köhler
Hi

no not yet. Sounds good ;-) I will look into this...

Next steps I want to take are:
* Better configuration of ServiceMix Service within Geronimo
* Better integration of the HTTP transport (currently jetty is started within 
SM)
* and of course add more functionality...

Any help is welcome ;-)

Kristian

 Btw, we should really provide more JEE oriented features in ServiceMix
 / Geronimo to our users.
 Kinda what Open ESB JEE SE provides for glassfish
 (http://download.java.net/general/open-esb/docs/jbi-components
 /jee-se.html).
We already have a JAX-WS JBI transport in CXF, so I'm sure we could
 find a way to use it from EJB to access JBI for example...  Have you
 already thought about such things ?
 
 
 On 10/20/07, Kristian Köhler [EMAIL PROTECTED] wrote:
  Hi all
 
  yesterday I finally realeased the first version of my
  ServiveMix/Geronimo distribution. You can find it here:
 
  http://gaswerk.sourceforge.net
 
  and it's called GASwerk SOA Stack
 
  Kristian
 


AW: Possible Solution to a camel serviceengine problem or only a bad workaround??

2007-10-19 Thread Kristian Köhler
please also see:
https://issues.apache.org/activemq/browse/SM-

this is the summary ;-)

 -Ursprüngliche Nachricht-
 Von: Guillaume Nodet [mailto:[EMAIL PROTECTED]
 Gesendet: Donnerstag, 18. Oktober 2007 13:19
 An: [EMAIL PROTECTED]
 Betreff: Re: Possible Solution to a camel serviceengine 
 problem or only
 a bad workaround??
 
 
 On 10/18/07, Kristian Köhler [EMAIL PROTECTED] wrote:
  Hi
 
   Anyway, I think you're on the right track.  There's no 
 reason why the
   camel SE would set the jbi.operation property when going 
 from jbi to
   camel, but not use it when going from camel to jbi.  In 
 addition, we
   could make the operation also configurable on the endpoint (to be
   consistent with the mep), so I think we need to add:
   jbi:endpoint:?operation=
 
  Good to hear that I'm not totaly wrong ;-)
  I will also add the second option to the patch and raise a 
 jira issue.
 
   Also, I can't recall if camel provides a way to change 
 the mep easily:
   I know it is a loosely defined notion in camel, but still, there
   should be an accessor in the DSL I suppose.
 
 I also meant that if there is not, it should be added :-)
 
 
  I'm searching...
 
  Kristian
 
 
 
 
 -- 
 Cheers,
 Guillaume Nodet
 
 Blog: http://gnodet.blogspot.com/
 


Possible Solution to a camel serviceengine problem or only a bad workaround??

2007-10-18 Thread Kristian Köhler
Hi all

I found a solution for my problem regarding the routing problem yesterday 
(http://www.nabble.com/How-to-route-a-MessageExchange-using-camel-to-ode-tf4641042s12049.html#a13255218).
 I wasn't able to route a message coming over HTTP Binding through camel to ODE 
service engine. I specified a routing rule like this:

--- 8 ---

String fromUri = 
jbi:endpoint:http://gaswerk.sourceforge.net/soa-stack/enpoint;;
String toUri = 
jbi:endpoint:http://gaswerk.sourceforge.net/soa-stack/sample/bpel/SampleBPELProcess/SampleBPELProcessPort?mep=in-out;;

from(fromUri).to(toUri);

--- 8 ---

This results in the following error in the ODE service engine: Operation not
found. If I route the message directly from HTTP binding to the ODE service
engine everything works fine.

I haven't found a syntax for specifying a operation for an endpoint within the
routing expression shown above. (Makes this sense at all??)

After some investigation I found in the camel service engine (JbiExchange.java)
a property jbi.operation which is set for the camel exchange (line 151) but I
couldn't figure out where it is used. 

I'm absolutly not sure about my next step. ;-) 

In the JbiBinding a new JBI Message Exchange is created to route the message
back to the NMR (createJbiMessageExchange). I added some lines to set the
operation on the resulting MessageExchange (see attached patch). 

Now my sample works fine but as mentioned before I'm not sure if this is
correct. Does this makes sense??? Is it a bug or a bad workaround for my
problem?? 

The question to me is: Is it correct to 'loose' the information about the
operation?? Do I have to add this information within my routing rule reading the
property (how?)?

Thanks!

Kristian

-- 
Kristian Köhler
software architect
dmc digital media center GmbH
Rommelstraße 11
70376 Stuttgart (Germany)
Telefon: +49 711 601747-434
Telefax: +49 711 601747-141
Internet: www.dmc.de

Handelsregister: AG Stuttgart HRB 18974
Geschäftsführer: Andreas Magg, Daniel Rebhorn, Andreas Schwend

-

Bessere Gespräche, besseres E-Business.

Willkommen auf dem Deutschen Versandhandelskongress 2007.
Besuchen Sie uns in der dmc Lounge im Foyer 1. Stock. 

Wir sehen uns. Mehr Infos: www.dmc.de/lounge


AW: Possible Solution to a camel serviceengine problem or only a bad workaround??

2007-10-18 Thread Kristian Köhler

 I also meant that if there is not, it should be added :-)

Ok... ;-)


How to register a Datasource in GlobalJNDI Namespace?

2007-09-26 Thread Kristian Köhler
Hi

i use a custom deployment mechanism to install my application into Geronimo 
2.0.1. I have no special deployment plan for that kind of application. One 
component out of my application wants to access the DataSource registered 
within Geronimo Application server. The component tries to lookup the db via a 
JNDI lookup call.

My idea is to register the DB within the Global JNDI Namespace and that access 
it from within my application. I configured the pool via deployment plan and 
registered a GBeanBinding GBean for the registration in the Global Namespace.

My problem is: What's the name of the DBPool to access/ to link to with the 
GBeanBinding? Is this a passable way to do this?

Here is the plan:

- 8 -

connector 
xmlns=http://geronimo.apache.org/xml/ns/j2ee/connector-${geronimoSchemaVersion};

resourceadapter
outbound-resourceadapter
connection-definition

connectionfactory-interfacejavax.sql.DataSource/connectionfactory-interface
connectiondefinition-instance
 nameDatasource/name
  ...
/connectiondefinition-instance
/connection-definition
/outbound-resourceadapter
/resourceadapter

gbean name=MyDatabaseBinding 
class=org.apache.geronimo.gjndi.binding.GBeanBinding
attribute name=nameDatabase/attribute
attribute name=abstractNameQuery?name=Datasource/attribute
reference name=Context
nameJavaContext/name
/reference
/gbean

- 8 -


Thanks!

Kristian


AW: How to register a Datasource in GlobalJNDI Namespace?

2007-09-26 Thread Kristian Köhler
sorry wrong list... ;-)

 -Ursprüngliche Nachricht-
 Von: Kristian Köhler [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 26. September 2007 12:21
 An: Geronmio-Dev (E-Mail)
 Betreff: How to register a Datasource in GlobalJNDI Namespace?
 
 
 Hi
 
 i use a custom deployment mechanism to install my application 
 into Geronimo 2.0.1. I have no special deployment plan for 
 that kind of application. One component out of my application 
 wants to access the DataSource registered within Geronimo 
 Application server. The component tries to lookup the db via 
 a JNDI lookup call.
 
 My idea is to register the DB within the Global JNDI 
 Namespace and that access it from within my application. I 
 configured the pool via deployment plan and registered a 
 GBeanBinding GBean for the registration in the Global Namespace.
 
 My problem is: What's the name of the DBPool to access/ to 
 link to with the GBeanBinding? Is this a passable way to do this?
 
 Here is the plan:
 
 - 8 -
 
 connector 
 xmlns=http://geronimo.apache.org/xml/ns/j2ee/connector-${gero
 nimoSchemaVersion}
 
 resourceadapter
 outbound-resourceadapter
 connection-definition
 
 connectionfactory-interfacejavax.sql.DataSource/connectionf
 actory-interface
 connectiondefinition-instance
  nameDatasource/name
   ...
 /connectiondefinition-instance
 /connection-definition
 /outbound-resourceadapter
 /resourceadapter
 
 gbean name=MyDatabaseBinding 
 class=org.apache.geronimo.gjndi.binding.GBeanBinding
 attribute name=nameDatabase/attribute
 attribute 
 name=abstractNameQuery?name=Datasource/attribute
 reference name=Context
 nameJavaContext/name
 /reference
 /gbean
 
 - 8 -
 
 
 Thanks!
 
 Kristian
 


[patch] Content Enricher for ServiceMix

2006-11-21 Thread Kristian Köhler

Hi

some days ago I asked for an implementation of the Content-Enricher 
pattern on the ServiceMix user list. 
(http://www.enterpriseintegrationpatterns.com/DataEnricher.html). But I 
never received any reply to that mail. So I started to implement that 
pattern and attached the first version as patch file to this mail.


Hopefully someone could look inside and give me feedback if such an 
implementation is interesting for ServiceMix. ;-)


Kristian
Index: 
D:/work/UrlaubsIntegration/servicemix-eip/src/test/java/org/apache/servicemix/eip/ContentEnricherTest.java
===
--- 
D:/work/UrlaubsIntegration/servicemix-eip/src/test/java/org/apache/servicemix/eip/ContentEnricherTest.java
  (revision 0)
+++ 
D:/work/UrlaubsIntegration/servicemix-eip/src/test/java/org/apache/servicemix/eip/ContentEnricherTest.java
  (revision 0)
@@ -0,0 +1,75 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the License); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.eip;
+
+import javax.jbi.messaging.ExchangeStatus;
+import javax.jbi.messaging.InOnly;
+import javax.jbi.messaging.NormalizedMessage;
+import javax.xml.namespace.QName;
+import javax.xml.transform.dom.DOMSource;
+
+import org.apache.servicemix.eip.patterns.ContentEnricher;
+import org.apache.servicemix.jbi.util.DOMUtil;
+import org.apache.servicemix.tck.ReceiverComponent;
+
+public class ContentEnricherTest extends AbstractEIPTest {
+   
+protected ContentEnricher enricher;
+
+protected void setUp() throws Exception {
+super.setUp();
+
+enricher = new ContentEnricher();
+enricher.setEnricherTarget(
+   createServiceExchangeTarget(new 
QName(enricherTarget)));
+enricher.setTarget(
+   createServiceExchangeTarget(new QName(target)));
+
+configurePattern(enricher);
+activateComponent(enricher, enricher);
+}
+
+public void testInOnly() throws Exception {
+
+   activateComponent(new ReturnMockComponent(halloMock/), 
+   enricherTarget);
+
+   ReceiverComponent rec = activateReceiver(target);
+   
+InOnly me = client.createInOnlyExchange();
+
+me.setService(new QName(enricher));
+me.getInMessage().setContent(createSource(hello/));
+client.sendSync(me);
+
+assertEquals(ExchangeStatus.DONE, me.getStatus());
+
+assertEquals(1, rec.getMessageList().getMessageCount());
+
+NormalizedMessage object = 
+   (NormalizedMessage) rec.getMessageList().getMessages().get(0);
+
+DOMSource domSource = (DOMSource) object.getContent();
+
+assertEquals(?xml version=\1.0\ encoding=\UTF-8\? +
+   enricherrequesthello//requestresult +
+   halloMock//result/enricher, 
+   DOMUtil.asXML(domSource.getNode()));
+
+}
+
+}
Index: 
D:/work/UrlaubsIntegration/servicemix-eip/src/main/java/org/apache/servicemix/eip/patterns/ContentEnricher.java
===
--- 
D:/work/UrlaubsIntegration/servicemix-eip/src/main/java/org/apache/servicemix/eip/patterns/ContentEnricher.java
 (revision 0)
+++ 
D:/work/UrlaubsIntegration/servicemix-eip/src/main/java/org/apache/servicemix/eip/patterns/ContentEnricher.java
 (revision 0)
@@ -0,0 +1,154 @@
+package org.apache.servicemix.eip.patterns;
+
+import javax.jbi.messaging.ExchangeStatus;
+import javax.jbi.messaging.InOut;
+import javax.jbi.messaging.MessageExchange;
+import javax.jbi.messaging.NormalizedMessage;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.transform.Source;
+import javax.xml.transform.dom.DOMSource;
+
+import org.apache.servicemix.eip.EIPEndpoint;
+import org.apache.servicemix.eip.support.ExchangeTarget;
+import org.apache.servicemix.jbi.jaxp.SourceTransformer;
+import org.apache.servicemix.jbi.util.MessageUtil;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+
+/**
+ * Implementation of the 
+ * a 

Re: [patch] Content Enricher for ServiceMix

2006-11-21 Thread Kristian Köhler

Hi Guillaume

I adopted your points and raised an issue:
https://issues.apache.org/activemq/browse/SM-752

Thanks

Kristian

Guillaume Nodet wrote:

Sounds like a good start :)
A few points:
 * it would be better imho to have three QName properties
  for the tags enricher, request, result.
 * when receiving an exchange, a test that the pattern is an
   InOut would allow reporting errors correctly (see other EIP 
patterns)


Could you please raise a JIRA and attach the modified code (if you
want to adapt it) ?

On 11/21/06, Kristian Köhler [EMAIL PROTECTED] wrote:

Hi

some days ago I asked for an implementation of the Content-Enricher
pattern on the ServiceMix user list.
(http://www.enterpriseintegrationpatterns.com/DataEnricher.html). But I
never received any reply to that mail. So I started to implement that
pattern and attached the first version as patch file to this mail.

Hopefully someone could look inside and give me feedback if such an
implementation is interesting for ServiceMix. ;-)

Kristian


Index: 
D:/work/UrlaubsIntegration/servicemix-eip/src/test/java/org/apache/servicemix/eip/ContentEnricherTest.java 


===
--- 
D:/work/UrlaubsIntegration/servicemix-eip/src/test/java/org/apache/servicemix/eip/ContentEnricherTest.java  
(revision 0)
+++ 
D:/work/UrlaubsIntegration/servicemix-eip/src/test/java/org/apache/servicemix/eip/ContentEnricherTest.java  
(revision 0)

@@ -0,0 +1,75 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, 
Version 2.0

+ * (the License); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.

+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.eip;
+
+import javax.jbi.messaging.ExchangeStatus;
+import javax.jbi.messaging.InOnly;
+import javax.jbi.messaging.NormalizedMessage;
+import javax.xml.namespace.QName;
+import javax.xml.transform.dom.DOMSource;
+
+import org.apache.servicemix.eip.patterns.ContentEnricher;
+import org.apache.servicemix.jbi.util.DOMUtil;
+import org.apache.servicemix.tck.ReceiverComponent;
+
+public class ContentEnricherTest extends AbstractEIPTest {
+
+protected ContentEnricher enricher;
+
+protected void setUp() throws Exception {
+super.setUp();
+
+enricher = new ContentEnricher();
+enricher.setEnricherTarget(
+   createServiceExchangeTarget(new 
QName(enricherTarget)));

+enricher.setTarget(
+   createServiceExchangeTarget(new 
QName(target)));

+
+configurePattern(enricher);
+activateComponent(enricher, enricher);
+}
+
+public void testInOnly() throws Exception {
+
+   activateComponent(new ReturnMockComponent(halloMock/),
+   enricherTarget);
+
+   ReceiverComponent rec = activateReceiver(target);
+
+InOnly me = client.createInOnlyExchange();
+
+me.setService(new QName(enricher));
+me.getInMessage().setContent(createSource(hello/));
+client.sendSync(me);
+
+assertEquals(ExchangeStatus.DONE, me.getStatus());
+
+assertEquals(1, rec.getMessageList().getMessageCount());
+
+NormalizedMessage object =
+   (NormalizedMessage) 
rec.getMessageList().getMessages().get(0);

+
+DOMSource domSource = (DOMSource) object.getContent();
+
+assertEquals(?xml version=\1.0\ encoding=\UTF-8\? +
+   enricherrequesthello//requestresult +
+   halloMock//result/enricher,
+   DOMUtil.asXML(domSource.getNode()));
+
+}
+
+}
Index: 
D:/work/UrlaubsIntegration/servicemix-eip/src/main/java/org/apache/servicemix/eip/patterns/ContentEnricher.java 


===
--- 
D:/work/UrlaubsIntegration/servicemix-eip/src/main/java/org/apache/servicemix/eip/patterns/ContentEnricher.java 
(revision 0)
+++ 
D:/work/UrlaubsIntegration/servicemix-eip/src/main/java/org/apache/servicemix/eip/patterns/ContentEnricher.java 
(revision 0)

@@ -0,0 +1,154 @@
+package org.apache.servicemix.eip.patterns;
+
+import javax.jbi.messaging.ExchangeStatus;
+import javax.jbi.messaging.InOut;
+import javax.jbi.messaging.MessageExchange;
+import javax.jbi.messaging.NormalizedMessage;
+import javax.xml.parsers.ParserConfigurationException;
+import

Re: [jira] Resolved: (GERONIMO-2022) New printed Book available - patch for documentation page attached

2006-05-15 Thread Kristian Köhler
Thanks Hernan!

Kristian

Hernan Cunico (JIRA) wrote:
  [ http://issues.apache.org/jira/browse/GERONIMO-2022?page=all ]
  
 Hernan Cunico resolved GERONIMO-2022:
 -
 
 Fix Version: 1.0
  Resolution: Fixed
 
 Web site updated
 
 
New printed Book available - patch for documentation page attached
--

 Key: GERONIMO-2022
 URL: http://issues.apache.org/jira/browse/GERONIMO-2022
 Project: Geronimo
Type: Improvement
Security: public(Regular issues) 
  Components: website
Versions: 1.0
Reporter: Kristian Koehler
Assignee: Hernan Cunico
 Fix For: 1.0
 Attachments: book.patch

Hi
we wrote a Geronimo book which is now available. Could someone please add a 
link to the documentation page. ;-)
Patch attached
Kristian
 
 


Re: [VOTE] geronimo-1.0 (3rd try)

2005-12-16 Thread Kristian Köhler
Hi

just downloaded the new binaries, extract them and start the server.
(geronimo-jetty-j2ee-1.0.tar.gz)

The server starts up successfully but when I try to log in to the web
console an empty page is shown. (tried under Windows and Linux).

(http://localhost:8080/console/login.jsp - ok)
(http://localhost:8080/console/portal/welcome - empty)

The day trader application is working but have some wrong html-links in it.

I'm not sure if it's my fault but if someone else seeing this problem
here is my non binding -1. ;-)

Kristian

David Blevins wrote:
 Alright, I repacked the binaries that Jeff created to workaround the 
 gbean startup issue.  I have the tck running on them now.
 
 Here are the binaries for review. Please be sure you delete the old 
 ones from your system before downloading the new ones.
 
 http://people.apache.org/~dblevins/geronimo-1.0-proposed-final-3/
 
 These versions of these programs where used to create the binaries:
 
   - tar (GNU tar) 1.15.1
   - Zip 2.3 (November 29th 1999)
   - OpenSSL 0.9.7f 22 Mar 2005
   - gpg (GnuPG) 1.4.1
 
 
 [ ] +1 Release these binaries provided they pass the J2EE TCK
 [ ] -1 Veto the release (provide specific comments)
 
 Let's get this thing out the door!
 
 -David
 
 


Re: [VOTE] geronimo-1.0 (3rd try)

2005-12-16 Thread Kristian Köhler
Hi

I checked out the HEAD revision and build the server from scratch. After
starting the server everything works for me (I can access the console
application).

So think this is a problem with the proposed final version.

Kristian

Kristian Köhler wrote:
 Hi
 
 just downloaded the new binaries, extract them and start the server.
 (geronimo-jetty-j2ee-1.0.tar.gz)
 
 The server starts up successfully but when I try to log in to the web
 console an empty page is shown. (tried under Windows and Linux).
 
 (http://localhost:8080/console/login.jsp - ok)
 (http://localhost:8080/console/portal/welcome - empty)
 
 The day trader application is working but have some wrong html-links in it.
 
 I'm not sure if it's my fault but if someone else seeing this problem
 here is my non binding -1. ;-)
 
 Kristian
 
 David Blevins wrote:
 Alright, I repacked the binaries that Jeff created to workaround the 
 gbean startup issue.  I have the tck running on them now.

 Here are the binaries for review. Please be sure you delete the old 
 ones from your system before downloading the new ones.

 http://people.apache.org/~dblevins/geronimo-1.0-proposed-final-3/

 These versions of these programs where used to create the binaries:

   - tar (GNU tar) 1.15.1
   - Zip 2.3 (November 29th 1999)
   - OpenSSL 0.9.7f 22 Mar 2005
   - gpg (GnuPG) 1.4.1


 [ ] +1 Release these binaries provided they pass the J2EE TCK
 [ ] -1 Veto the release (provide specific comments)

 Let's get this thing out the door!

 -David


 
 


Re: Compilation Problems.

2005-06-20 Thread Kristian Köhler

Hi

you can find the file at:
http://cvs.apache.org/repository/cglib/jars/

After downloading you should copy it to your maven repository
$HOME/.maven/repository/cglib/jars/


Hope this helps

Kristian

Sanjay Dwivedi wrote:

Hi all,

I am newbie to geronimo and am building geronimo from source. I get
error while compiling in spec/j2ee-deployment: unable to download
cglib-nodep-HEAD-06-06-05.jar, please try downloading from
http://cglib.sf.net. I downloaded the required jar, but don't know
where to put it, the error message doesn't tell you? Also the latest
jar file is: cglib-nodep-2.1_1.jar, there is no
cglib-nodep-HEAD-06-06-05.jar.

I already tried renaming the cglib-nodep-2.1_1.jar to
cglib-nodep-HEAD-06-06-05.jar and putting in
spec/j2ee-deployment/target directory and
$HOME/.maven/repository/geronimo/spec/j2ee-deplyment.. etc.

This didn't solve the problem.

Any help is appreciated.

Thanks,


Re: svn commit: r169154 [1/6] - in /geronimo/trunk: applications/jmxdebug/src/java/org/apache/geronimo/jmxdebug/web/beanlib/ applications/jmxdebug/src/webapp/WEB-INF/ assemblies/j2ee-server/ etc/ modules/assembly/ modules/assembly/src/plan/ modules/axis-builder/ modules/axis/ modules/classloader-server/ modules/classloader-server/src/test/org/apache/geronimo/classloaderserver/http/ modules/client-builder/ modules/client-builder/src/java/org/apache/geronimo/client/builder/ modules/client-builder/src/test/org/apache/geronimo/client/builder/ modules/client/ modules/connector-builder/ modules/connector-builder/src/java/org/apache/geronimo/connector/deployment/ modules/connector-builder/src/test/org/apache/geronimo/connector/deployment/ modules/connector/ modules/connector/src/java/org/apache/geronimo/connector/ modules/connector/src/java/org/apache/geronimo/connector/outbound/ modules/connector/src/test/org/apache/geronimo/connector/ modules/connector/src/test/org/apache/geronimo/connector/outbound/ modules/deploy-tool/src/java/org/apache/geronimo/deployment/ modules/deploy-tool/src/java/org/apache/geronimo/deployment/plugin/jmx/ modules/deploy-tool/src/java/org/apache/geronimo/deployment/plugin/local/ modules/deployment/ modules/deployment/src/java/org/apache/geronimo/deployment/ modules/deployment/src/java/org/apache/geronimo/deployment/util/ modules/interop/ modules/interop/src/test/org/apache/geronimo/interop/ modules/j2ee-builder/ modules/j2ee-builder/src/java/org/apache/geronimo/j2ee/deployment/ modules/j2ee-builder/src/test/org/apache/geronimo/j2ee/deployment/ modules/j2ee/ modules/j2ee/src/java/org/apache/geronimo/j2ee/management/impl/ modules/j2ee/src/test/org/apache/geronimo/j2ee/management/ modules/jetty-builder/ modules/jetty-builder/src/java/org/apache/geronimo/jetty/deployment/ modules/jetty-builder/src/test/org/apache/geronimo/jetty/deployment/ modules/jetty/ modules/jetty/src/test/org/apache/geronimo/jetty/ modules/jmx-remoting/src/java/org/apache/geronimo/jmxremoting/ modules/kernel/ modules/kernel/src/java/org/apache/geronimo/gbean/jmx/ modules/kernel/src/java/org/apache/geronimo/gbean/runtime/ modules/kernel/src/java/org/apache/geronimo/kernel/ modules/kernel/src/java/org/apache/geronimo/kernel/basic/ modules/kernel/src/java/org/apache/geronimo/kernel/config/ modules/kernel/src/java/org/apache/geronimo/kernel/jmx/ modules/kernel/src/java/org/apache/geronimo/kernel/lifecycle/ modules/kernel/src/java/org/apache/geronimo/kernel/proxy/ modules/kernel/src/java/org/apache/geronimo/kernel/registry/ modules/kernel/src/test/org/apache/geronimo/gbean/ modules/kernel/src/test/org/apache/geronimo/gbean/runtime/ modules/kernel/src/test/org/apache/geronimo/kernel/ modules/mail/ modules/mail/src/java/org/apache/geronimo/mail/ modules/mail/src/test/org/apache/geronimo/mail/ modules/naming/src/java/org/apache/geronimo/naming/reference/ modules/naming/src/test/org/apache/geronimo/naming/java/ modules/security/ modules/security/src/java/org/apache/geronimo/security/jaas/ modules/security/src/java/org/apache/geronimo/security/realm/ modules/security/src/java/org/apache/geronimo/security/realm/providers/ modules/security/src/test/org/apache/geronimo/security/ modules/security/src/test/org/apache/geronimo/security/jaas/ modules/security/src/test/org/apache/geronimo/security/remoting/jmx/ modules/service-builder/ modules/service-builder/src/java/org/apache/geronimo/deployment/service/ modules/spring-builder/ modules/spring-builder/src/java/org/apache/geronimo/spring/deployment/ modules/spring/ modules/spring/src/java/org/apache/geronimo/spring/ modules/system/ modules/system/src/java/org/apache/geronimo/system/configuration/ modules/system/src/java/org/apache/geronimo/system/jmx/ modules/system/src/java/org/apache/geronimo/system/main/ modules/system/src/test/org/apache/geronimo/system/configuration/ modules/test-ddbean/src/java/org/apache/geronimo/deployment/tools/ modules/tomcat-builder/ modules/tomcat-builder/src/java/org/apache/geronimo/tomcat/deployment/ modules/tomcat-builder/src/test/org/apache/geronimo/tomcat/deployment/ modules/tomcat/ modules/tomcat/src/plan/ modules/tomcat/src/test/org/apache/geronimo/tomcat/ modules/webservices/ plugins/geronimo-packaging-plugin/ plugins/geronimo-packaging-plugin/src/java/org/apache/geronimo/plugin/packaging/ plugins/maven-geronimo-plugin/ plugins/maven-geronimo-plugin/src/java/org/apache/geronimo/deployment/mavenplugin/

2005-05-09 Thread Kristian Köhler
Hi
maven reports:
...
WARNING: Failed to download cglib-nodep-2.0.2.jar.
...
Any hints?
Kristian
 dependency
 groupIdcglib/groupId
-artifactIdcglib-full/artifactId
+artifactIdcglib-nodep/artifactId
 version${cglib_version}/version
 urlhttp://cglib.sf.net//url
 properties
@@ -1180,7 +1189,7 @@
 /dependency


Presentation at ApacheCon 2004

2004-12-06 Thread Kristian Köhler
Hi
the ApacheCon 2003 presentation is available as PDF online over the 
wiki. Are the slides from ApacheCon 2004 also available somewhere online?

Thanks
   Kristian


Re: unsubscribe dev@geronimo.apache.org

2004-10-11 Thread Kristian Köhler
to unsubscribe send a mail to:

[EMAIL PROTECTED]

 
 unsubscribe [EMAIL PROTECTED]
 

-- 
GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
+++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++



Re: unsubscribe dev@genronimo.apache.org

2004-10-10 Thread Kristian Köhler
try this one
[EMAIL PROTECTED]
Vaughn Bullard wrote:
unsubscribe [EMAIL PROTECTED]




Re: contextPriorityClassLoader

2004-10-07 Thread Kristian Köhler
Hi
BTW, I find the name contextPriorityClassLoader a bit non-intuitive, 
what do other app servers call this (specifically weblogic and 
webshpere).

I'm still interested in this if anyone has the info...
The admin console talks about WAR Classloader Policy (Module, 
Application) and Classloader Mode (PARENT_FIRST,PARENT_LAST).

There is a ClassLoaderViewer available for websphere. The following 
article shows the websphere ClassLoader Delegation Hierarchy:

http://www-106.ibm.com/developerworks/websphere/library/techarticles/0312_cocasse/0312_cocasse.html
Hope this helps.
Kristian


Re: [status] Windows 2000 - Build for project incubator-geronimo Build Failed

2004-10-01 Thread Kristian Köhler
please ignore this message. build successful
[EMAIL PROTECTED] wrote:
BUILD FAILED
Ant Error Message: BUILD FAILED detected
Date of build: 01.10.2004
Time to build: 
Last changed: 30.09.2004
Last log entry: Added explicit clientConfigId and clientParentId

build:start


Re: Unable to build Geronimo

2004-09-29 Thread Kristian Köhler
Hi
you could try to run maven with -Dmaven.test.failure.ignore
BTW I think the build is still broken. So this will not fix your 
building issue.

Kristian
Jayakumar Thanakodi wrote:
Hi,
I have svn'ed the latest source from 
http://svn.apache.org/repos/asf/geronimo/trunk geronimo

then I did a svn update followed by maven build
build fails with test errors
test:test:
   [junit] Running 
org.apache.geronimo.system.configuration.LocalConfigStoreTest
   [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.671 sec
   [junit] Running 
org.apache.geronimo.system.properties.NamingPropertiesTest
   [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.25 sec
   [junit] Running org.apache.geronimo.system.url.file.FileProtocolTest
   [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.191 sec
   [junit] Running org.apache.geronimo.system.url.GeronimoURLFactoryTest
   [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 0.13 sec
   [junit] [ERROR] TEST 
org.apache.geronimo.system.url.GeronimoURLFactoryTest FAILED
   [junit] Running 
org.apache.geronimo.system.url.resource.ResourceProtocolTest
   [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.121 sec

BUILD FAILED
File.. e:\source\geronimo\maven.xml
Element... maven:reactor
Line.. 238
Column 27
Unable to obtain goal [default] -- C:\Documents and 
Settings\Administrator\.maven\cache\maven-test-plugin-1.6.
2\plugin.jelly:181:54: fail There were test failures.
Total time: 33 seconds
Finished at: Wed Sep 29 13:49:14 SGT 2004

Can anyone tell me how to get around this problem?
regards
Jayakumar


Re: Unsubription broken?

2004-09-28 Thread Kristian Köhler
Hi
please try this one:
[EMAIL PROTECTED]
Kristian
Heiko Braun wrote:
Hi all,
i tried unsubribing several times, but it doesnt seem to work.
([EMAIL PROTECTED])
Any clues what i might be doing wrong?
Tnx in advance, Heiko




Re: [jira] Created: (GERONIMO-304) Nightly build/test on Windows

2004-09-23 Thread Kristian Köhler
Hi David
David Blevins wrote:
If you are interested in moving us that direction, I can send you the
existing scripts/stylesheets.
-David
If you send me the files I will have a look at them and will try to 
rebuild the sripts via cruisecontrol/maven.

Kristian


Problem building from subversion

2004-09-17 Thread Kristian Köhler
Hi
after refreshing from scm and running rebuild i get an error (attached). 
  Am I alone? ;-)

Kristian
-- 8 ---
[echo] Deploying Apache Tomcat configuration
[java] org.apache.geronimo.deployment.DeploymentException: Unable 
to create GBean from class org.apache.geronimo.tomcat.TomcatGBean
[java]  at 
org.apache.geronimo.deployment.service.GBeanBuilder.init(GBeanBuilder.java:49)
[java]  at 
org.apache.geronimo.deployment.service.GBeanHelper.addGbean(GBeanHelper.java:31)
[java]  at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:134)
[java]  at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:96)
[java]  at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:82)
[java]  at 
org.apache.geronimo.deployment.service.ServiceConfigBuilder$$FastClassByCGLIB$$9f173be6.invoke(generated)
[java]  at 
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
[java]  at 
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
[java]  at 
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:142)
[java]  at 
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:744)
[java]  at 
org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.java:89)
[java]  at 
org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(RawOperationInvoker.java:34)
[java]  at 
org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.intercept(CGLibMethodInterceptor.java:112)
[java]  at 
org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$7a1ca0ae.buildConfiguration(generated)
[java]  at 
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:198)
[java]  at 
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(generated)
[java]  at 
net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)
[java]  at 
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
[java]  at 
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBeanMBeanOperation.java:142)
[java]  at 
org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.java:765)
[java]  at 
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:218)
[java]  at 
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
[java]  at 
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:86)
[java]  at 
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
[java]  at 
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:121)
[java]  at 
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:205)
[java]  at 
mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079)
[java]  at 
org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:231)
[java]  at 
org.apache.geronimo.system.main.CommandLine.main(CommandLine.java:93)
[java] Caused by: 
org.apache.geronimo.gbean.InvalidConfigurationException: Could not load 
class org.apache.geronimo.tomcat.TomcatGBean
[java]  at 
org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(GBeanInfo.java:49)
[java]  at 
org.apache.geronimo.gbean.jmx.GBeanMBean.init(GBeanMBean.java:386)
[java]  at 
org.apache.geronimo.deployment.service.GBeanBuilder.init(GBeanBuilder.java:47)
[java]  ... 28 more
[java] Caused by: java.lang.ClassNotFoundException: 
org.apache.geronimo.tomcat.TomcatGBean
[java]  at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
[java]  at java.security.AccessController.doPrivileged(Native 
Method)
[java]  at 
java.net.URLClassLoader.findClass(URLClassLoader.java:187)
[java]  at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
[java]  at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
[java]  at 
org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(GBeanInfo.java:47)
[java]  ... 30 more

BUILD FAILED
File.. d:\work\geronimo\geronimo\maven.xml
Element... maven:reactor
Line.. 238
Column 27
Unable to obtain goal [default] -- 
d:\work\geronimo\geronimo\modules\tomcat\maven.xml:86:34: java Java 
returned: 2
Total time: 9 minutes 2 seconds
Finished at: Fri Sep 17 10:31:29 CEST 2004



Parsing Error in project.xml

2004-09-02 Thread Kristian Köhler
Hi
after updating the project i get the following error (same with new 
checkout):

org.apache.maven.MavenException: Error parsing project.xml 
'D:\work\jakarta\geronimo\incubator-geronimo\etc\project.xml'
at 
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:208)
at 
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:232)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
at 
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:235)
at org.apache.maven.MavenSession.initialize(MavenSession.java:175)
at org.apache.maven.cli.App.doMain(App.java:473)
at org.apache.maven.cli.App.main(App.java:1215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)

Any ideas?
Kristian


Re: [status] Windows 2000 - Build for project incubator-geronimo build.55 Build Successful

2004-09-02 Thread Kristian Köhler
Wrong information because maven couldn't build and cruisecontrol 
couldn't parse the result file correctly. (no build failed message 
after build).

Same error as reported before.
org.apache.maven.MavenException: Error parsing project.xml
Kristian
[EMAIL PROTECTED] wrote:
Build successful. The build results are only sent in case of build failures.
Build at: 02.09.2004
OperatingSystem : Windows 2000
Java Version: Sun JDK 1.4.2-b28, mixed mode
Maven Version   : v. 1.0



Re: Parsing Error in project.xml

2004-09-02 Thread Kristian Köhler
Hi Jacek
It's only a guess, but I think it's associated with the recent changes 
(that I couldn't resist to praise :)). They externalized dependencies' 
version numbers from project.xml files to another file, and introduced 
entity refs in their place.
When I modify the entity reference to a absolut one
(!DOCTYPE project SYSTEM 
file:///d:/work/jakarta/geronimo/incubator-geronimo/etc/version-info.ent)

maven build runs a step further.
BUILD FAILED
File.. d:\work\jakarta\geronimo\incubator-geronimo\maven.xml
Element... maven:reactor
Line.. 181
Column 27
Error parsing project.xml 
'd:\work\jakarta\geronimo\incubator-geronimo\applications\demo\project.xml'

Kristian
ps: maven1.0, jdk 1.4.2_05, windows2000


Re: [Spam] Re: Parsing Error in project.xml -- fixed

2004-09-02 Thread Kristian Köhler
works for me too.
Thanks David, Dain
Kristian
Alan Cabrera wrote:
Works for me.

-Original Message-
From: David Blevins [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 02, 2004 2:42 PM
To: [EMAIL PROTECTED]
Subject: [Spam] Re: Parsing Error in project.xml -- fixed
On Thu, Sep 02, 2004 at 09:20:15AM +0200, Kristian Köhler wrote:
Hi
after updating the project i get the following error (same with new
checkout):
org.apache.maven.MavenException: Error parsing project.xml
'D:\work\jakarta\geronimo\incubator-geronimo\etc\project.xml'
This issue has been fixed and is checked in.
Do an update and give it a shot.
-David


-
Visit our Internet site at http://www.reuters.com
Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging
Any views expressed in this message are those of  the  individual
sender,  except  where  the sender specifically states them to be
the views of Reuters Ltd.




Implementing the MBeanRegistration interface with GBean

2004-09-01 Thread Kristian Köhler
Hi
I wrote a GBean which wrapps an other old MBean. The old MBean 
implements the MBeanRegistration interface.

I tried to implement the MBeanRegistration interface myself and delegate 
the calls to the MBean but the callback methods within my GBean aren't 
called.

The GBeanMBean itself implements the MBeanRegistration interface but 
never calls the corresponding methods within the target Bean.

Is there a prefered way to implement something like this?
Kristian


Re: Testing Maven 1.0

2004-07-15 Thread Kristian Köhler
Hi
Jeremy Boynes wrote:
Yes. But from what I remember, these come from restrictions on the 
firewall on your machine. Given the point of the test is to check that 
we can connect to the local server over the network suggestions on how 
to make it work in your environment would be appreciated.
The old problem. Geronimo doesn't build offline.
ApplicationTest and WebAppDConfigTest parses a web.xml file and the 
parser tries to resolve the DTD. There is no entityresolver configured 
at that moment.

That's what I've done to make it work behind the firewall:
I modified my etc.host file (for windows: 
C:\WINNT\system32\drivers\etc\hosts ) to resolve the java.sun.com locally.

--- 8 ---
...
127.0.0.1   java.sun.com
...
--- 8 ---
I configured putty to tunnel local port 80 to java.sun.com:80
Kristian


Re: Where is the org.apache.geronimo.xbeans source

2004-06-16 Thread Kristian Köhler
Hi
I am looking for the org.apache.geronimo.xbeans
source.
You will find them in the target directories.
For example:
incubator-geronimo/modules/connector/target/xmlbeans
They get generated out of schema files via xmlbeans.
(incubator-geronimo/modules/connector/src/schema)
Kristian