Re: Geronimo with JAX-RS and CDI

2013-03-25 Thread Shawn Jiang
As I know, Geronimo 3.0.0 does not support to expose EJB/CDI to restful style service. On Tue, Mar 19, 2013 at 8:33 PM, Stephen Fry wrote: > To add I'm using 3.0.0 of Geronimo. > > > > -- > View this message in context: > http://apache-geronimo.328035.n3.nabble.com/Geronimo-with-JAX-RS-and-CDI

Re: Session in one instance is interferred by another instance?

2013-02-19 Thread Shawn Jiang
it looks like a browser setting issue instead of server issue. Are you expereiencing this issue with IE/Firefox/Chrome or just one of them ? On Tue, Feb 19, 2013 at 5:27 PM, James Yu wrote: > Hi all, > > I just setup two instances in multiple instances and multiple repositories > way, say inst

Re: Geronimo 3 with Scala 2.10

2013-02-16 Thread Shawn Jiang
I guess the call trace is different between 2.10 and 2.9. and the call trace in 2.9 avoid this conflict somehow. On Sat, Feb 16, 2013 at 8:59 PM, Peter Petersson wrote: > On 02/16/2013 01:36 PM, Shawn Jiang wrote: > > Another approach would be to hide the packages provided by server

Re: Geronimo 3 with Scala 2.10

2013-02-16 Thread Shawn Jiang
Another approach would be to hide the packages provided by server. It's a better way to avoid the liberay conflict between the app and server. !org.apache.commons.codec* you can also do the same with this sys:classFilterType if you are using geornimo 2.x On Sat, Feb 16, 2013 at 7:45 PM,

Re: Releaseplan Geronimo 4.0 JavaEE 7

2013-01-04 Thread Shawn Jiang
It might be the time to push a new 3.0.1 release considering the changes we've made since Geronimo 3.0.0 But I don't think that there have been any Java EE 7 discussion or release plan for Geronimo 4.0 in community. On Sat, Jan 5, 2013 at 3:25 AM, wrote: > Does anybody have any information o

Re: JNDI Lookup

2012-11-21 Thread Shawn Jiang
luded in the classpath of the AppClient. Also, > the following entry is included in the maven dependancy: > > > org.apache.openejb > openejb-client > 4.0.0 > provided > > > > Currently, I have an EAR archive that

Re: JNDI Lookup

2012-11-18 Thread Shawn Jiang
I'd like to know the structure of your EAR. Are you doing the JNDI searching in the same EAR or in separate EAR ? What's module the JNDI lookup is in ? WAR, or AppClient. I remember for remote interface based JNDI EJB lookup in G3. you'll have to import the remote interface in the client mod

Re: CARGO: A tool for easy manipulation of your Java EE server(s) - Now with Geronimo 3.x support!

2012-08-30 Thread Shawn Jiang
cool : ) On Sat, Aug 25, 2012 at 2:44 PM, S. Ali Tokmen wrote: > Hello, Geronimo enthusiasts > > This is S. Ali Tokmen from the Codehaus CARGO team. I had sent another > e-mail about one and a half years back, and now I'd like to announce you > the immediate availability of CARGO 1.2.4. > > Firs

Re: I can't build Geronimo-3.0.0

2012-08-23 Thread Shawn Jiang
G3.0.0 code has been built and verified by different community members at vote time. What's the JDK version and Maven version you are using ? On Thu, Aug 23, 2012 at 9:46 PM, Julia Chang wrote: > Hi, All. > I downloaded the source of geronimo-3.0.0 from release site and svn(tag). > I tried to b

Re: [discussion]Time to release to Geronimo 2.2.2 ?

2012-07-26 Thread Shawn Jiang
I recently fixed some of my misinterpretations of the jaspic spec in 3.0, > and these should be ported back to 2.2.x. > > thanks > david jencks > > On Jun 27, 2012, at 6:49 PM, Shawn Jiang wrote: > > We had some discussion with a user request [1], The initial thought from >

Re: [discussion]Time to release to Geronimo 2.2.2 ?

