From userskimberly77@example.net Fri Dec 03 23:27:32 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 81014 invoked from network); 3 Dec 2010 23:27:32 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 Dec 2010 23:27:32 -0000 Received: (qmail 27925 invoked by uid 500); 3 Dec 2010 23:27:32 -0000 Delivered-To: kimberly77@example.net Received: (qmail 27816 invoked by uid 500); 3 Dec 2010 23:27:31 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Delivered-To: moderator for kimberly77@example.net Received: (qmail 17653 invoked by uid 99); 3 Dec 2010 23:13:24 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 83.161.120.155 is neither permitted nor denied by domain of kimberly77@example.net) Date: Fri, 3 Dec 2010 15:12:55 -0800 (PST) From: "kimberly77@example.net" <kimberly77@example.net> To: kimberly77@example.net Message-ID: <kimberly77@example.net> Subject: OpenEJB has encountered a fatal error and cannot be started [javax/servlet/jsp/jstl/core/ConditionalTagSupport] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello, I have developed an EJB under JBoss and Tomcat and it worked just fine in this environment. On my Unit Test system I am having to employ OpenEJB. I used the OpenEJB installer and there are no issues when I ran the tests. But during tomcat startup I get an OpenEJBException. In my Jboss environment my bean was working well. So, I am not sure what I needed to change in my code or the environment to accommodate the OpenEJB environment. I moved the EAR to my webapps folder and it seems to load properly even after the OpenEJB Exception. I've been troubleshooting this for hours and have not been about to resolve it. Any suggestions would be appreciated. I am not a Tomcat or EJB expert, so I feel like I'm kimberly77@example.net. Here is a bit of my log file with the error: OpenEJB init-params: Apache OpenEJB 3.1.4 build: 20101112-03:32 http://openejb.apache.org/ FOO moduleName = /usr/local/tomcat/webapps/ViewBeanProjectEAR/ViewBeanProject.jar [severity=ERROR,message=unexpected element (uri:"http://java.sun.com/xml/ns/javaee", local:"tlibversion"). Expected elements are <{http://java.sun.com/xml/ns/javaee}tag-file>,<{http://java.sun.com/xml/ns/javaee}description>,<{http://java.sun.com/xml/ns/javaee}listener>,<{http://java.sun.com/xml/ns/javaee}jsp-version>,<{http://java.sun.com/xml/ns/javaee}icon>,<{http://java.sun.com/xml/ns/javaee}display-name>,<{http://java.sun.com/xml/ns/javaee}short-name>,<{http://java.sun.com/xml/ns/javaee}tlib-version>,<{http://java.sun.com/xml/ns/javaee}tag>,<{http://java.sun.com/xml/ns/javaee}validator>,<{http://java.sun.com/xml/ns/javaee}uri>,<{http://java.sun.com/xml/ns/javaee}taglib-extension>,<{http://java.sun.com/xml/ns/javaee}function>,locator=[node=null,object=null,url=null,line=4,col=18,offset=-1]] [severity=ERROR,message=unexpected element (uri:"http://java.sun.com/xml/ns/javaee", local:"tlibversion"). Expected elements are <{http://java.sun.com/xml/ns/javaee}tag-file>,<{http://java.sun.com/xml/ns/javaee}description>,<{http://java.sun.com/xml/ns/javaee}listener>,<{http://java.sun.com/xml/ns/javaee}jsp-version>,<{http://java.sun.com/xml/ns/javaee}icon>,<{http://java.sun.com/xml/ns/javaee}display-name>,<{http://java.sun.com/xml/ns/javaee}short-name>,<{http://java.sun.com/xml/ns/javaee}tlib-version>,<{http://java.sun.com/xml/ns/javaee}tag>,<{http://java.sun.com/xml/ns/javaee}validator>,<{http://java.sun.com/xml/ns/javaee}uri>,<{http://java.sun.com/xml/ns/javaee}taglib-extension>,<{http://java.sun.com/xml/ns/javaee}function>,locator=[node=null,object=null,url=null,line=4,col=18,offset=-1]] org.apache.openejb.OpenEJBException: OpenEJB has encountered a fatal error and cannot be started: The Assembler encountered an unexpected error while attempting to build the container system.: kimberly77@example.net$Instance.<init>(OpenEJB.java:132) at org.apache.openejb.OpenEJB.init(OpenEJB.java:271) at org.apache.openejb.tomcat.catalina.TomcatLoader.init(TomcatLoader.java:161) 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:597) at org.apache.openejb.loader.Embedder.init(Embedder.java:75) at org.apache.openejb.tomcat.loader.TomcatHook.hook(TomcatHook.java:137) 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:597) at org.apache.openejb.tomcat.loader.TomcatEmbedder.embed(TomcatEmbedder.java:92) at org.apache.openejb.tomcat.loader.LoaderServlet.init(LoaderServlet.java:51) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139) Thanks in advance. -- View this message in context: http://openejb.979440.n4.nabble.com/OpenEJB-has-encountered-a-fatal-error-and-cannot-be-started-javax-servlet-jsp-jstl-core-ConditionalT-tp3071912p3071912.html Sent from the OpenEJB User mailing list kimberly77@example.net. From userskimberly77@example.net Mon Dec 06 09:16:10 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 3195 invoked from network); 6 Dec 2010 09:16:10 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Dec 2010 09:16:10 -0000 Received: (qmail 1568 invoked by uid 500); 6 Dec 2010 09:16:10 -0000 Delivered-To: kimberly77@example.net Received: (qmail 1347 invoked by uid 500); 6 Dec 2010 09:16:07 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 1339 invoked by uid 99); 6 Dec 2010 09:16:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 09:16:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mx1.volkswohl-bund.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 09:15:59 +0000 X-IronPort-AV: E=Sophos;i="4.59,305,1288566000"; d="scan'208";a="4900284" Received: from unknown (HELO smtp.intern.volkswohl-bund.de) ([83.161.120.155]) by mx1.volkswohl-bund.de with ESMTP; 06 Dec 2010 10:14:38 +0100 Received: from [83.161.120.155] (unknown [83.161.120.155]) by smtp.intern.volkswohl-bund.de (Postfix) with ESMTP id F1D74175AD for <kimberly77@example.net>; Mon, 6 Dec 2010 10:14:37 +0100 (CET) Message-ID: <kimberly77@example.net> Date: Mon, 06 Dec 2010 10:14:37 +0100 From: Christian Koppen <kimberly77@example.net> Organization: VOLKSWOHL BUND Versicherungen User-Agent: Thunderbird 83.161.120.155 (Windows/20090812) MIME-Version: 1.0 To: kimberly77@example.net Subject: Support for alt-dd element in application.xml Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Hi, I'm currently evaluating OpenEJB 3.1.4 and have a question concerning JNDI names. I have an EJB module that I want to assemble in an EAR file. I cannot change the EJB module for non-technical reasons. Does OpenEJB allow me to change the EJB's JNDI name without touching the EJB? My preferred way would be usage of an alternative deployment descriptor by setting the element 'alt-dd' in the application.xml file. I could then use 'mapped-name' to set the JNDI name. But it seems that OpenEJB ignores the alt-dd element. I found out that the default JNDI name can be set by configuration ('openejb.jndiname.format'), too. I'd like to avoid this option since the JNDI name would then depend on the container configuration. I've read the following pages but didn't find a solution: http://openejb.apache.org/3.0/alternate-descriptors.html http://openejb.apache.org/3.0/jndi-names.html Any hint is appreciated. Christian Koppen From userskimberly77@example.net Mon Dec 06 09:17:01 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 3281 invoked from network); 6 Dec 2010 09:17:01 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Dec 2010 09:17:01 -0000 Received: (qmail 1775 invoked by uid 500); 6 Dec 2010 09:17:01 -0000 Delivered-To: kimberly77@example.net Received: (qmail 1706 invoked by uid 500); 6 Dec 2010 09:16:59 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 1698 invoked by uid 99); 6 Dec 2010 09:16:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 09:16:59 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 83.161.120.155 is neither permitted nor denied by domain of kimberly77@example.net) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 09:16:52 +0000 Received: from joe.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <kimberly77@example.net>) id 1PPXBP-0001eA-T2 for kimberly77@example.net; Mon, 06 Dec 2010 01:16:31 -0800 Date: Mon, 6 Dec 2010 01:16:31 -0800 (PST) From: Jean-Louis MONTEIRO <kimberly77@example.net> To: kimberly77@example.net Message-ID: <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> References: <kimberly77@example.net> Subject: Re: OpenEJB has encountered a fatal error and cannot be started [javax/servlet/jsp/jstl/core/ConditionalTagSupport] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, OK, the problem comes from our JAXB tree regarding TLD parsing. We are using a JAXB tree to parse JSP Tag Lib 1.2 whereas you are using a JSP Tag Lib 1.1 file. J2EE 1.2 and TLD 1.1 --> http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd J2EE 1.3 and TLD 1.2 --> http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd J2EE 1.4 and TLD 2.0 --> http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd ... It would be great for us to support all of them. But i need to dig into and check if there is a big difference between them. Jean-Louis -- View this message in context: http://openejb.979440.n4.nabble.com/OpenEJB-has-encountered-a-fatal-error-and-cannot-be-started-javax-servlet-jsp-jstl-core-ConditionalT-tp3071912p3074147.html Sent from the OpenEJB User mailing list kimberly77@example.net. From userskimberly77@example.net Mon Dec 06 10:13:41 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 27043 invoked from network); 6 Dec 2010 10:13:40 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Dec 2010 10:13:40 -0000 Received: (qmail 51575 invoked by uid 500); 6 Dec 2010 10:13:40 -0000 Delivered-To: kimberly77@example.net Received: (qmail 51345 invoked by uid 500); 6 Dec 2010 10:13:38 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 51332 invoked by uid 99); 6 Dec 2010 10:13:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 10:13:37 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO nm21.bullet.mail.sp2.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Dec 2010 10:13:29 +0000 Received: from [83.161.120.155] by nm21.bullet.mail.sp2.yahoo.com with NNFMP; 06 Dec 2010 10:13:07 -0000 Received: from [83.161.120.155] by tm8.bullet.mail.sp2.yahoo.com with NNFMP; 06 Dec 2010 10:13:07 -0000 Received: from [83.161.120.155] by smtp101.mail.gq1.yahoo.com with NNFMP; 06 Dec 2010 10:13:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1291630387; bh=5j4eJLGynEqldYHJuK6VVsgrv2bbe4h7x93FwIHlYuI=; h=X-Yahoo-Newman-Id:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=z4ddQX0eO34jqmyvCV26QbkDU3UkbJeMXTluBfUueqtlqRp8rXx6mLYnqsUA9Q4xbD29Vt7UF7f8uQHf2hM9Cxo457/ioW6GMb375xqDidRFFQpbvq24/iWMqQm6i3Q4q0fKXHX9obccOzNJr6Up/N6ydY8uq/gpJ/4yLvI727s= X-Yahoo-Newman-Id: kimberly77@example.net Received: from [83.161.120.155] (kimberly77@example.net with plain) by smtp101.mail.gq1.yahoo.com with SMTP; 06 Dec 2010 02:13:06 -0800 PST X-Yahoo-SMTP: ywe.z8GswBA1Y6P66WQH0I4wOLLZZQ1RpQ-- X-YMail-OSG: tPPuffcVM1l6hhpzRh5FlPo.EYqaIaG9V87o1LVi_v3ONbV ZQtuckOE2K0XHx4SmPHumLYKdC7CT5OWSY6OeBMietJbSbZ4fd2vX8SmzGXT x7acsJDjC25fSblyPs465DfHY7gzSEG7R7d1j9I.oUeFUYK.skfy8vkVC4c8 JaVufUjghaubRzjMYOyqWJEzNrDaIvN4SaXla8.we_390vSI_jfi7Hv1q8_J 6b8kAjgjCGEQtsy1i8uLxVw861uz5tQTp6oNK4Dg- X-Yahoo-Newman-Property: ymail-3 Message-ID: <kimberly77@example.net> Date: Mon, 06 Dec 2010 11:13:06 +0100 From: joe <kimberly77@example.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:83.161.120.155) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: kimberly77@example.net Subject: blank in OPENEJB_HOME Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Today i moved an OpenEJB installation to "c:\Program Files". I adapted the OPENEJB_HOME but in the first time, i wasn't able to start the container using the openejb.bat. Error opening zip file or JAR manifest missing : c:\Program Error occurred during initialization of VM agent library failed to init: instrument I played around with some single/double qouting in the command line, but i only was able to get the container started after adapting the openejb.bat the following line must be adapted java %OPENEJB_OPTS% -javaagent:%OPENEJB_JAVAAGENT_JAR% -jar %OPENEJB_CORE_JAR% %* to java %OPENEJB_OPTS% -javaagent:"%OPENEJB_JAVAAGENT_JAR%" -jar "%OPENEJB_CORE_JAR%" %* After this starting was no problem. Maybe this is something that should be adapted in a newer release. From userskimberly77@example.net Mon Dec 06 10:46:17 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 36535 invoked from network); 6 Dec 2010 10:46:16 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Dec 2010 10:46:16 -0000 Received: (qmail 84676 invoked by uid 500); 6 Dec 2010 10:46:16 -0000 Delivered-To: kimberly77@example.net Received: (qmail 84481 invoked by uid 500); 6 Dec 2010 10:46:15 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 84467 invoked by uid 99); 6 Dec 2010 10:46:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 10:46:14 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberly77@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mailout14.yourhostingaccount.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 10:46:05 +0000 Received: from mailscan15.yourhostingaccount.com ([83.161.120.155] helo=mailscan15.yourhostingaccount.com) by mailout14.yourhostingaccount.com with esmtp (Exim) id 1PPYZj-00084I-KD for kimberly77@example.net; Mon, 06 Dec 2010 05:45:43 -0500 Received: from impout02.yourhostingaccount.com ([83.161.120.155] helo=impout02.yourhostingaccount.com) by mailscan15.yourhostingaccount.com with esmtp (Exim) id 1PPYZj-00064I-2V for kimberly77@example.net; Mon, 06 Dec 2010 05:45:43 -0500 Received: from authsmtp04.yourhostingaccount.com ([83.161.120.155]) by impout02.yourhostingaccount.com with NO UCE id fmlX1f00305G96J0000000; Mon, 06 Dec 2010 05:45:31 -0500 X-EN-OrigOutIP: 83.161.120.155 X-EN-IMPSID: fmlX1f00305G96J0000000 Received: from [83.161.120.155] (helo=[83.161.120.155]) by authsmtp04.yourhostingaccount.com with esmtpa (Exim) id 1PPYZX-0000Ty-Cm for kimberly77@example.net; Mon, 06 Dec 2010 05:45:31 -0500 Message-ID: <kimberly77@example.net> Date: Mon, 06 Dec 2010 11:45:26 +0100 From: Andy <kimberly77@example.net> Reply-To: kimberly77@example.net Organization: OrproVision.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:83.161.120.155) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: kimberly77@example.net Subject: Re: blank in OPENEJB_HOME References: <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-EN-UserInfo: 50dabef77e03926a71da0ab8beb9457f:3688b5c6977cb6d9a4107f0892e52205 X-EN-AuthUser: kimberly77@example.net Sender: Andy <kimberly77@example.net> X-EN-OrigIP: 83.161.120.155 X-EN-OrigHost: unknown I use this slightly more robust batch file. Andy. @echo off CLS REM================================================ REM Licensed to the Apache Software Foundation (ASF) under one or more REM contributor license agreements. See the NOTICE file distributed with REM this work for additional information regarding copyright ownership. REM The ASF licenses this file to You under the Apache License, Version 2.0 REM (the "License"); you may not use this file except in compliance with REM the License. You may obtain a copy of the License at REM REM http://www.apache.org/licenses/LICENSE-2.0 REM REM Unless required by applicable law or agreed to in writing, software REM distributed under the License is distributed on an "AS IS" BASIS, REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. REM See the License for the specific language governing permissions and REM limitations under the License. REM _______________________________________________ REM $Rev: 636963 $ $Date: 2008-03-14 03:40:08 +0100 (Fr, 14 Mrz 2008) $ REM================================================ @echo off rem ------------------------------------------------------------------------- rem Manager Bootstrap Script for Windows rem ------------------------------------------------------------------------- @if not "%ECHO%" == "" echo %ECHO% @if "%OS%" == "Windows_NT" setlocal if "%OS%" == "Windows_NT" ( set "DIRNAME=%~dp0%" ) else ( set "DIRNAME=.\" ) pushd "%DIRNAME% REM echo Path is: "%DIRNAME%" set OPENEJB_HOME=. cd .. set "OPENEJB_HOME=%CD%" REM echo OPENEJB_HOME is: %OPENEJB_HOME% set OPENEJB_CORE_JAR="%OPENEJB_HOME%\lib\openejb-core-*.jar" set OPENEJB_JAVAAGENT_JAR="%OPENEJB_HOME%\lib\openejb-javaagent-*.jar" for %%a in (%OPENEJB_CORE_JAR%) do ( set OPENEJB_CORE_JAR="%%a" ) for %%a in (%OPENEJB_JAVAAGENT_JAR%) do ( set OPENEJB_JAVAAGENT_JAR="%%a" ) REM echo OPENEJB_CORE_JAR is: %OPENEJB_CORE_JAR% REM echo OPENEJB_JAVAAGENT_JAR is: %OPENEJB_JAVAAGENT_JAR% if exist %OPENEJB_CORE_JAR% goto openejbHomeSet :noOpenEJBHome echo OPENEJB_HOME is set incorrectly or OpenEJB could not be located. Please set "%OPENEJB_HOME%". goto EOF :openejbHomeSet set OPTIONS=-Dopenejb.home=%OPENEJB_HOME% REM echo %OPENEJB_OPTS% -javaagent:%OPENEJB_JAVAAGENT_JAR% -jar %OPENEJB_CORE_JAR% %* java %OPENEJB_OPTS% -javaagent:%OPENEJB_JAVAAGENT_JAR% -jar %OPENEJB_CORE_JAR% %* :EOF ENDLOCAL From userskimberly77@example.net Mon Dec 06 10:58:06 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 38806 invoked from network); 6 Dec 2010 10:58:06 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Dec 2010 10:58:06 -0000 Received: (qmail 96534 invoked by uid 500); 6 Dec 2010 10:58:06 -0000 Delivered-To: kimberly77@example.net Received: (qmail 96288 invoked by uid 500); 6 Dec 2010 10:58:04 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 96273 invoked by uid 99); 6 Dec 2010 10:58:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 10:58:03 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 83.161.120.155 is neither permitted nor denied by domain of kimberly77@example.net) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 10:57:56 +0000 Received: from joe.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <kimberly77@example.net>) id 1PPYlD-000051-D9 for kimberly77@example.net; Mon, 06 Dec 2010 02:57:35 -0800 Date: Mon, 6 Dec 2010 02:57:35 -0800 (PST) From: Jean-Louis MONTEIRO <kimberly77@example.net> To: kimberly77@example.net Message-ID: <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> References: <kimberly77@example.net> <kimberly77@example.net> Subject: Re: blank in OPENEJB_HOME MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Andy, I can add quotes to the script to fix spaces issue. But, do you think our batch file can be updated according to your proposal ? Jean-Louis -- View this message in context: http://openejb.979440.n4.nabble.com/blank-in-OPENEJB-HOME-tp3074224p3074282.html Sent from the OpenEJB User mailing list kimberly77@example.net. From userskimberly77@example.net Mon Dec 06 11:19:31 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 53426 invoked from network); 6 Dec 2010 11:19:31 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Dec 2010 11:19:31 -0000 Received: (qmail 24637 invoked by uid 500); 6 Dec 2010 11:19:30 -0000 Delivered-To: kimberly77@example.net Received: (qmail 24442 invoked by uid 500); 6 Dec 2010 11:19:30 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 24270 invoked by uid 99); 6 Dec 2010 11:19:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 11:19:27 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kimberly77@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail.gmx.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Dec 2010 11:19:18 +0000 Received: (qmail 21158 invoked by uid 0); 6 Dec 2010 11:18:58 -0000 Received: from 83.161.120.155 by www151.gmx.net with HTTP; Mon, 06 Dec 2010 12:18:57 +0100 (CET) Content-Type: text/plain; charset="utf-8" Date: Mon, 06 Dec 2010 12:18:57 +0100 From: "Valentin Rentschler" <kimberly77@example.net> Message-ID: <kimberly77@example.net> MIME-Version: 1.0 Subject: =?iso-8859-1?Q?OpenEJB_with_Eclipse=2C_=A8?= To: kimberly77@example.net X-Authenticated: #19318740 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX183oLtatNM3NKtjpo9NDLwQCe/jUwC0idA+6gui39 s03Ip0WPSJCoUBpKFaS/WgDVQZm/ibwVOX2A== Content-Transfer-Encoding: 8bit X-GMX-UID: 6YCaJq4naHItRq6VACQlZcRiamdhZESC X-Virus-Checked: Checked by ClamAV on apache.org Hello, I want to use OpenEJB with OSGI (in Eclipse, to be precise). I started with the example that's available at http://people.apache.org/~jgallimore/projects.zip. In that example only one bundle is used (test.ejb). Now I of course want to put the interface (Echo) apart from the implementation (EchoImpl). This works fine. But I also want entities and I want them in a seperate bundle (i.e. test.ejb.domain), so that I can load them kimberly77@example.net. Sadly, when I put my entity away from the test.ejb bundle into a seperate bundle, OpenJPA fails to create the entity with the following exception: org.apache.openjpa.persistence.ArgumentException: No metadata was found for type "class test.ejb.domain.Entity". The class is not enhanced. So, any idea on how to structure my bundles correctly? -- GRATIS! Movie-FLAT mit über 300 Videos. Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome From userskimberly77@example.net Mon Dec 06 11:19:31 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 53425 invoked from network); 6 Dec 2010 11:19:31 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Dec 2010 11:19:31 -0000 Received: (qmail 24635 invoked by uid 500); 6 Dec 2010 11:19:30 -0000 Delivered-To: kimberly77@example.net Received: (qmail 24316 invoked by uid 500); 6 Dec 2010 11:19:30 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 24280 invoked by uid 99); 6 Dec 2010 11:19:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 11:19:28 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberly77@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail.gmx.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Dec 2010 11:19:20 +0000 Received: (qmail 21645 invoked by uid 0); 6 Dec 2010 11:18:58 -0000 Received: from 83.161.120.155 by www151.gmx.net with HTTP; Mon, 06 Dec 2010 12:18:56 +0100 (CET) Content-Type: text/plain; charset="utf-8" Date: Mon, 06 Dec 2010 12:18:56 +0100 From: "Valentin Rentschler" <kimberly77@example.net> Message-ID: <kimberly77@example.net> MIME-Version: 1.0 Subject: =?iso-8859-1?Q?OpenEJB_with_Eclipse=2C_=A8?= To: kimberly77@example.net X-Authenticated: #19318740 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1+6F1E+/xa6s0vPl0wRAPsj5ZrvcN65l5eVuQgNhC 9L7blk2MFy4vjRcqxvAqL8spUVjzBPa647WA== Content-Transfer-Encoding: 8bit X-GMX-UID: mPHJeJ9YTiE+WqemQWVwcdd9ZUVSRBdr Hello, I want to use OpenEJB with OSGI (in Eclipse, to be precise). I started with the example that's available at http://people.apache.org/~jgallimore/projects.zip. In that example only one bundle is used (test.ejb). Now I of course want to put the interface (Echo) apart from the implementation (EchoImpl). This works fine. But I also want entities and I want them in a seperate bundle (i.e. test.ejb.domain), so that I can load them kimberly77@example.net. Sadly, when I put my entity away from the test.ejb bundle into a seperate bundle, OpenJPA fails to create the entity with the following exception: org.apache.openjpa.persistence.ArgumentException: No metadata was found for type "class test.ejb.domain.Entity". The class is not enhanced. So, any idea on how to structure my bundles correctly? -- GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl From userskimberly77@example.net Mon Dec 06 11:19:31 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 53428 invoked from network); 6 Dec 2010 11:19:31 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Dec 2010 11:19:31 -0000 Received: (qmail 24636 invoked by uid 500); 6 Dec 2010 11:19:30 -0000 Delivered-To: kimberly77@example.net Received: (qmail 24298 invoked by uid 500); 6 Dec 2010 11:19:28 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 24279 invoked by uid 99); 6 Dec 2010 11:19:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 11:19:28 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberly77@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail.gmx.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 06 Dec 2010 11:19:20 +0000 Received: (qmail 23770 invoked by uid 0); 6 Dec 2010 11:18:58 -0000 Received: from 83.161.120.155 by www151.gmx.net with HTTP; Mon, 06 Dec 2010 12:18:57 +0100 (CET) Content-Type: text/plain; charset="utf-8" Date: Mon, 06 Dec 2010 12:18:57 +0100 From: "Valentin Rentschler" <kimberly77@example.net> Message-ID: <kimberly77@example.net> MIME-Version: 1.0 Subject: =?iso-8859-1?Q?OpenEJB_with_Eclipse=2C_=A8?= To: kimberly77@example.net X-Authenticated: #19318740 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX183oLtatNM3NKtjpo9NDLwQCe/jUwC0idA+6gui39 s03Ip0WPSJCoUBpKFaS/WgDVQZm/ibwVOX2A== Content-Transfer-Encoding: 8bit X-GMX-UID: 6YCaJiIkaHItRq6VACQlZsRiamdhZAQR Hello, I want to use OpenEJB with OSGI (in Eclipse, to be precise). I started with the example that's available at http://people.apache.org/~jgallimore/projects.zip. In that example only one bundle is used (test.ejb). Now I of course want to put the interface (Echo) apart from the implementation (EchoImpl). This works fine. But I also want entities and I want them in a seperate bundle (i.e. test.ejb.domain), so that I can load them kimberly77@example.net. Sadly, when I put my entity away from the test.ejb bundle into a seperate bundle, OpenJPA fails to create the entity with the following exception: org.apache.openjpa.persistence.ArgumentException: No metadata was found for type "class test.ejb.domain.Entity". The class is not enhanced. So, any idea on how to structure my bundles correctly? -- GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl From userskimberly77@example.net Mon Dec 06 11:59:42 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 63717 invoked from network); 6 Dec 2010 11:59:41 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Dec 2010 11:59:41 -0000 Received: (qmail 62311 invoked by uid 500); 6 Dec 2010 11:59:41 -0000 Delivered-To: kimberly77@example.net Received: (qmail 62093 invoked by uid 500); 6 Dec 2010 11:59:41 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 62085 invoked by uid 99); 6 Dec 2010 11:59:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 11:59:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberly77@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-px0-f176.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 11:59:35 +0000 Received: by pxi11 with SMTP id 11so2559680pxi.35 for <kimberly77@example.net>; Mon, 06 Dec 2010 03:59:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=TnVyFdwQE9aEmhKhsRKfnQAj/ejImFknVHv2ewMJfeQ=; b=IENuxHGfpo2DvAd57bNoo+DeGMcgDbGS/hOtFmUw3YycgzayXSA07la/XkXTdUohj4 HLUONbg77RbCD27lyr9o2E9Uqvd8F6qIxSpru8eeKZfD7QbHvfiYdknfOVVoZ3bYGZJ4 IOL1xE4Ot5jAKi6BNZijR3Km6CglnnfZX0svw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=DLGbJm412x0I0umqh9INp5Xo79xE7K4cZMshIR3CC36KFlL1LV9jVYN9wYEnEKtWOT Yjl53wFxgMNUgNxe/uMai9NsSokhX1lVlyXQJYbu1rO6Xf9FD3OfTRsntx+1JAQRmPaf K1r1ANBec560JOqyjMhKJxpvaQStTIIcK74L0= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id m13mr4916327wfh.374.1291636755326; Mon, 06 Dec 2010 03:59:15 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 6 Dec 2010 03:59:15 -0800 (PST) Date: Mon, 6 Dec 2010 12:59:15 +0100 Message-ID: <kimberly77@example.net> Subject: OpenEJB with Eclipse: Dynamic entities From: Valentin Rentschler <kimberly77@example.net> To: kimberly77@example.net Content-Type: multipart/alternative; boundary=000e0cd14b1afae85b0496bc9d89 --000e0cd14b1afae85b0496bc9d89 Content-Type: text/plain; charset=ISO-8859-1 Hello, I want to use OpenEJB with OSGI (in Eclipse, to be precise). I started with the example that's available at http://people.apache.org/~jgallimore/projects.zip. In that example only one bundle is used (test.ejb). Now I of course want to put the interface (Echo) apart from the implementation (EchoImpl). This works fine. But I also want entities and I want them in a seperate bundle (i.e. test.ejb.domain), so that I can load them kimberly77@example.net. Sadly, when I put my entity away from the test.ejb bundle into a seperate bundle, OpenJPA fails to create the entity with the following exception: org.apache.openjpa.persistence.ArgumentException: No metadata was found for type "class test.ejb.domain.Entity". The class is not enhanced. So, any idea on how to structure my bundles / enhance my entities correctly? --000e0cd14b1afae85b0496bc9d89-- From userskimberly77@example.net Mon Dec 06 12:57:51 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 94754 invoked from network); 6 Dec 2010 12:57:51 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Dec 2010 12:57:51 -0000 Received: (qmail 19621 invoked by uid 500); 6 Dec 2010 12:57:51 -0000 Delivered-To: kimberly77@example.net Received: (qmail 19512 invoked by uid 500); 6 Dec 2010 12:57:50 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 19504 invoked by uid 99); 6 Dec 2010 12:57:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 12:57:50 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberly77@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mailout06.yourhostingaccount.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 12:57:42 +0000 Received: from mailscan02.yourhostingaccount.com ([83.161.120.155] helo=mailscan02.yourhostingaccount.com) by mailout06.yourhostingaccount.com with esmtp (Exim) id 1PPad7-0002uM-Hm for kimberly77@example.net; Mon, 06 Dec 2010 07:57:21 -0500 Received: from impout02.yourhostingaccount.com ([83.161.120.155] helo=impout02.yourhostingaccount.com) by mailscan02.yourhostingaccount.com with esmtp (Exim) id 1PPad7-0001bb-ET for kimberly77@example.net; Mon, 06 Dec 2010 07:57:21 -0500 Received: from authsmtp03.yourhostingaccount.com ([83.161.120.155]) by impout02.yourhostingaccount.com with NO UCE id foxM1f00203yUm20000000; Mon, 06 Dec 2010 07:57:21 -0500 X-EN-OrigOutIP: 83.161.120.155 X-EN-IMPSID: foxM1f00203yUm20000000 Received: from [83.161.120.155] (helo=[83.161.120.155]) by authsmtp03.yourhostingaccount.com with esmtpa (Exim) id 1PPad6-00010j-Ct for kimberly77@example.net; Mon, 06 Dec 2010 07:57:21 -0500 Message-ID: <kimberly77@example.net> Date: Mon, 06 Dec 2010 13:57:04 +0100 From: Andy <kimberly77@example.net> Reply-To: kimberly77@example.net Organization: OrproVision.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:83.161.120.155) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: kimberly77@example.net Subject: Re: blank in OPENEJB_HOME References: <kimberly77@example.net> <kimberly77@example.net> <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-EN-UserInfo: 50dabef77e03926a71da0ab8beb9457f:3688b5c6977cb6d9a4107f0892e52205 X-EN-AuthUser: kimberly77@example.net Sender: Andy <kimberly77@example.net> X-EN-OrigIP: 83.161.120.155 X-EN-OrigHost: unknown On 06.12.2010 11:57, Jean-Louis MONTEIRO wrote: > Andy, > > I can add quotes to the script to fix spaces issue. > But, do you think our batch file can be updated according to your proposal ? > > Jean-Louis I have checked it into trunk - It's just a little bit more dynamic than the current one, and also fixes the quoted path issues. I still want to find the time to document the Windows service installation! Andy. From userskimberly77@example.net Mon Dec 06 13:02:05 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 96096 invoked from network); 6 Dec 2010 13:02:04 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Dec 2010 13:02:04 -0000 Received: (qmail 23981 invoked by uid 500); 6 Dec 2010 13:02:04 -0000 Delivered-To: kimberly77@example.net Received: (qmail 23890 invoked by uid 500); 6 Dec 2010 13:02:04 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 23882 invoked by uid 99); 6 Dec 2010 13:02:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 13:02:03 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberly77@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mailout18.yourhostingaccount.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 13:01:56 +0000 Received: from mailscan03.yourhostingaccount.com ([83.161.120.155] helo=mailscan03.yourhostingaccount.com) by mailout18.yourhostingaccount.com with esmtp (Exim) id 1PPahD-00009b-OH for kimberly77@example.net; Mon, 06 Dec 2010 08:01:35 -0500 Received: from impout03.yourhostingaccount.com ([83.161.120.155] helo=impout03.yourhostingaccount.com) by mailscan03.yourhostingaccount.com with esmtp (Exim) id 1PPahD-0008Ad-HK for kimberly77@example.net; Mon, 06 Dec 2010 08:01:35 -0500 Received: from authsmtp02.yourhostingaccount.com ([83.161.120.155]) by impout03.yourhostingaccount.com with NO UCE id fp1b1f00302goRm0000000; Mon, 06 Dec 2010 08:01:35 -0500 X-EN-OrigOutIP: 83.161.120.155 X-EN-IMPSID: fp1b1f00302goRm0000000 Received: from [83.161.120.155] (helo=[83.161.120.155]) by authsmtp02.yourhostingaccount.com with esmtpa (Exim) id 1PPahC-0002MV-3n for kimberly77@example.net; Mon, 06 Dec 2010 08:01:35 -0500 Message-ID: <kimberly77@example.net> Date: Mon, 06 Dec 2010 14:01:15 +0100 From: Andy <kimberly77@example.net> Reply-To: kimberly77@example.net Organization: OrproVision.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:83.161.120.155) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: kimberly77@example.net Subject: Re: blank in OPENEJB_HOME References: <kimberly77@example.net> <kimberly77@example.net> <kimberly77@example.net> <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-EN-UserInfo: 50dabef77e03926a71da0ab8beb9457f:3688b5c6977cb6d9a4107f0892e52205 X-EN-AuthUser: kimberly77@example.net Sender: Andy <kimberly77@example.net> X-EN-OrigIP: 83.161.120.155 X-EN-OrigHost: unknown On 06.12.2010 13:57, Andy wrote: > On 06.12.2010 11:57, Jean-Louis MONTEIRO wrote: >> Andy, >> >> I can add quotes to the script to fix spaces issue. >> But, do you think our batch file can be updated according to your proposal ? >> >> Jean-Louis > I have checked it into trunk - It's just a little bit more dynamic than the current one, and also fixes the quoted > path issues. > I still want to find the time to document the Windows service installation! > > Andy. > > > The files can all be found here for those that would like to try the latest Windows batch files and or services: https://svn.apache.org/repos/asf/openejb/trunk/openejb3/assembly/openejb-standalone/src/main/resources/ Andy. From userskimberly77@example.net Mon Dec 06 18:53:22 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 71911 invoked from network); 6 Dec 2010 18:53:22 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Dec 2010 18:53:22 -0000 Received: (qmail 45814 invoked by uid 500); 6 Dec 2010 18:53:22 -0000 Delivered-To: kimberly77@example.net Received: (qmail 45780 invoked by uid 500); 6 Dec 2010 18:53:21 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 45772 invoked by uid 99); 6 Dec 2010 18:53:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 18:53:21 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 83.161.120.155 is neither permitted nor denied by domain of kimberly77@example.net) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 18:53:16 +0000 Received: from joe.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <kimberly77@example.net>) id 1PPgBD-0003tS-Ff for kimberly77@example.net; Mon, 06 Dec 2010 10:52:55 -0800 Date: Mon, 6 Dec 2010 10:52:55 -0800 (PST) From: "kimberly77@example.net" <kimberly77@example.net> To: kimberly77@example.net Message-ID: <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> References: <kimberly77@example.net> <kimberly77@example.net> Subject: Re: OpenEJB has encountered a fatal error and cannot be started [javax/servlet/jsp/jstl/core/ConditionalTagSupport] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Could I resolve this by changing to a different xsd or the JSTL library? I can do that if it will comply with what OpenEJB is looking for. I'm just unsure of where to change it. I am guessing inside one of the web.xml files for the xsd and replacing the jstl.jar int $CATALINA_HOME/server/lib. Although the jstl.jar that's in there was placed there during installation of OpenEJB, so you would think it would be the correct version. I've tried replacing the jstl.jar to several different versions, but I'm still seeing the error on Tomcat startup. Thanks. -- View this message in context: http://openejb.979440.n4.nabble.com/OpenEJB-has-encountered-a-fatal-error-and-cannot-be-started-javax-servlet-jsp-jstl-core-ConditionalT-tp3071912p3075077.html Sent from the OpenEJB User mailing list kimberly77@example.net. From userskimberly77@example.net Mon Dec 06 22:13:06 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 70300 invoked from network); 6 Dec 2010 22:13:05 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Dec 2010 22:13:05 -0000 Received: (qmail 90543 invoked by uid 500); 6 Dec 2010 22:13:05 -0000 Delivered-To: kimberly77@example.net Received: (qmail 90509 invoked by uid 500); 6 Dec 2010 22:13:05 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 90501 invoked by uid 99); 6 Dec 2010 22:13:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 22:13:05 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kimberly77@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-wy0-f176.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Dec 2010 22:12:58 +0000 Received: by wye20 with SMTP id 20so168978wye.35 for <kimberly77@example.net>; Mon, 06 Dec 2010 14:12:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=0cX1UGu8I9v+keTZWNqP9OCoO5UYqRaDghuHdogZ+no=; b=AvtbnJq1Mi8CS3MQdcnQDSthYw7aKU4St0f+WNnrXmZNfOu53ChZ/eeAW9iPSQVo7h inypV7C4iT7fuZd1Vd1FlJQVQxovEk4SJFqXVHieYhjVQ/Cqp7rIAQOsZGSZ9yWq7dk7 gD2Yy/GBTLlTeR1lKY+/d3lrw0lDUz48mHiTg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=WloCnAVlrfYz3iYnpaIzNmuh9P65T8IxjU69cW1RJErO+sviynItlhvtPnm3uhUt+J q0sXoArUHIf9PvfmfBPDNnwiKZD9VvHM3KyW1W2eLcPfZgC6gAuK/vjEpYTub1YesPeV L6m0VugFhVC0CluCDWVS7TWHQ6+zjNZSpk6mw= Received: by 83.161.120.155 with SMTP id e17mr6397073wbw.190.1291673557364; Mon, 06 Dec 2010 14:12:37 -0800 (PST) Received: from Jonathan-Gallimores-MacBook-Pro.local (cpc1-nrte24-2-0-cust886.8-4.cable.virginmedia.com [83.161.120.155]) by mx.google.com with ESMTPS id f35sm3780388wbf.2.283.161.120.155.12.32 (version=SSLv3 cipher=RC4-MD5); Mon, 06 Dec 2010 14:12:35 -0800 (PST) Message-ID: <kimberly77@example.net> Date: Mon, 06 Dec 2010 22:12:31 +0000 From: Jonathan Gallimore <kimberly77@example.net> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:83.161.120.155) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: kimberly77@example.net Subject: Re: OpenEJB with Eclipse: Dynamic entities References: <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Thanks for giving the OSGI bundle a try. Off the top of my head I'm not sure why this doesn't work, and its been a while since I last used it, so I'll have a go myself and see if I can give any pointers. Its worth mentioning that since I created this example quite a bit of work has gone on with OSGi in OpenEJB, so there are some threads from the dev list that might be worth a look: "For adventurous: first run of OSGified OpenEJB *seems* running fine": http://markmail.org/thread/vmus76uhfpznnkid "For adventurous - part 2: deployment and use of EJBs in OSGified OpenEJB runs fine": http://markmail.org/thread/odjqnscoviznte7o I'll see if I can get this going, and will post back. Looks like its been a while since doing this sort of thing has been done so we could do with updating our documentation. Jon On 06/12/2010 11:59, Valentin Rentschler wrote: > Hello, > > I want to use OpenEJB with OSGI (in Eclipse, to be precise). I started with > the example that's available at > http://people.apache.org/~jgallimore/projects.zip. In that example only one > bundle is used (test.ejb). Now I of course want to put the interface (Echo) > apart from the implementation (EchoImpl). This works fine. But I also want > entities and I want them in a seperate bundle (i.e. test.ejb.domain), so > that I can load them kimberly77@example.net. Sadly, when I put my entity away > from the test.ejb bundle into a seperate bundle, OpenJPA fails to create the > entity with the following exception: > > org.apache.openjpa.persistence.ArgumentException: No metadata was found for > type "class test.ejb.domain.Entity". The class is not enhanced. > > So, any idea on how to structure my bundles / enhance my entities correctly? > From userskimberly77@example.net Tue Dec 07 09:44:16 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 75255 invoked from network); 7 Dec 2010 09:44:16 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 7 Dec 2010 09:44:16 -0000 Received: (qmail 61113 invoked by uid 500); 7 Dec 2010 09:44:16 -0000 Delivered-To: kimberly77@example.net Received: (qmail 60957 invoked by uid 500); 7 Dec 2010 09:44:16 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 60949 invoked by uid 99); 7 Dec 2010 09:44:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 09:44:15 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,RFC_ABUSE_POST,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 83.161.120.155 is neither permitted nor denied by domain of kimberly77@example.net) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 09:44:09 +0000 Received: from joe.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <kimberly77@example.net>) id 1PPu5N-0000Gs-AZ for kimberly77@example.net; Tue, 07 Dec 2010 01:43:49 -0800 Date: Tue, 7 Dec 2010 01:43:49 -0800 (PST) From: reva <kimberly77@example.net> To: kimberly77@example.net Message-ID: <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> References: <kimberly77@example.net> Subject: Re: OpenEJB with Eclipse: Dynamic entities MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sorry, seems like I deleted my original post. Yes, updating documentation always seems good. On the other hand, your tutorial, short as it is, really got me running in no-time. So thanks for that! I am enhancing the classes now with the PCEnhancerTask with Ant and that (seems ;-) ) to work! (Prior to that I was trying to enhance on runtime via the Javaagent, sorry for not mentioning it). Just if someone is interested here is what I am doing: The whole idea is to have a transaction container like I would have on a server, just pulling it to the client side. I have a stateful bean like that: public Object find(Class clazz, long id); // calls find method on entity manager with class and id public void create(Object object); // calls persist method on entity manager @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) public void save(); // commits the changes For the "client" (because we are in OSGi, otherwise i'd just use Class.getForName(...)) to get to the entities by name I use the eclipse extension mechanisms (standard OSGi services would work as well, of course) where I have an extension point and an extension for every entity which consists of a key-value pair (name of the entity <> entity class). This way the client can discover which entities are registered and query for them and doesn't need to know anything about them at design time. Thanks for the encouragement, feel free to comment if this makes any sense ;-) -- View this message in context: http://openejb.979440.n4.nabble.com/Re-OpenEJB-with-Eclipse-Dynamic-entities-tp3075437p3076053.html Sent from the OpenEJB User mailing list kimberly77@example.net. From userskimberly77@example.net Wed Dec 08 15:00:52 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 94619 invoked from network); 8 Dec 2010 15:00:52 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 8 Dec 2010 15:00:52 -0000 Received: (qmail 81933 invoked by uid 500); 8 Dec 2010 15:00:52 -0000 Delivered-To: kimberly77@example.net Received: (qmail 81702 invoked by uid 500); 8 Dec 2010 15:00:49 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 81683 invoked by uid 99); 8 Dec 2010 15:00:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Dec 2010 15:00:48 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 83.161.120.155 is neither permitted nor denied by domain of kimberly77@example.net) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Dec 2010 15:00:42 +0000 Received: from joe.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <kimberly77@example.net>) id 1PQLV8-0001cY-7T for kimberly77@example.net; Wed, 08 Dec 2010 07:00:14 -0800 Date: Wed, 8 Dec 2010 07:00:14 -0800 (PST) From: "kimberly77@example.net" <kimberly77@example.net> To: kimberly77@example.net Message-ID: <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> References: <kimberly77@example.net> <kimberly77@example.net> <kimberly77@example.net> Subject: Re: OpenEJB has encountered a fatal error and cannot be started [javax/servlet/jsp/jstl/core/ConditionalTagSupport] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org So, I upgraded test server Tomcat from 5.5 to Tomcat 6.0.29 and I don't get that error anymore. -- View this message in context: http://openejb.979440.n4.nabble.com/OpenEJB-has-encountered-a-fatal-error-and-cannot-be-started-javax-servlet-jsp-jstl-core-ConditionalT-tp3071912p3078364.html Sent from the OpenEJB User mailing list kimberly77@example.net. From userskimberly77@example.net Thu Dec 09 16:09:33 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 36432 invoked from network); 9 Dec 2010 16:09:29 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 9 Dec 2010 16:09:29 -0000 Received: (qmail 51805 invoked by uid 500); 9 Dec 2010 16:09:29 -0000 Delivered-To: kimberly77@example.net Received: (qmail 51670 invoked by uid 500); 9 Dec 2010 16:09:27 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 50860 invoked by uid 99); 9 Dec 2010 16:09:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Dec 2010 16:09:26 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO web81206.mail.mud.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 09 Dec 2010 16:09:16 +0000 Received: (qmail 57827 invoked by uid 60001); 9 Dec 2010 16:08:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1291910934; bh=4a+dHdS5rDSzWm6W6Van8kcN6Q1jAEeL4ps5DsE3sSE=; h=Message-ID:X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=uIIgAhs7ZDHHtbvqBoYTuLJc9ZK+OpggsI7TZ7NCgN85qIg23XKhIYV/gSGh94OFWRluK0W10qShbgX/OychsPOB1Q8v8/jrhoeFBgnBBNbyUrw4oaNBFhF3lvM6QODBiyQvIVPxjolu5xMTUOStUeUe4pl0BQvYDBmwteFDCLY= DomainKey-Signature:a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=fKFmy2ac7SMxQbKcCVD80sfytpmrkq4BDMYY3sZDgGHPT/dwrDE29cf2hHNyUZx8jsdzfMQIq121xmKJH8dWnzbw6sekd/Sp/4TxxbjxkNt0IgTFBagHVjyH+1T3pH7ee1cnMINTLUz221Ll5NAsHN2QC49eY07Wg5J7L2AA3vI=; Message-ID: <kimberly77@example.net> X-YMail-OSG: pf5Oe4kVM1nxEeWfn5BBBwJtopWY8lCHvyc80ckK2I9r0NM DYuajkqp_btT3e9q1EF731qXEaRVa2JGYZt_6KTNRV.y9BACj5ihm_ihCNFu pz9zHR4P1qjMjY5hsMg11t1_6dXBTsrSm3IOF_HrUUW9EaeGcwUW_x8XmWco TYtPDRaVflU_spiySfsIyo2V3I2lOPOLo9Cj1XUDJrQLaYFwh4rC72I64ulw 7RkoK3iYGJicgfa.RFxF8i6wUa.joKez0YYziAifhv4Uoz1oGXiaH9kEQvUs incfRjxDS5O97vW_2hKkAox2WQeW8Ygh0lvFaLawjc2HIv0IDS73fBo39GgZ e4StfeahQBukoxbhfoAYEsSSNuOl_klPPydbNbS3GQRTt_uEPK6HgCSnRcT7 cEcZeHBeB6kU- Received: from [83.161.120.155] by web81206.mail.mud.yahoo.com via HTTP; Thu, 09 Dec 2010 08:08:54 PST X-RocketYMMF: tony_t_tubbs X-Mailer: YahooMailRC/553 YahooMailWebService/83.161.120.1555259 References: <kimberly77@example.net> <kimberly77@example.net> <kimberly77@example.net> <kimberly77@example.net> <kimberly77@example.net> <kimberly77@example.net> <kimberly77@example.net> Date: Thu, 9 Dec 2010 08:08:54 -0800 (PST) From: tbbstny <kimberly77@example.net> Subject: Re: Need help getting Derby running in JUnit To: kimberly77@example.net In-Reply-To: <kimberly77@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1019842807-1291910934=:54984" X-Virus-Checked: Checked by ClamAV on apache.org --0-1019842807-1291910934=:54984 Content-Type: text/plain; charset=us-ascii Hanging JUnit test: Solved In a finally I *thought* I was closing statements and connections. Doing some searching, I found something about calling commit on my connection because of how Derby defaults it's cursor states. I'm doing read only stuff, so didn't think commit was necessary. However, calling commit then close has caused the hanging JUnit tests problem to go away. Using the no-arg InitialContext constructor once OpenEJB has been embedded: Solved. To embed OpenEBJ, I have this. properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory"); Once OpenEJB has been embedded, I also had to set the system property so the no-arg constructor would also work. System.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory"); One last problem I'd appreciate your help one, or even a pointer to some documentation. I've googled but not finding what I'm looking for. Prior to integrating OpenEJB, I have configured my EBJ stuff in my web.xml file. Introducing the ebj-jar.xml file has caused JBoss problems, it looks like when it's parsing the web.xml, because the first ejb-local-ref in my file results in an exception being thrown. If I move entries around in the file, the first entry will cause JBoss to report an exception. The final result being a message that my deployment is in error. An example of my web.xml entry follows: <ejb-local-ref> <ejb-ref-name>OfficeListFacade</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <local>com.dstsystems.walletshare.ejb.facade.OfficeListFacadeLocal</local> <ejb-link>WalletShare-ejb.jar#OfficeListFacade</ejb-link> </ejb-local-ref> - Can web.xml and ejb-jar.xml config work together - Do you have an example or can point me to where I can find that. - Even just the empty <ejb-jar/> tag in the ejb-jar.xml file makes JBoss fail. Any pointers on this would be greatly appreciated. TT --0-1019842807-1291910934=:54984-- From userskimberly77@example.net Sat Dec 11 00:08:42 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 23985 invoked from network); 11 Dec 2010 00:08:42 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 11 Dec 2010 00:08:42 -0000 Received: (qmail 83525 invoked by uid 500); 11 Dec 2010 00:08:42 -0000 Delivered-To: kimberly77@example.net Received: (qmail 83491 invoked by uid 500); 11 Dec 2010 00:08:41 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 83483 invoked by uid 99); 11 Dec 2010 00:08:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 00:08:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO chrismiles.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 00:08:33 +0000 Received-SPF: pass (chrismiles.org: authenticated connection) receiver=chrismiles.org; client-ip=83.161.120.155; helo=obiwan; kimberly77@example.net; x-software=spfmilter 0.97 http://www.acme.com/software/spfmilter/ with libspf2-1.0.0; Received: from obiwan (5ac331fd.bb.sky.com [83.161.120.155]) (authenticated bits=0) by chrismiles.org (8.13.8/8.13.8) with ESMTP id oBB09qJD004012 for <kimberly77@example.net>; Sat, 11 Dec 2010 00:09:55 GMT From: "Chris Miles" <kimberly77@example.net> To: <kimberly77@example.net> Subject: Transactions in Embedded OpenEJB Date: Sat, 11 Dec 2010 00:07:54 -0000 Message-ID: <kimberly77@example.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000A_01CB98C7.77603A20" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AcuYxaSuWpMWk/dZS5O9Y25jcRfrRQ== Content-Language: en-gb ------=_NextPart_000_000A_01CB98C7.77603A20 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I am currently using Embedded OpenEJB within a thick Swing application to reuse my business components and I have a problem where when I am pulling out an entity over JPA, the entity is being detached, and therefore the full object graph is being pulled out. I imagine my problem is because my EJB call is not done within a transaction so I ask the following: I have seen the code example which creates the TransactionBean but that only allows me to scope that block of code into the transaction. What I need to be able to do is have a transaction which exists across the lifetime of the form (JFrame) so I can pull Entities out, update them and persist them again. Thank You. Chris ------=_NextPart_000_000A_01CB98C7.77603A20-- From userskimberly77@example.net Sat Dec 11 13:32:07 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 82846 invoked from network); 11 Dec 2010 13:32:07 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 11 Dec 2010 13:32:07 -0000 Received: (qmail 71186 invoked by uid 500); 11 Dec 2010 13:32:06 -0000 Delivered-To: kimberly77@example.net Received: (qmail 70961 invoked by uid 500); 11 Dec 2010 13:32:04 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 70953 invoked by uid 99); 11 Dec 2010 13:32:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 13:32:03 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kimberly77@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-iw0-f169.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 13:31:57 +0000 Received: by iwn40 with SMTP id 40so743242iwn.14 for <kimberly77@example.net>; Sat, 11 Dec 2010 05:31:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=qN9iYjjsoR/CwnUs1/vK8iJgjoNv5A+sSK7OrzS6qLw=; b=mHj/yaWvegJSHb7jjZOqjfc+w9Eqlv8kOUVGP4BR9/MwgUfSUh0B/FTpczJkE/N/A4 DJeLdWSSLJSRE3ofysqE2S0Xt5CY52JJBTjV01Rw95Rd11j+50DDrFnGhR/PElVTbRZx qvWf+SuJu+NMrE0sMGnB6hNCKifw0wYzNARdU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=oRqQioUNmIm9ciGDVkPZTk8BGo0OCVK0OH7b8i6gFCvV8mjvtTa43xmxktudnDXA92 xSApvC+zlM2HDLe5fQd8pWyeVMci5eDn3JMYtPTpTaVaaKQho6dFe5/bWDfbutQttsEE Brvr05K0P32EPRasG2gcwDjMMaWYLtISWJBvo= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id c5mr475649iba.39.1292074296213; Sat, 11 Dec 2010 05:31:36 -0800 (PST) Sender: kimberly77@example.net Reply-To: kimberly77@example.net Received: by 83.161.120.155 with HTTP; Sat, 11 Dec 2010 05:31:36 -0800 (PST) In-Reply-To: <kimberly77@example.net> References: <kimberly77@example.net> Date: Sat, 11 Dec 2010 14:31:36 +0100 X-Google-Sender-Auth: C4LynkXAnAAD6idbMEZcu1CPC_Q Message-ID: <kimberly77@example.net> Subject: Re: Transactions in Embedded OpenEJB From: Jacek Laskowski <kimberly77@example.net> To: kimberly77@example.net Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Sat, Dec 11, 2010 at 1:07 AM, Chris Miles <kimberly77@example.net> wrote: > I have seen the code example which creates the TransactionBean but that only > allows me to scope that block of code into the transaction. What I need to > be able to do is have a transaction which exists across the lifetime of the > form (JFrame) so I can pull Entities out, update them and persist them > again. Hi, I believe what you're asking is a stateful session bean that will use extended persistence unit. You'll keep a handle to the bean somewhere in your code and have a transaction open throughout the bean's lifecycle. It may also extend the visibility of entities for too long, but it's worth to give it a try and see whether more tweaks are needed. You may also use @Lazy annotation to mark simple fields not to be fetched upon detachment - collection-based fields are by default lazy. Jacek -- Jacek Laskowski Notatnik Projektanta Java EE - http://jaceklaskowski.pl From userskimberly77@example.net Sat Dec 11 14:29:57 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 209 invoked from network); 11 Dec 2010 14:29:57 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 11 Dec 2010 14:29:57 -0000 Received: (qmail 5147 invoked by uid 500); 11 Dec 2010 14:29:57 -0000 Delivered-To: kimberly77@example.net Received: (qmail 4969 invoked by uid 500); 11 Dec 2010 14:29:55 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 4961 invoked by uid 99); 11 Dec 2010 14:29:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 14:29:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO chrismiles.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 14:29:47 +0000 Received-SPF: pass (chrismiles.org: authenticated connection) receiver=chrismiles.org; client-ip=83.161.120.155; helo=obiwan; kimberly77@example.net; x-software=spfmilter 0.97 http://www.acme.com/software/spfmilter/ with libspf2-1.0.0; Received: from obiwan (5ac331fd.bb.sky.com [83.161.120.155]) (authenticated bits=0) by chrismiles.org (8.13.8/8.13.8) with ESMTP id oBBEV4Yt032466; Sat, 11 Dec 2010 14:31:06 GMT From: "Chris Miles" <kimberly77@example.net> To: <kimberly77@example.net>, <kimberly77@example.net> References: <kimberly77@example.net> <kimberly77@example.net> In-Reply-To: <kimberly77@example.net> Subject: RE: Transactions in Embedded OpenEJB Date: Sat, 11 Dec 2010 14:29:04 -0000 Message-ID: <kimberly77@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGg8Zbj5Xeb4MZPPEVwwb9wRHN0DgJfbt64k92e50A= Content-Language: en-gb X-Virus-Checked: Checked by ClamAV on apache.org Thanks Jacek. At the moment my architecture is as follows: ShopService Local Bean. ProductService Local Bean. Within my standalone swing form I fetch products with shopservice.getCategories() which in turn fetches the list of categories from the ProductService Bean. As soon as the list of categories is called from my application it takes a long time to fetch 5 categories, as it seems it is ignoring the lazy properties and fetching the full tree So each category has a list of sub categories which each have a list of product so every single object is being fetched from the database. I am assuming that because I am calling shopService from a Swing form which is outside of the EJB environment this is why it is detaching it. So in essence what I am trying to do is extend a transaction across the lifecycle of the swing form. So an entity fetched with one button and then saved with another button is within the same transaction. Thanks Chris -----Original Message----- From: kimberly77@example.net [mailto:kimberly77@example.net] On Behalf Of Jacek Laskowski Sent: 11 December 2010 13:32 To: kimberly77@example.net Subject: Re: Transactions in Embedded OpenEJB On Sat, Dec 11, 2010 at 1:07 AM, Chris Miles <kimberly77@example.net> wrote: > I have seen the code example which creates the TransactionBean but > that only allows me to scope that block of code into the transaction. > What I need to be able to do is have a transaction which exists across > the lifetime of the form (JFrame) so I can pull Entities out, update > them and persist them again. Hi, I believe what you're asking is a stateful session bean that will use extended persistence unit. You'll keep a handle to the bean somewhere in your code and have a transaction open throughout the bean's lifecycle. It may also extend the visibility of entities for too long, but it's worth to give it a try and see whether more tweaks are needed. You may also use @Lazy annotation to mark simple fields not to be fetched upon detachment - collection-based fields are by default lazy. Jacek -- Jacek Laskowski Notatnik Projektanta Java EE - http://jaceklaskowski.pl From userskimberly77@example.net Sat Dec 11 17:32:34 2010 Return-Path: <userskimberly77@example.net> Delivered-To: kimberly77@example.net Received: (qmail 55570 invoked from network); 11 Dec 2010 17:32:34 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 11 Dec 2010 17:32:34 -0000 Received: (qmail 90167 invoked by uid 500); 11 Dec 2010 17:32:33 -0000 Delivered-To: kimberly77@example.net Received: (qmail 90136 invoked by uid 500); 11 Dec 2010 17:32:33 -0000 Mailing-List: contact kimberly77@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:kimberly77@example.net> List-Unsubscribe: <mailto:kimberly77@example.net> List-Post: <mailto:kimberly77@example.net> List-Id: <users.openejb.apache.org> Reply-To: kimberly77@example.net Delivered-To: mailing list kimberly77@example.net Received: (qmail 90128 invoked by uid 99); 11 Dec 2010 17:32:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 17:32:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO chrismiles.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Dec 2010 17:32:25 +0000 Received-SPF: pass (chrismiles.org: authenticated connection) receiver=chrismiles.org; client-ip=83.161.120.155; helo=obiwan; kimberly77@example.net; x-software=spfmilter 0.97 http://www.acme.com/software/spfmilter/ with libspf2-1.0.0; Received: from obiwan (5ac331fd.bb.sky.com [83.161.120.155]) (authenticated bits=0) by chrismiles.org (8.13.8/8.13.8) with ESMTP id oBBHXeXO011468; Sat, 11 Dec 2010 17:33:42 GMT From: "Chris Miles" <kimberly77@example.net> To: <kimberly77@example.net>, <kimberly77@example.net> Subject: RE: Transactions in Embedded OpenEJB (Lazy Loading issue) Date: Sat, 11 Dec 2010 17:31:41 -0000 Message-ID: <kimberly77@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AcuZWRDqcPcxv3ooTIyJAG7BJOMwug== Content-Language: en-gb X-Virus-Checked:
{'source': 'Apache Software Foundation Public Mail Archives'}