2012-07-19 Thread Shawn Jiang
n for them instead of upgrading the default EJB 3.0 and JPA 1.0 in the server directly. On Thu, Jul 19, 2012 at 7:40 PM, Kevan Miller wrote: > > On Jul 19, 2012, at 5:33 AM, Shawn Jiang wrote: > > > Thanks, David ! > > > > Devs and Users, Any more inputs ? > > Th

Re: [discussion]Time to release to Geronimo 2.2.2 ?

2012-07-19 Thread Shawn Jiang
Thanks, David ! Devs and Users, Any more inputs ? On Thu, Jun 28, 2012 at 10:31 AM, David Jencks wrote: > I recently fixed some of my misinterpretations of the jaspic spec in 3.0, > and these should be ported back to 2.2.x. > > thanks > david jencks > > On Jun 27, 2012, at

Re: Request for Geronimo 2.2.2 Release

2012-07-19 Thread Shawn Jiang
Hello, Geronimo 3.0 has been released, it's time to discuss what we want to include to the Geronimo 2.2.2. You mentioned you want to include a JIRA fix in the release. Can you be more specific ? I opened another thread on Geronimo 2.2.2, please also comment on that thread if it's possible.

Re: [ANNOUNCEMENT] Apache Geronimo v3.0.0 released!

2012-07-13 Thread Shawn Jiang
Congrats ! On Fri, Jul 13, 2012 at 8:37 PM, Forrest Xia wrote: > The Apache Geronimo project is pleased to announce the available of Apache > Geronimo v3.0.0 server. This release is a formal release of version 3 after > 3.0-beta-1. It includes Tomcat assemblies only. Besides Java EE 6 > complian

[discussion]Time to release to Geronimo 2.2.2 ?

2012-06-27 Thread Shawn Jiang
We had some discussion with a user request [1], The initial thought from me is to include the security patches since G2.2.1 and pull in the recent openejb 3.1.5 clustering changes. But it seems openejb 3.1.5 is not ready now, we have to hold until openejb is in a good shape. In this period, we

Re: Request for Geronimo 2.2.2 Release

2012-06-25 Thread Shawn Jiang
I'll start a Geronimoi 2.2.2 release discussion in near term . We'll include the accumulated security patches and bug fixes and to pull in the clustering update in openejb 3.1.5 for Geronimo 2.2.2. I'll use that thread to know the other requirements from community before starting the release. On

Re: Request for Geronimo 2.2.2 Release

2012-06-13 Thread Shawn Jiang
ral issues when Geronimo 3.0 is in a good shape. On Wed, Jun 13, 2012 at 9:05 PM, Kevan Miller wrote: > > On Jun 7, 2012, at 1:24 AM, Shawn Jiang wrote: > > > Most of the focus have been in Geronimo 3.x instead of Geronimo 2.2 > branch in community. Do you have any specific requi

Re: Problem accessing JSF application with "geronimo-3.0-beta-1-Jetty"

2012-06-11 Thread Shawn Jiang
We only passed Java EE 6 TCK for tomcat assembly when doing the beta-1 release. It's not surprise to see more problem in Jetty assembly. I would suggest you to try geronimo 3.0-beta-1 tomcat assembly. On Thu, Jun 7, 2012 at 5:06 PM, xanadu72 wrote: > My JSf 2.0 ear application is working fi

Re: Request for Geronimo 2.2.2 Release

2012-06-06 Thread Shawn Jiang
Most of the focus have been in Geronimo 3.x instead of Geronimo 2.2 branch in community. Do you have any specific requirement that has to be fulfilled with Geronimo 2.2.x instead of Geronimo 3.x ? We'd like to hear more voice on if we need to plan a near term Geronimo 2.2.2 release. On Wed, Jun

Re: I don't see my posts showing up in the list.

2012-04-10 Thread Shawn Jiang
It's a nabble <--> Maling list bridge issue. You need to do the post against users or dev sub-forum because the root geronimo nabble forum does not have corresponding mailing list bridge. Your current post was routed from the geronimo users nabble sub-forum. On Wed, Apr 11, 2012 at 7:24 AM, Ste

Re: Does Wink comes with Geronimo-Tomcat 3.0 beta 1?

2012-02-15 Thread Shawn Jiang
#2 is a known issue https://issues.apache.org/jira/browse/GERONIMO-6122 On Tue, Feb 14, 2012 at 12:00 AM, Teimatini Marin wrote: > I was using geronimo web profile. > > After changing to use full profile, It works as expected (without wink's > jars into my war). > > Now, I have two questions r

Re: [ANNOUNCE] Apache Geronimo v2.1.8 is Released!

2011-12-29 Thread Shawn Jiang
Great job ! On Thu, Dec 29, 2011 at 3:58 PM, Forrest Xia wrote: > The Apache Geronimo project is pleased to announce the availability of > Apache Geronimo v2.1.8. This release includes quite a few new features, > improvements, as well as bug fixes. Please see the detail information in 2.1.8 > re

Re: MDB in Geronimo 3.0-beta-1

2011-12-14 Thread Shawn Jiang
The default resource adapter name is "ActiveMQ RA" instead of "DefaultActiveMQConnectionFactory" in your plan. Try this: DefaultActiveMQConnectionFactory to ActiveMQ RA On Thu, Dec 15, 2011 at 12:53 AM, random21 wrote: > Hi Folks, I've been playing around with with the latest beta release

Re: GEP 2.2.1 and Geronimo 2.2.1 Issue

2011-10-11 Thread Shawn Jiang
We need to open GEP JIRAs to track these issues. On Tue, Oct 11, 2011 at 3:13 PM, Yi Xiao wrote: > > Hi Steve, > I have a test with GEP2.2.1 and Geronimo server2.2.1. The GEP2.2.1 has the > problem you describe. > Then, I test it under GEP3.0.0, the problem when you press "start button" > is gone

Welcome Shenghao Fang as a new Geronimo committer

2011-08-18 Thread Shawn Jiang
I'd like to welcome Shenghao Fang on aboard, as he recently accepted the Geronimo PMC invitation to become a committer. His account was just created , so you should start seeing some commits from him soon. -- Shawn

Re: Help with G3.0 building

2011-06-10 Thread Shawn Jiang
Thanks for reporting this, I tried to remove the old jaxws spec 1.0 in my local repo and then still can build uddi plugins without problems. Anyway, something like this in root pom.xml to exclude jaxws spec dependency from uddi-ws artifact would resolve this. org.

Re: GBeans fails with missing dependency, but it's shown in the Console

2011-04-27 Thread Shawn Jiang
The ERROR is wired to me too, What's the full deploy command your were using ? 2.0.1 is pretty old, you might want to try the latest geronimo 2.1.7 or geronimo 2.2.1 release to try it again. As for the PostgreSQL support, if you use 2.1.x or 2.2.x , you could 1, lauch web admin console 2, Se

Re: EclipseLink JPA and Geronimo Question

2011-02-25 Thread Shawn Jiang
gt; Seems like GF hides a lot of details from the developers. Once I get > this right i would like to contribute to the Geronimo Wiki with the > steps. > > > > > On Fri, 2011-02-25 at 17:28 +0800, Shawn Jiang wrote: > > Have you added your datasouce pool as a dependency in yo

Re: EclipseLink JPA and Geronimo Question

2011-02-25 Thread Shawn Jiang
Have you added your datasouce pool as a dependency in your geronimo deployment plan ? On Fri, Feb 25, 2011 at 4:51 PM, Neil Franken wrote: > Hi All > > Sorry if this question is a newbie type thing. I am busy with a EAR > application that consist out of the usual stack of EJB and JSp/Servlets. >

Re: Geronimo 2.2, EJB call from client code running on same server

2011-01-17 Thread Shawn Jiang
try this: Properties p = new Properties(); p.put("java.naming.factory.initial", "org.apache.openejb.client.RemoteInitialContextFactory"); p.put("java.naming.provider.url", "ejbd://localhost:4201");// user and pass optionalp.put("java.naming.security.principal", "myuser"); p.put("java.naming.securi

Re: JAX-RS and Geronimo

2011-01-16 Thread Shawn Jiang
It's not possible to expose stateless session bean as JAX-RS resource by only putting cxf/wink into WAR. As Java EE 5 app server, Geronimo 2.x does not have built-in logic to do this. For pojo based jax-rs in Geronimo 2.x. 1, If you put wink/jax-rs-api in your war, there'll be no classpath iss

Re: GEP 2.2.0 really slow

2010-12-27 Thread Shawn Jiang
This problem has been fixed with this JIRA: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-608 The fix will be included in coming GEP 2.2.1 release. On Mon, Dec 27, 2010 at 8:15 PM, Steve Higham wrote: > I'm trying to develop a

Re: Subscription

2010-12-15 Thread Shawn Jiang
Hi Sanjay, Please send mail to user-subscr...@geronimo.apache.org to subscribe to the user list. On Wed, Dec 15, 2010 at 1:32 PM, sanjay kumar wrote: > Hi, > Please add me as a user to the Geronimo mailing list. > > -- > Regards: > Sanjay Kumar > sanjaykumar2891...@gmail.com > Java Developer >

Re: issue deploying webapp with security realm

2010-05-25 Thread Shawn Jiang
There are fixes for GERONIMO-5010, GERONIMO-5011 recently, could you try the latest 22 branch code to see if the fixes resolve your problems ? On Tue, May 25, 2010 at 8:47 PM, Łukasz Budnik wrote: > GERONIMO-5010, GERONIMO-5011 -- Shawn

Re: EJB in Apache Geronimo : Java client invokation

2010-05-24 Thread Shawn Jiang
The provide url should be like this: props.setProperty("java.naming.provider.url", "ejbd:"+hostName+":"+port); On Mon, May 24, 2010 at 8:01 PM, zecas wrote: > > Hi, > > I'm trying to connect a standalone java client application to an EJB in > Apache Geronimo, but with no success so far. > > It'

Re: Can't get dojo to work on Geronimo 2.2 with Java 64 bit SDK

2010-03-24 Thread Shawn Jiang
Hi Justin, Try this http://localhost:8080/dojo/dojo/dojo.js the first /dojo is the context name of installed dojo war. /dojo/dojo.js is the path under the dojo war. On Thu, Mar 25, 2010 at 6:53 AM, zmorgan wrote: > > I am having problems confirming my dojo install. The console and database

Re: Geronimo processes compared to WebSphere

2010-03-14 Thread Shawn Jiang
On Mon, Mar 15, 2010 at 8:27 AM, jsguru72 wrote: > > I have used Tomcat for some time and I am now looking to expand to a full > JavaEE application server. There are so many to choose from and it seems > everyone has their favorite. This is not a "which is better" discussion. > > WebSphere appe

Re: 2.2 in production

2010-03-04 Thread Shawn Jiang
The WADI is still 2.1.1 in both 22 branch and trunk somehow. If no objection, I'll upgrade it to 2.1.2. On Sat, Nov 14, 2009 at 2:59 PM, Gianny Damour < gianny.dam...@optusnet.com.au> wrote: > Hi Trygve, > > Thanks for your test. > > These warnings indicate that a session replication message was

Re: geronimo2.2- web UI not getting loaded

2009-12-30 Thread Shawn Jiang
I guess you are using *Little-G*: geronimo-tomcat6-minimal-2.2-bin.tar.gz. To use web console, you should download the *full geronimo server*: geronimo-tomcat6-javaee5-2.2-bin.tar.gz On Thu, Dec 31, 2009 at 12:36 PM, Shailendra wrote: > Hi Forrest, > Thanks for the reply. > > Tried http://local

Re: [ANNOUNCE] Availability of Geronimo 2.2

2009-12-29 Thread Shawn Jiang
Great ! ---Ding--- : ) On Wed, Dec 30, 2009 at 12:38 PM, Delos wrote: > Great news! If possible, I will start release process for GEP 2.2 soon. > > Thanks all! > > 2009/12/30 Jack Cai > > Cool! We finally made it before 2010! :-) >> >> -Jack >> >> On Wed, Dec 30, 2009 at 10:23 AM, Bill Stodda

Re: Welcome "Jack" Jun Jie Cai as a new committer

2009-12-29 Thread Shawn Jiang
Congrats ! On Wed, Dec 30, 2009 at 10:10 AM, Ivan wrote: > I would like to welcome Jack aboard, as he recently accepted the Geronimo > PMC invitation to become a committer. His account was just created this > morning (caijunj), so you should start seeing some commits from him soon. > > -- > Iva

Re: Remote Deployment: Connection Refused

2009-11-25 Thread Shawn Jiang
Please do following to see if B instance is listening to the right ip:port. 1, *sh...@geronimo>** netstat -na|grep 1099* If everything is OK, you should see this *B_IP_address:10990.0.0.0:* LISTEN* or this *0.0.0.0:1099 0.0.0.0:* LISTEN* which mean

Re: Some features of WADI cluster in G22

2009-09-15 Thread Shawn Jiang
2009/9/4 David Jencks > > On Sep 3, 2009, at 7:28 PM, 梁昆 wrote: > > Hi all, > Recently,I have some questions about WADI cluster,pls help me,thanks > a lot. > I have two nodes A is the master node and B is another one.I deploy > cviewer.war in the node A and node B has the same cviewer.war.

Re: context-root question!!!!

2009-08-19 Thread Shawn Jiang
sense but it seems that the directory > structure is different from v1.1 to v2.1 > > i cant find the indicated file httpd.conf where all the changes should be > placed. > > > > Shawn Jiang wrote: > > > > I'm not sure if geronimo support the context root alias.

Re: context-root question!!!!

2009-08-19 Thread Shawn Jiang
I'm not sure if geronimo support the context root alias. but you definitely can use Apache http server to archive this: See the example here: http://cwiki.apache.org/GMOxDOC11/configure-apache-httpd-as-a-reverse-proxy-modproxy.html The example demonstrates how to map 8080 port request to 80 po

Re: Could not resolve reference for persistence/jpaEntity#org.apache.geronimo.persistence.PersistenceUnitGBean

2009-07-03 Thread Shawn Jiang
.Method.invoke(Unknown Source) > > at > > > org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > > at > > > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) > > at >

Re: ClassCastException with Log4J when Running Multiple Ears

2009-07-02 Thread Shawn Jiang
Since the log4j jar is in your web module. Have you tried to add hidden-classes in your WAR/WEB-INF/geronimo-web.xml ? Greythorn wrote: > > Scenario: I deploy two ear files. The first application I can access > successfully, the application's logging working fine (to console and log > file).

Re: Could not resolve reference for persistence/jpaEntity#org.apache.geronimo.persistence.PersistenceUnitGBean

2009-06-27 Thread Shawn Jiang
; > at > > > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) > > at > > > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867) > > at > > org.apache.geronimo.kernel.basic.BasicKernel.invok

Re: Could not resolve reference for persistence/jpaEntity#org.apache.geronimo.persistence.PersistenceUnitGBean

2009-06-25 Thread Shawn Jiang
ans something I need to concern > myself with . No, To develop EJB and JPA apps, you don't need to add GBean at all. > > > Regards, > > Chris > > > Shawn Jiang wrote: > > > > To make Geronimo find the PU, I think the structure of your EAR should be >

Re: Could not resolve reference for persistence/jpaEntity#org.apache.geronimo.persistence.PersistenceUnitGBean

2009-06-24 Thread Shawn Jiang
ee/application_5.xsd"; version="5"> my EJB my EJB jpaFacade.jar On Thu, Jun 25, 2009 at 9:38 AM, Shawn Jiang wrote: > To make Geronimo find the PU, I think the structure of your EAR should be > like this: > META-INF/MANIFEST.MF >/geroni

Re: Could not resolve reference for persistence/jpaEntity#org.apache.geronimo.persistence.PersistenceUnitGBean

2009-06-24 Thread Shawn Jiang
actDeployCommand.java:116) >at > > org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61) >at java.lang.Thread.run(Unknown Source) > > I searched the internet in order to see if anyone else encountered this > issue. I f

Re: calculator example program

2009-06-23 Thread Shawn Jiang
you need to check if your maven pom.xml has a dependency to this: org.apache.geronimo.specs geronimo-annotation_1.0_spec 1.1.1 On Tue, Jun 23, 2009 at 6:14 PM, vesa norrman wrote: > javax.annotation.PostConstruct > -- Shawn

Re: 2.2 release

2009-06-22 Thread Shawn Jiang
What's the 2.2 branch status now ? Can it be started in this week ? On Mon, Jun 8, 2009 at 11:53 PM, David Jencks wrote: > > On Jun 8, 2009, at 6:34 AM, Ashwill, Steve (Facilities & Services) wrote: > > Hello, > Can anyone tell me if there is a new roadmap in the works defining a > release sched

Re: Cannot deploy requested application

2009-06-16 Thread Shawn Jiang
If you can attach your ear package here, it would be better. : ) On Tue, Jun 16, 2009 at 8:40 PM, Shawn Jiang wrote: > I still need your EAR structure, please post it like this: > > > EAR > ---META-INF >--applicaton.xml >--ger

Re: Cannot deploy requested application

2009-06-16 Thread Shawn Jiang
/openejb-jar-2.2"; > > xmlns:name="http://geronimo.apache.org/xml/ns/naming-1.2"; > > xmlns:pers="http://java.sun.com/xml/ns/persistence"; > > xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1"; > > xmlns:sec="http://geronimo.

Re: Cannot deploy requested application

2009-06-16 Thread Shawn Jiang
Can you post more information about your ear ? 1, the structure of you ear 2, the content of the EJB, deployment descritor. On Tue, Jun 16, 2009 at 6:57 PM, ChrisAdkin wrote: > > I'm getting the following when trying to deploy an EAR file to Geronimo > 2.1, > the EAR project consist of a single

Re: jar files for org.openejb.client.RemoteInitialContextFactory

2009-06-12 Thread Shawn Jiang
The jar file could be found in place like this: $geronimo_home\repository\org\apache\openejb\openejb-client\3.0.1\openejb-client-3.0.1.jar The version might varies according to the geronimo version you are using. BTW. geronimo 2.2 is not released yet. The latest geronimo release is 2.1.4. : )

Re: The Geronimo Console page encoding is not displaying correctly for chinese character!

2009-06-08 Thread Shawn Jiang
Unfortunately, it's a known bug of geronimo 2.1.4 and will be fixed in 2.1.5 and 2.2. See this JIRA for details: https://issues.apache.org/jira/browse/GERONIMO-4609 You have to set your browser language to Non-Chinese to resolve it, thanks. On Tue, Jun 9, 2009 at 9:36 AM, Boern wrote: > Hi,all:

Re: too many open files --> fills disk

2009-06-05 Thread Shawn Jiang
f that had any impact. > > Trygve > > > On Fri, Jun 5, 2009 at 11:49 AM, Trygve Hardersen wrote: > >> Sorry, we're using 2.2-SNAPSHOT, revision 779302 with jetty6 instead of >> jetty7. >> >> Trygve >> >> >> On Fri, Jun 5, 2009 at 11:45

Re: too many open files --> fills disk

2009-06-05 Thread Shawn Jiang
What's version are you using ? There was a fixed JIRA related to this before: https://issues.apache.org/jira/browse/GERONIMO-3151 On Fri, Jun 5, 2009 at 5:36 PM, Trygve Hardersen wrote: > java.io.IOException: Too many open files -- Shawn

Re: Exception when run Bank sample client in a command line window

2009-06-05 Thread Shawn Jiang
can you please check if each jar path in your classpath is valid ? Eg. GERONIMO_HOME%/repository/org/apache/openejb/openejb-client/3.0/openejb-client-3.0.jar might be GERONIMO_HOME%/repository/org/apache/openejb/openejb-client/3.0.1/openejb-client-3.0.1.jar On Wed, Jun 3, 2009 at 10:45 PM, Rodg

Re: log into web applications of jetty contained in geronimo with the geronimo log4j.properties file

2009-06-05 Thread Shawn Jiang
Have you tried to change those WARN to DEBUG or TRACE ? BTW: you could use application specific log setting with the guide here: http://cwiki.apache.org/GMOxDOC21/configuring-application-specific-logging-with-log4j.html . Which could separate your app log from the geronimo log itself. On Wed,

Re: LifecycleException failed deploy in SimpleConfigurationManager

2009-06-05 Thread Shawn Jiang
What kind of war you are deploying ? you could attach the whole log file under var/log/ so that we can help to identify the cause. It's better if you can attach the war here. On Wed, Jun 3, 2009 at 5:13 PM, Ron Lane wrote: > > When trying to deploying a module, it didn't deploy, saying: > or

Re: Start server without open ports - possible?

2009-05-19 Thread Shawn Jiang
On Fri, Feb 6, 2009 at 1:51 AM, David Jencks wrote: > > On Feb 5, 2009, at 4:57 AM, Juergen Weber wrote: > > >> I've created a custom server assembly and reduced a server to Boilerplate >> Minimal and OpenEJB. This works, the server comes up (see below). >> >> But, can the server be started witho

Re: inject EJB in Webapplication

2009-04-15 Thread Shawn Jiang
onUID = 1L; @EJB private CounterRemote counter; } 3, I don't have any mapping in any deployment plan. It just worked. On Wed, Apr 15, 2009 at 10:09 PM, Fredrik Jonson wrote: > Shawn Jiang wrote: > > > I encounter the same problem. Here is my case. > > 1, deploy a

Re: inject EJB in Webapplication

2009-04-15 Thread Shawn Jiang
default > CounterBean > 1.0 > > car > > > > > On Wed, Apr 15, 2009 at 5:52 PM, Shawn Jiang wrote: > >> I encounter the same problem. Here is my case. >&g

Re: inject EJB in Webapplication

2009-04-15 Thread Shawn Jiang
I encounter the same problem. Here is my case. 1, deploy a ear package contain a session bean(deployed JNDI name "CounterBeanRemote") implement a remote interface. 2, deploy a war package that contains a servlet using @EJB(mappedName="CounterBeanRemote") to inject the EJB. When I access the ser

Re: GBean documentation improvement

2009-03-19 Thread Shawn Jiang
On Fri, Mar 20, 2009 at 3:11 AM, Radim Kolar wrote: > > I have some suggestions about improving following document: > > http://cwiki.apache.org/GMOxDOC22/developing-and-deploying-a-geronimo-gbean.html > > 1. GBean Lifecycle section > what is doFail() method expected to do? Shutdown gbean and ma

Re: new IBM book: Using WASCE 2.1

2009-03-06 Thread Shawn Jiang
" there is code that examines the class using reflection and adds all the operations. " Can you point out where is the code you mentioned so that we can add it to the GBean introduction topic ? On Fri, Mar 6, 2009 at 3:45 PM, David Jencks wrote: > > On Mar 5, 2009, at 5:59 PM, S

Re: new IBM book: Using WASCE 2.1

2009-03-05 Thread Shawn Jiang
In the traditional GBean, we could use: infoFactory.addOperation("isStarted", "String"); to expose a method of GBean, I'm asking if there is corresponding annotation way to expose a method. On Thu, Mar 5, 2009 at 5:05 PM, David Jencks wrote: > > On

Re: new IBM book: Using WASCE 2.1

2009-03-05 Thread Shawn Jiang
Does anyone known how to define the GBean method in annotation way of geronimo 2.2 ? I could not find any info about this in: http://cwiki.apache.org/GMOxDEV/gbean-annotations.html On Thu, Mar 5, 2009 at 4:39 PM, Ying Tang wrote: > Hi Juergen, > > Thanks for your suggestion.  I made some changes

Re: Geronimo-2.1.4 snapshot, server can't shutdown

2009-02-26 Thread Shawn Jiang
The problem is caused by the default geronimo/start-server port is 1099 no matter what value it's in config_substitution.properties. A JIRA has been created for this: https://issues.apache.org/jira/browse/GSHELL-162 On Wed, Feb 25, 2009 at 5:18 PM, Ying Tang wrote: > Hi, > >      I tried this

Re: Maven build failed with missing WEB-INF/geronimo-web.xml

2009-01-11 Thread Shawn Jiang
It could be : <*plugins*> <*plugin*> org.apache.*maven*.*plugins* *maven*-XXX-*plugin* <*manifest*> false The XXX stands for war, jar, or ear. 2009/1/11 David Jencks > > On Jan 10, 2009, at 12:22 PM, bongosdude wrote: > > >> David, >> >> This is

Re: ejb client

2008-12-30 Thread Shawn Jiang
Sure you'll want to put your remote interface classes(here is the ShoppingCart) in your client classpath. 2008/12/31 axiez > > This time it threw Exception as follows: > Exception in thread "main" javax.naming.NamingException: Cannot lookup > '/ShoppongCartBeanRemote'. [Root exception is java.rm

Re: ejb client

2008-12-30 Thread Shawn Jiang
OK, you still need to - add two jars to the classpath when you execute the client app. 1. geronimo\repository\org\apache\geronimo\framework\geronimo-security\2.1.3\geronimo-security-2.1.3.jar 2. geronimo\repository\org\apache\openejb\openejb-client\3.0\openejb-client-3.

Re: ejb client

2008-12-30 Thread Shawn Jiang
[startup] Jndi(name=ShoppingCartBeanRemote) - OK, Just as David said, the ShoppingCartBeanRemote is your EJB remote jndi name. you can look it up and use it in your client app. -- Shawn

Re: ejb client

2008-12-30 Thread Shawn Jiang
The log below is from log when deploying a simple hello world EJB. Seems your EJB does not get recognized. Have you ever deployed a helloworld EJB before this shopping EJB ? Can you send your src and exported jar as attachment for further diagnose ?

Re: ejb client

2008-12-29 Thread Shawn Jiang
I see no problems in your code,I noticed some d:\dir1\dir2\dir3\yourDirectory in the log, can you please tell me what's your deploy method ? I suggest exporting EJB to a jar file then deploy it to geronimo with "deploy.bat|sh deploy path/to/jar".

Re: ejb client

2008-12-29 Thread Shawn Jiang
sure ejb-jar.xml is only optional for ejb 3.0, But I can't tell what's wrong with your app with the info you provided. Can you paste your ShoppingCartBean.java, ShoppingCart.java here ? -- Shawn

Re: ejb client

2008-12-29 Thread Shawn Jiang
you need to use the bean's remote interface name here instead of the bean class name itself. As for "ShoppingCartBean/remote" in the lookup method, you need to confirm it's the JNDI name of your EJB remote interface.(you can get the JNDI name of your EJB by searching "[startup] Jndi(name=" in the

Re: ejb client

2008-12-28 Thread Shawn Jiang
With some search, it seems that you do need to provide the ejb container info by 1, providing a jndi.properties in your client classpath with following content: java.naming.factory.initial=org.openejb.client.RemoteInitialContextFactory java.naming.provider.url=ejb_container_ip:4201 java.naming.s

Re: Unable to deploy on a remote server in GEP

2008-12-02 Thread Shawn Jiang
If this is not a part of current document, I suggest to add a task "How to deploy on a remote geronimo server in GEP" somewhere under http://cwiki.apache.org/GMOxDOC22/development-environment.html 2008/12/2 Tim McConnell <[EMAIL PROTECTED]>: > I did not. Once I did it works as expected. Thanks mu