[ANNOUNCEMENT] Apache Geronimo Eclipse Plugin(GEP) v3.0.1 is released!

2013-06-02 Thread Forrest Xia
Hi all,

The Apache Geronimo project is pleased to announce the available of Apache
Geronimo Eclipse Plugin v3.0.1. This release provides support for Geronimo
server 3.0.1 as well as the previous server releases. It also supports
Eclipse 4.2 (Juno). This release contains some bug fixings and enhancements
for OSGi programming model. Specific details can be found in the Plugin
Release 
Notes
.

The new version have been available through eclipse update
site
 now.
-- 
Thanks!

Regards, Forrest


EXTRA! EXTRA! Apache Geronimo v3.0.1 Released!

2013-05-28 Thread Forrest Xia
I'm pleased to announce that Apache Geronimo v3.0.1 is released today! This
is a bug fixing release of version 3.0. Besides the support of full profile
of Java EE 6 and enablement of running with Java 7 , a couple highlights
are:

   - Tomcat upgraded to 7.0.39
   - Tranql upgraded to 1.8 to support JDBC 4
   - MyFaces upgraded to 2.1.10 to support JSF 2.1
   - OpenJPA upgraded to 2.2.2
   - Yoko upgraded to 1.4
   - ActiveMQ upgraded to 5.4.3

The Geronimo home page shall be refreshed some time later to display the
release news. For those unpatient, please visit this confluence
URLto
try Geronimo v3.0.1 now!

-- 
Thanks!

Regards, Forrest


[ANNOUNCEMENT] Apache Geronimo Samples and Daytrader v3.0.0 Released !

2012-07-13 Thread Forrest Xia
The Apache Geronimo project is pleased to announce the 3.0.0 release of
Geronimo Samples and Daytrader. These releases are aligned with Geronimo
Server 3.0.0 release. To play with these samples, you can check out the samples
source 
code<http://svn.apache.org/repos/asf/geronimo/samples/tags/samples-parent-3.0.0/>
 and daytrader source
code<http://svn.apache.org/repos/asf/geronimo/daytrader/tags/daytrader-parent-3.0.0/>,
then build and run them from scratch.

Forrest Xia
Apache Geronimo Project
July 13, 2012


[ANNOUNCEMENT] Apache Geronimo v3.0.0 released!

2012-07-13 Thread Forrest Xia
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
compliance achieved since 3.0-beta-1, Geronimo v3.0.0 release add Java 7
support for all of Java EE 6 web profile technologies. Please see the
detail information in 3.0.0 release
notes<http://svn.apache.org/repos/asf/geronimo/server/tags/geronimo-3.0.0/RELEASE_NOTES-3.0.0.txt>
.

A couple highlights are:

   - Tomcat upgraded to 7.0.27
   - OSGi upgraded to 4.3
   - BVal upgraded to 0.4
   - Update Derby to version 10.8.2.2
   - Support for class hot swap for OSGi applications

Visit the Downloads <http://geronimo.apache.org/downloads.html> page for
details on downloading Apache Geronimo v3.0.0 server assemblies. Note that
the mirror web sites take time to sync, so you may choose the
www.us.apache.org site to download the server.

Forrest Xia,

Apache Geronimo Project

July 13, 2012


Re: Using @EJB annotation instead of looking up for EJB

2012-06-26 Thread Forrest Xia
On Mon, Jun 25, 2012 at 1:34 PM, nemesis_sun  wrote:

> Hi Forrest,
>
> I couldn't find an example in the given link on how to use @EJB instead of
> InitialContext.lookup()
> The client there still uses lookup() to get EJB.
>
Just made some updates to bank sample in the 3.0 branch ->
https://svn.apache.org/repos/asf/geronimo/samples/branches/3.0/samples/javaee5/bank/

You can compile it and run against 3.0.0-SNAPSHOT build, for app client
run, just execute a command like this:
$GEORNIMO_HOME/bin/client
org.apache.geronimo.samples.javaee5/bank-tomcat_bank-client-3.0.0-SNAPSHOT.jar/3.0.0-SNAPSHOT/car


>
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/Using-EJB-annotation-instead-of-looking-up-for-EJB-tp3985253p3985255.html
> Sent from the Users mailing list archive at Nabble.com.
>



-- 
Thanks!

Regards, Forrest


Re: Using @EJB annotation instead of looking up for EJB

2012-06-24 Thread Forrest Xia
Refer to bank sample, for example,
https://svn.apache.org/repos/asf/geronimo/samples/tags/samples-parent-2.2.1/samples/bank/

On Mon, Jun 25, 2012 at 12:55 PM, nemesis_sun  wrote:

> Hi guys,
>
> I'm new and on the way of learning Geronimo. I have this simple
> application,
> there is one EJB application and one App Client. In the EJB app, I have one
> remote interface (with "@Remote"), one EJB(with "@Stateless"). In the App
> Client, I have a Main class which accesses the EJB and calls some of its
> functions.
>
> The problem is, I am able to use InitialContext.lookup() to retrieve an
> instance of the EJB, but not so with the @EJB annotation. It returns a NULL
> value.
>
> So can someone help me on this issue, how to use @EJB instead of lookup()?
> Please also note that all the annotations I just listed are without any
> element. I know with this alone the server may not have enough info on
> where
> to look for the EJB, so maybe there is some way to specify it, either in
> those annotations or the the deployment plan (my priority is in the
> annotations, if there is any)
>
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/Using-EJB-annotation-instead-of-looking-up-for-EJB-tp3985253.html
> Sent from the Users mailing list archive at Nabble.com.
>



-- 
Thanks!

Regards, Forrest


Re: Performance between 2.2.1 & 3.0.0

2012-06-24 Thread Forrest Xia
Hi vdox,

Thank you for your testing on server startup and deployment time
performance. I think they are useful information for the community to
trigger some analysis. But before that, I also did some testing on my linux
box(Ubuntu 10.04 x86_64). Here are my configuration and results:

$ uname -a
Linux forrestxm-u64 2.6.32-41-generic #90-Ubuntu SMP Tue May 22 11:29:51
UTC 2012 x86_64 GNU/Linux

$ free -t
 total   used   free sharedbuffers cached
Mem:   36082602856884 751376  01196196 735504
-/+ buffers/cache: 9251842683076
Swap:  4305912  400244265888
Total: 791417228969085017264

$ cat /proc/cpuinfo
processor: 0
vendor_id: GenuineIntel
cpu family: 6
model: 42
model name: Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz
stepping: 8
cpu MHz: 2601.000
cache size: 3072 KB
physical id: 0
siblings: 2
core id: 1
cpu cores: 1
apicid: 2
initial apicid: 2
fpu: yes
fpu_exception: yes
cpuid level: 13
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good xtopology tsc_reliable
nonstop_tsc aperfmperf pni ds_cpl ssse3 cx16 popcnt lahf_lm ida arat
bogomips: 5202.00
clflush size: 64
cache_alignment: 64
address sizes: 36 bits physical, 48 bits virtual
power management:

processor: 1
vendor_id: GenuineIntel
cpu family: 6
model: 42
model name: Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz
stepping: 8
cpu MHz: 2601.000
cache size: 3072 KB
physical id: 0
siblings: 2
core id: 1
cpu cores: 1
apicid: 3
initial apicid: 3
fpu: yes
fpu_exception: yes
cpuid level: 13
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx lm
constant_tsc arch_perfmon pebs bts rep_good xtopology tsc_reliable
nonstop_tsc aperfmperf pni ds_cpl ssse3 cx16 popcnt lahf_lm ida arat
bogomips: 5202.00
clflush size: 64
cache_alignment: 64
address sizes: 36 bits physical, 48 bits virtual
power management:

$ java -version
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02, mixed mode)

$ export GERONIMO_OPTS="-Djava.security.egd=file:/dev/./urandom"

G 2.2.1
1. First time startup: Startup completed in 16.641s seconds
2. Second time startup: Startup completed in 14.357s seconds

G 3.0.0-SNAPSHOT built on 20120620:
1. First time startup: Startup completed in 21.995s seconds
2. Second time startup: Startup completed in 15.935s seconds

So from the startup time results of mine, there is no big gap between 2.2.1
and 3.0.0-SNAPSHOT. But, for deployment time, there are some gaps saw from
my results as well.

About the deployment time issue, there is a known jira opened (
https://issues.apache.org/jira/browse/GERONIMO-6222), also there are some
improvements implemented in
https://issues.apache.org/jira/browse/GERONIMO-5813.

On Sun, Jun 24, 2012 at 8:04 PM, Dok Sander  wrote:

> Hello,
>
>  This was discussed with kevan to some extend on geronimo IRC channel on
> Freenode.
>
> There seems to be a considerable performance hit between Geronimo 2.2.1
> and 3.0.0. In addition to results below the overall loading times of the
> web UI are much longer in 3.0.0 than in 2.2.1. I understand this is a good
> time to try and find if the performance can be made better since the actual
> release of 3.0.0 is drawing near.
>
>
>
> -- vdox
>
>
>
> Platform specs:
>
> # uname -s -r -v -m -p -i -o
> Linux 3.1.10-1.9-ec2 #1 SMP Thu Apr 5 18:48:38 UTC 2012 (4a97ec8) x86_64
> x86_64 x86_64 GNU/Linux
>
> # free -t
>  total   used   free sharedbuffers cached
> Mem:   17516441385060 366584  0  64644 827940
> -/+ buffers/cache: 4924761259168
> Swap:0  0  0
> Total: 17516441385060 366584
>
> # cat /proc/cpuinfo
> processor   : 0
> vendor_id   : GenuineIntel
> cpu family  : 6
> model   : 26
> model name  : Intel(R) Xeon(R) CPU   E5507  @ 2.27GHz
> stepping: 5
> cpu MHz : 2266.746
> cache size  : 4096 KB
> fpu : yes
> fpu_exception   : yes
> cpuid level : 11
> wp  : yes
> flags   : fpu de tsc msr pae cx8 apic sep cmov pat clflush acpi
> mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc up rep_good nopl
> nonstop_tsc aperfmperf pni ssse3 cx16 sse4_1 sse4_2 popcnt hypervisor
> lahf_lm dts
> bogomips: 4555.21
> clflush size: 64
> cache_alignment : 64
> address sizes   : 40 bits physical, 48 bits virtual
> power management:
>
> # java -version
> java version "1.7.0_b147-icedtea"
> OpenJDK Runtime Enviro

Re: Unable to locate MS SQL Server driver

2012-06-21 Thread Forrest Xia
You need to download ms sql jdbc driver from microsoft web site, then
install it into geronimo, then define a datasource which uses the jdbc
driver. You can refer to daytrader ms sql datasource plan for an example.

http://www.microsoft.com/en-us/download/details.aspx?id=2505
https://svn.apache.org/repos/asf/geronimo/daytrader/tags/daytrader-2.1.7/plans/src/main/resources/daytrader-mysql-xa-plan.xml

On Fri, Jun 22, 2012 at 6:30 AM, sai charan  wrote:

> Hi,
>
> I have Geronimo 2.1.1 and Microsoft SQL Server 2005 database, while i was
> creating the datasource, i found two options in the repository like SQL
> Server,SQL Server (Data Direct) & SQL Server (jTDS)... My question is is
> SQL Server same as MS SQL Server, if yes, then i tried to use the driver of
> MS Sql but i am not able to create a data source and connect to the
> database, Please help me in order to shut out this issue
>
> Thanks,
> Saicharan Burle.
>



-- 
Thanks!

Regards, Forrest


Re: JSF Dependencies

2012-06-18 Thread Forrest Xia
You need to rebundle org.primefaces_3.3.1 to make it depends on javax.faces
<= 2.0, otherwise, you need to figure out how to run JSF 2.1 impl of
myfaces in the geronimo first, then use your application by depending on it.

For JSF 2.1 impl of myfaces, refer to the open jira GERONIMO-6267, it's
currently not supported by Geronimo.

On Tue, Jun 19, 2012 at 10:06 AM, Russell Collins <
collins-soluti...@austin.rr.com> wrote:

>  Ok maybe I need to explain a little better.  Primefaces is basically a
> component library that sits on top of a JSF implementation similar to
> Apache MyFaces Tomahawk.  In Geronimo, the JSF implementation is MyFaces.
> Primefaces would not work at all if it did not have a JSF implementation
> (MyFaces, Mojorra).
>
> I have installed the Primefaces jar file in Geronimo successfully.  I am
> now just trying to references this component library that has already been
> installed.  I hope that clears up what I am trying to do.
>
> On 06/18/2012 08:28 PM, Ivan wrote:
>
> Currently, with Geronimo 3.0-beta, the version shipped from MyFaces is
> 2.0.9.1, so it could not match the requirement for primefaces [2.1.0,3.0.0)
>
> 2012/6/19 Russell Collins 
>
>>  I am trying to add Primefaces to the Geronimo Installation and then
>> reference that Primefaces Jar in my war file.  However, when I do this, I
>> get an error that says
>>
>> org.osgi.framework.BundleException: The bundle "org.primefaces_3.3.1
>> [377]" could not be resolved. Reason: Missing Constraint: Import-Package:
>> javax.faces; version="[2.1.0,3.0.0)"
>>
>> My geronimo-web.xml file looks like this.
>>
>>
>> 
>> http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1";>
>> http://geronimo.apache.org/xml/ns/deployment-1.2";>
>> 
>> com.acc
>> acc-web
>> 1.0-SNAPSHOT
>> war
>> 
>> 
>> 
>> org.apache.geronimo.bundles
>> myfaces-bundle
>> 2.0.9_1
>> jar
>> 
>> 
>> org.primefaces
>> primefaces
>> 3.3.1
>> jar
>> 
>> 
>> 
>> acc
>> 
>>
>> The assembly has been installed successfully.  What am I missing?  I
>> would really like to include the JSF implementation library with the
>> Geronimo install as opposed to having to include it in my .war file.
>>
>> Thank you
>>
>> --
>>
>> Russell
>>
>>
>
>
>  --
> Ivan
>
>
>
> --
>
> Russell collinscollins-soluti...@austin.rr.com
>
>


-- 
Thanks!

Regards, Forrest


Re: How to configure Geronimo 3.0 in Windows Environment

2012-05-21 Thread Forrest Xia
On Mon, May 21, 2012 at 3:48 AM, sai charan  wrote:

> Hello,
>
> I have installed Geronimo 2.0 in my PC, Now i want to replace that with
> Geronimo 3.0, I didn't find any configuration steps in the document, Is it
> similar to the 2.0 version containing wrapper files? I mean the
> configuration process is same as 2.0 or  different?

I found advanced features in Geronimo 3.0 document... And what version of
> java needed for 3.0 version.?
>
Use java 6 or 7 to start geronimo 3.0, the command is simply
GERONIMO_HOME\bin\startup.bat. or bin\startup

>
>
> Regards,
> Saicharan.
>



-- 
Thanks!

Regards, Forrest


Re: Exception during startup for little-g (Tomcat) 2.2.1

2012-05-01 Thread Forrest Xia
I don't recall G 2.2.1 has an issue like that, a JIRA with detailed
reproducible steps would be good!

On Sun, Apr 29, 2012 at 9:59 AM, Kevan Miller wrote:

>
> On Apr 29, 2012, at 1:27 AM, Cynepnaxa wrote:
>
> > Hello! i have the same issue too.
> > geronimo-tomcat6-javaee5-2.2.1
> > oracle jdk1.6.0_32 x64
> > ubuntu 11.10 x64
> > After change null to manager startup make few steps more and throw
> another
> > exception(diff say it's stacktrace have some differences):
> > 2012-04-29 11:43:19,675 INFO  [KernelContextGBean] bound gbean
> >
> org.apache.geronimo.framework/rmi-naming/2.2.1/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.2.1/car,j2eeType=Context,name=GeronimoContext
> > at name ger:
> > 2012-04-29 11:43:21,317 INFO  [SystemProperties] Setting
> > Property=javax.xml.soap.MetaFactory to
> > Value=org.apache.geronimo.webservices.saaj.GeronimoMetaFactory
> > 2012-04-29 11:43:21,319 INFO  [SystemProperties] Setting
> > Property=javax.xml.soap.MessageFactory to
> > Value=org.apache.geronimo.webservices.saaj.GeronimoMessageFactory
> > 2012-04-29 11:43:21,319 INFO  [SystemProperties] Setting
> > Property=java.net.preferIPv4Stack to Value=true
> > 2012-04-29 11:43:21,319 INFO  [SystemProperties] Setting
> > Property=javax.xml.soap.SOAPConnectionFactory to
> > Value=org.apache.geronimo.webservices.saaj.GeronimoSOAPConnectionFactory
> > 2012-04-29 11:43:21,319 INFO  [SystemProperties] Setting
> > Property=javax.xml.soap.SOAPFactory to
> > Value=org.apache.geronimo.webservices.saaj.GeronimoSOAPFactory
> > 2012-04-29 11:43:21,319 INFO  [SystemProperties] Setting
> > Property=java.security.Provider to Value=SUN
> > 2012-04-29 11:43:25,035 INFO  [KernelContextGBean] bound gbean
> >
> org.apache.geronimo.configs/transaction/2.2.1/car?ServiceModule=org.apache.geronimo.configs/transaction/2.2.1/car,j2eeType=Context,name=ResourceBindings
> > at name jca:
> > 2012-04-29 11:43:25,973 ERROR [AbstractEncryption] Unable to decrypt
> > java.io.EOFException
> >   at
> >
> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2280)
> >   at
> >
> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2749)
> >   at
> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
> >   at java.io.ObjectInputStream.(ObjectInputStream.java:279)
> >   at
> >
> org.apache.geronimo.crypto.AbstractEncryption.decrypt(AbstractEncryption.java:76)
> >   at
> >
> org.apache.geronimo.crypto.EncryptionManager.decrypt(EncryptionManager.java:109)
> >   at
> >
> org.apache.geronimo.gbean.annotation.EncryptionSetting$1.decrypt(EncryptionSetting.java:33)
> >   at
> >
> org.apache.geronimo.system.configuration.GBeanOverride.getValue(GBeanOverride.java:416)
> >   at
> >
> org.apache.geronimo.system.configuration.GBeanOverride.applyOverrides(GBeanOverride.java:367)
> >   at
> >
> org.apache.geronimo.system.configuration.LocalAttributeManager.setAttributes(LocalAttributeManager.java:228)
> >   at
> >
> org.apache.geronimo.system.configuration.LocalAttributeManager.applyOverrides(LocalAttributeManager.java:197)
> >   at
> >
> org.apache.geronimo.kernel.config.Configuration.(Configuration.java:297)
> >   at sun.reflect.GeneratedConstructorAccessor20.newInstance(Unknown
> Source)
> >   at
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> >   at
> >
> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952)
> >   at
> >
> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
> >   at
> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
> >   at
> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
> >   at
> >
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:911)
> >   at
> >
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
> >   at
> >
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
> >   at
> >
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:525)
> >   at
> >
> org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:359)
> >   at
> >
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:163)
> >   at
> >
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:302)
> >   at
> >
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:271)
> >   at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
> >   at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >   at ja

Re: Geronino 3 beta Servlet issue

2012-04-20 Thread Forrest Xia
I don't know postgres much, but I know there is a sample called daytrader
which support multiple databases, which includes postgres, you can refer to
a released one for example.

http://svn.apache.org/repos/asf/geronimo/daytrader/tags/daytrader-3.0-beta-1/

On Fri, Apr 20, 2012 at 3:17 PM, Michael Chau  wrote:

> Thanks, Forrest.  I am using the Ration OSGi tool.  I somehow forgot to
> check the box to compile the servlet class into the WEB-INF/classes folder.
>
> Now, I'm trying to figure out how to write to a Postgres db using jdbc.  I
> haven't been able to find any good examples.  Can you point me to one or
> give me some tips on how to go about it?
>
> Once again, thanks for the help.
>
> michael
>
> On Apr 19, 2012, at 9:24 PM, Forrest Xia wrote:
>
> Two points here:
> 1. What tools you used to genereate this eba? if using eclipse, sugguest
> you use Rational development tools for OSGi application[1]
> 2. Your sample's web module sample-web_xxx.jar file structure is not
> correct, you should put your servlet class into WEB-INF/classes folder
>
> [1]
> http://www.ibm.com/developerworks/rational/downloads/10/rationaldevtoolsforosgiapplications.html
>
> Attached an updated sample for your reference.
>
> On Thu, Apr 19, 2012 at 12:42 PM, Michael Chau  wrote:
>
>> Sorry, I misunderstood you.  Here it is:
>>
>>
>>
>> On Apr 19, 2012, at 12:41 AM, Forrest Xia wrote:
>>
>> Finding the potential error via "SEE" through the text is hard work for
>> me :)
>>
>> Can you just attach your eba here? so that I can quickly have a local try
>> with your eba.
>>
>> On Thu, Apr 19, 2012 at 1:07 PM, Michael Chau  wrote:
>>
>>> Thanks for helping me.  I'm new to OSGi.  Here are my configs and code.
>>>
>>> SampleApp
>>> APPLICATION.MF
>>>
>>> Application-Name: sample-app
>>> Application-SymbolicName: sample-app
>>> Application-ManifestVersion: 1.0
>>> Application-Version: 1.0.0.qualifier
>>> Application-Content: sample-api;version="1.0.0",
>>>  sample-server;version="1.0.0",
>>>  sample-web;version="1.0.0"
>>> Manifest-Version: 1.0
>>>
>>> SampleApi
>>>
>>> Manifest-Version: 1.0
>>> Bundle-ManifestVersion: 2
>>> Bundle-Name: sample-api
>>> Bundle-SymbolicName: sample-api
>>> Bundle-Version: 1.0.0.qualifier
>>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>>> Export-Package: com.sample.api
>>>
>>>
>>> package com.sample.api;
>>>
>>> public interface SampleService {
>>> public String sayHello(String name);
>>> }
>>>
>>>
>>> SampleServer
>>>
>>> Manifest-Version: 1.0
>>> Bundle-Blueprint: OSGI-INF/blueprint/*.xml
>>> Bundle-Version: 1.0.0.qualifier
>>> Bundle-Name: sample-server
>>> Bundle-ManifestVersion: 2
>>> Import-Package: com.sample.api
>>> Bundle-SymbolicName: sample-server
>>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>>> Export-Package: com.sample.server
>>>
>>> Source:
>>> package com.sample.server;
>>>
>>> import com.sample.api.SampleService;
>>>
>>> public class SampleServiceImpl implements SampleService {
>>>
>>> public String sayHello(String name) {
>>>  // TODO Auto-generated method stub
>>>  return "Hello "+name;
>>>  }
>>>
>>> }
>>>
>>>  Blueprint.xml
>>>
>>> 
>>> http://www.osgi.org/xmlns/blueprint/v1.0.0";>
>>> 
>>>
>>> >> />
>>>
>>> 
>>>
>>> SampleWeb
>>>
>>> Manifest-Version: 1.0
>>> Bundle-ManifestVersion: 2
>>> Bundle-Name: sample-web
>>> Bundle-SymbolicName: sample-web
>>> Bundle-Version: 1.0.0.qualifier
>>> Bundle-ClassPath: WEB-INF/classes
>>> Web-ContextPath: /sample-web
>>> Import-Package: com.sample.api,
>>>  javax.naming,
>>>  javax.servlet;version="2.5",
>>>  javax.servlet.http;version="2.5"
>>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>>> Export-Package: com.sample.client.web
>>>
>>>
>>> package com.sample.client.web;
>>>
>>> import java.io.IOException;
>>>
>>> import javax.naming.InitialContext;
>>> import javax.naming.NamingException;
>>> import javax.servlet.ServletExcept

Re: Geronino 3 beta Servlet issue

2012-04-19 Thread Forrest Xia
Two points here:
1. What tools you used to genereate this eba? if using eclipse, sugguest
you use Rational development tools for OSGi application[1]
2. Your sample's web module sample-web_xxx.jar file structure is not
correct, you should put your servlet class into WEB-INF/classes folder

[1]
http://www.ibm.com/developerworks/rational/downloads/10/rationaldevtoolsforosgiapplications.html

Attached an updated sample for your reference.

On Thu, Apr 19, 2012 at 12:42 PM, Michael Chau  wrote:

> Sorry, I misunderstood you.  Here it is:
>
>
>
> On Apr 19, 2012, at 12:41 AM, Forrest Xia wrote:
>
> Finding the potential error via "SEE" through the text is hard work for me
> :)
>
> Can you just attach your eba here? so that I can quickly have a local try
> with your eba.
>
> On Thu, Apr 19, 2012 at 1:07 PM, Michael Chau  wrote:
>
>> Thanks for helping me.  I'm new to OSGi.  Here are my configs and code.
>>
>> SampleApp
>> APPLICATION.MF
>>
>> Application-Name: sample-app
>> Application-SymbolicName: sample-app
>> Application-ManifestVersion: 1.0
>> Application-Version: 1.0.0.qualifier
>> Application-Content: sample-api;version="1.0.0",
>>  sample-server;version="1.0.0",
>>  sample-web;version="1.0.0"
>> Manifest-Version: 1.0
>>
>> SampleApi
>>
>> Manifest-Version: 1.0
>> Bundle-ManifestVersion: 2
>> Bundle-Name: sample-api
>> Bundle-SymbolicName: sample-api
>> Bundle-Version: 1.0.0.qualifier
>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>> Export-Package: com.sample.api
>>
>>
>> package com.sample.api;
>>
>> public interface SampleService {
>> public String sayHello(String name);
>> }
>>
>>
>> SampleServer
>>
>> Manifest-Version: 1.0
>> Bundle-Blueprint: OSGI-INF/blueprint/*.xml
>> Bundle-Version: 1.0.0.qualifier
>> Bundle-Name: sample-server
>> Bundle-ManifestVersion: 2
>> Import-Package: com.sample.api
>> Bundle-SymbolicName: sample-server
>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>> Export-Package: com.sample.server
>>
>> Source:
>> package com.sample.server;
>>
>> import com.sample.api.SampleService;
>>
>> public class SampleServiceImpl implements SampleService {
>>
>> public String sayHello(String name) {
>>  // TODO Auto-generated method stub
>>  return "Hello "+name;
>>  }
>>
>> }
>>
>>  Blueprint.xml
>>
>> 
>> http://www.osgi.org/xmlns/blueprint/v1.0.0";>
>> 
>>
>> 
>>
>> 
>>
>> SampleWeb
>>
>> Manifest-Version: 1.0
>> Bundle-ManifestVersion: 2
>> Bundle-Name: sample-web
>> Bundle-SymbolicName: sample-web
>> Bundle-Version: 1.0.0.qualifier
>> Bundle-ClassPath: WEB-INF/classes
>> Web-ContextPath: /sample-web
>> Import-Package: com.sample.api,
>>  javax.naming,
>>  javax.servlet;version="2.5",
>>  javax.servlet.http;version="2.5"
>> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
>> Export-Package: com.sample.client.web
>>
>>
>> package com.sample.client.web;
>>
>> import java.io.IOException;
>>
>> import javax.naming.InitialContext;
>> import javax.naming.NamingException;
>> import javax.servlet.ServletException;
>> import javax.servlet.http.HttpServlet;
>> import javax.servlet.http.HttpServletRequest;
>> import javax.servlet.http.HttpServletResponse;
>>
>> import com.sample.api.SampleService;
>>
>> /**
>>  * Servlet implementation class SampleServlet
>>  */
>> public class SampleServlet extends HttpServlet {
>> private static final long serialVersionUID = 1L;
>>
>> /**
>>  * @see HttpServlet#HttpServlet()
>>  */
>> public SampleServlet() {
>> super();
>> // TODO Auto-generated constructor stub
>> }
>>
>> /**
>>  * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse
>> response)
>>  */
>> protected void doGet(HttpServletRequest request, HttpServletResponse
>> response) throws ServletException, IOException {
>>  // TODO Auto-generated method stub
>> SampleService sample = null;
>> try {
>>  InitialContext ic = new InitialContext();
>> sample = (SampleService) ic.lookup("osgi:service/" +
>> SampleService.class.getName());
>>  response.getOutputStream().println(" " + sample.sayHello("Sample
>> Service"));
>&g

Re: Geronino 3 beta Servlet issue

2012-04-19 Thread Forrest Xia
Finding the potential error via "SEE" through the text is hard work for me
:)

Can you just attach your eba here? so that I can quickly have a local try
with your eba.

On Thu, Apr 19, 2012 at 1:07 PM, Michael Chau  wrote:

> Thanks for helping me.  I'm new to OSGi.  Here are my configs and code.
>
> SampleApp
> APPLICATION.MF
>
> Application-Name: sample-app
> Application-SymbolicName: sample-app
> Application-ManifestVersion: 1.0
> Application-Version: 1.0.0.qualifier
> Application-Content: sample-api;version="1.0.0",
>  sample-server;version="1.0.0",
>  sample-web;version="1.0.0"
> Manifest-Version: 1.0
>
> SampleApi
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: sample-api
> Bundle-SymbolicName: sample-api
> Bundle-Version: 1.0.0.qualifier
> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
> Export-Package: com.sample.api
>
>
> package com.sample.api;
>
> public interface SampleService {
> public String sayHello(String name);
> }
>
>
> SampleServer
>
> Manifest-Version: 1.0
> Bundle-Blueprint: OSGI-INF/blueprint/*.xml
> Bundle-Version: 1.0.0.qualifier
> Bundle-Name: sample-server
> Bundle-ManifestVersion: 2
> Import-Package: com.sample.api
> Bundle-SymbolicName: sample-server
> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
> Export-Package: com.sample.server
>
> Source:
> package com.sample.server;
>
> import com.sample.api.SampleService;
>
> public class SampleServiceImpl implements SampleService {
>
> public String sayHello(String name) {
> // TODO Auto-generated method stub
> return "Hello "+name;
> }
>
> }
>
>  Blueprint.xml
>
> 
> http://www.osgi.org/xmlns/blueprint/v1.0.0";>
> 
>
> 
>
> 
>
> SampleWeb
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: sample-web
> Bundle-SymbolicName: sample-web
> Bundle-Version: 1.0.0.qualifier
> Bundle-ClassPath: WEB-INF/classes
> Web-ContextPath: /sample-web
> Import-Package: com.sample.api,
>  javax.naming,
>  javax.servlet;version="2.5",
>  javax.servlet.http;version="2.5"
> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
> Export-Package: com.sample.client.web
>
>
> package com.sample.client.web;
>
> import java.io.IOException;
>
> import javax.naming.InitialContext;
> import javax.naming.NamingException;
> import javax.servlet.ServletException;
> import javax.servlet.http.HttpServlet;
> import javax.servlet.http.HttpServletRequest;
> import javax.servlet.http.HttpServletResponse;
>
> import com.sample.api.SampleService;
>
> /**
>  * Servlet implementation class SampleServlet
>  */
> public class SampleServlet extends HttpServlet {
> private static final long serialVersionUID = 1L;
>
> /**
>  * @see HttpServlet#HttpServlet()
>  */
> public SampleServlet() {
> super();
> // TODO Auto-generated constructor stub
> }
>
> /**
>  * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse
> response)
>  */
> protected void doGet(HttpServletRequest request, HttpServletResponse
> response) throws ServletException, IOException {
> // TODO Auto-generated method stub
> SampleService sample = null;
> try {
> InitialContext ic = new InitialContext();
> sample = (SampleService) ic.lookup("osgi:service/" +
> SampleService.class.getName());
> response.getOutputStream().println(" " + sample.sayHello("Sample
> Service"));
> }
> catch (NamingException e) {
> e.printStackTrace(System.out);
> }
> }
>
> /**
>  * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse
> response)
>  */
> protected void doPost(HttpServletRequest request, HttpServletResponse
> response) throws ServletException, IOException {
> // TODO Auto-generated method stub
> }
>
> }
>
>  web.xml
>
> 
> http://www.w3.org/2001/XMLSchema-instance"; xmlns="
> http://java.sun.com/xml/ns/javaee"; xmlns:web="
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; xsi:schemaLocation="
> http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"; id="WebApp_ID" version=
> "3.0">
>   sample-web
>   
> SampleServlet
> SampleServlet
> com.sample.client.web.SampleServlet
>   
>   
> SampleServlet
> /sample
>   
>   
> index.html
> index.htm
> index.jsp
> default.html
> default.htm
> default.jsp
>   
> 
>
>
>
> On Apr 18, 2012, at 8:44 PM, Forrest Xia wrote:
>
&

Re: Geronino 3 beta Servlet issue

2012-04-18 Thread Forrest Xia
Can you attach your sample here for a check?

On Thu, Apr 19, 2012 at 12:43 AM, Michael Chau  wrote:

> I have my SampleApi (interface) exported it.  I don't believe I'm suppose
> to export the implementation (SampleServer) and web bundle(Sample Web).
>  But, i just tried exporting them both just to see if it will work and I'm
> still getting the same error.  I'm somewhat following the CounterApp
> example.  My web bundle is pretty much the same as the CounterWebBundle
> (same required import packages and no exports).
>
>
> On Apr 18, 2012, at 12:55 AM, Forrest Xia wrote:
>
> Have you exported your application classes in Export-Package of
> MANIFEST.MF?
>
> On Wed, Apr 18, 2012 at 3:42 AM, Michael Chau  wrote:
>
>> Thanks, Ivan.
>>
>> I added the javax.naming to the import and now getting this error:
>>
>> 2012-04-18 00:40:53,484 ERROR [WebApplication] Unable to start web
>> application for bundle sample-web
>> org.apache.geronimo.common.DeploymentException: Fail to load servlet
>> class
>>  at
>> org.apache.geronimo.web25.deployment.merge.annotation.ServletSecurityAnnotationMergeHandler.postProcessWebXmlElement(
>> ServletSecurityAnnotationMergeHandler.java:79)
>>  at
>> org.apache.geronimo.web25.deployment.merge.MergeHelper.processWebFragmentsAndAnnotations(
>> MergeHelper.java:418)
>>  at
>> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(
>> AbstractWebModuleBuilder.java:493)
>>  at
>> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(
>> AbstractWebModuleBuilder.java:436)
>>  at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(
>> WebApplication.java:213)
>>  at org.apache.geronimo.osgi.web.extender.WebApplication.run(
>> WebApplication.java:125)
>>  at java.util.concurrent.Executors$RunnableAdapter.call(
>> Executors.java:441)
>>  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>> ThreadPoolExecutor.java:886)
>>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>> ThreadPoolExecutor.java:908)
>>  at java.lang.Thread.run(Thread.java:680)
>> Caused by: java.lang.ClassNotFoundException:
>> com.sample.client.web.SampleServlet
>>  at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
>> BundleLoader.java:513)
>>  at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
>> BundleLoader.java:429)
>>  at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
>> BundleLoader.java:417)
>>  at org.apache.geronimo.hook.equinox.GeronimoClassLoader.loadClass(
>> GeronimoClassLoader.java:85)
>>  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>  at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(
>> BundleLoader.java:345)
>>  at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(
>> BundleHost.java:229)
>>  at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(
>> AbstractBundle.java:1207)
>>  at
>> org.apache.geronimo.web25.deployment.merge.annotation.ServletSecurityAnnotationMergeHandler.postProcessWebXmlElement(
>> ServletSecurityAnnotationMergeHandler.java:52)
>>  ... 11 more
>>
>>
>> On Apr 17, 2012, at 11:09 PM, Ivan wrote:
>>
>> From the log files, it seems that javax.naming should be added in the
>> import-package list for the wab ?
>>
>> 2012/4/18 Michael Chau 
>>
>>> I've created a SampleApi(interface), SampleServer(implementation) and
>>> SampleWeb(servlet) bundles.  It's using Blueprint.  I ran it in the Apache
>>> Aries container and it was fine.  I tried to run it in Geronimo and got
>>>
>>> 2012-04-17 14:44:52,759 ERROR [WebApplication] Unable to start web
>>> application for bundle sample-web
>>> java.lang.NoClassDefFoundError: Could not fully load class:
>>> com.sample.client.web.SampleServlet
>>>  due to:javax/naming/NamingException
>>>  in classLoader:
>>> org.apache.geronimo.hook.equinox.GeronimoClassLoader@10993991
>>> at org.apache.xbean.finder.ClassFinder.(ClassFinder.java:136)
>>>  at
>>> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.createWebAppClassFinder(
>>> AbstractWebModuleBuilder.java:663)
>>>  at
>>> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.configureBasicWebModuleAttributes(
>>> AbstractWebModuleBuilder.java:698)
>>>  at 

Re: Geronino 3 beta Servlet issue

2012-04-18 Thread Forrest Xia
Have you exported your application classes in Export-Package of MANIFEST.MF?

On Wed, Apr 18, 2012 at 3:42 AM, Michael Chau  wrote:

> Thanks, Ivan.
>
> I added the javax.naming to the import and now getting this error:
>
> 2012-04-18 00:40:53,484 ERROR [WebApplication] Unable to start web
> application for bundle sample-web
> org.apache.geronimo.common.DeploymentException: Fail to load servlet class
>  at
> org.apache.geronimo.web25.deployment.merge.annotation.ServletSecurityAnnotationMergeHandler.postProcessWebXmlElement(
> ServletSecurityAnnotationMergeHandler.java:79)
>  at
> org.apache.geronimo.web25.deployment.merge.MergeHelper.processWebFragmentsAndAnnotations(
> MergeHelper.java:418)
>  at
> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.basicInitContext(
> AbstractWebModuleBuilder.java:493)
>  at
> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.initContext(
> AbstractWebModuleBuilder.java:436)
>  at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(
> WebApplication.java:213)
>  at org.apache.geronimo.osgi.web.extender.WebApplication.run(
> WebApplication.java:125)
>  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441
> )
>  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> ThreadPoolExecutor.java:886)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:908)
>  at java.lang.Thread.run(Thread.java:680)
> Caused by: java.lang.ClassNotFoundException:
> com.sample.client.web.SampleServlet
>  at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
> BundleLoader.java:513)
>  at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
> BundleLoader.java:429)
>  at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
> BundleLoader.java:417)
>  at org.apache.geronimo.hook.equinox.GeronimoClassLoader.loadClass(
> GeronimoClassLoader.java:85)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>  at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(
> BundleLoader.java:345)
>  at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(
> BundleHost.java:229)
>  at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(
> AbstractBundle.java:1207)
>  at
> org.apache.geronimo.web25.deployment.merge.annotation.ServletSecurityAnnotationMergeHandler.postProcessWebXmlElement(
> ServletSecurityAnnotationMergeHandler.java:52)
>  ... 11 more
>
>
> On Apr 17, 2012, at 11:09 PM, Ivan wrote:
>
> From the log files, it seems that javax.naming should be added in the
> import-package list for the wab ?
>
> 2012/4/18 Michael Chau 
>
>> I've created a SampleApi(interface), SampleServer(implementation) and
>> SampleWeb(servlet) bundles.  It's using Blueprint.  I ran it in the Apache
>> Aries container and it was fine.  I tried to run it in Geronimo and got
>>
>> 2012-04-17 14:44:52,759 ERROR [WebApplication] Unable to start web
>> application for bundle sample-web
>> java.lang.NoClassDefFoundError: Could not fully load class:
>> com.sample.client.web.SampleServlet
>>  due to:javax/naming/NamingException
>>  in classLoader:
>> org.apache.geronimo.hook.equinox.GeronimoClassLoader@10993991
>> at org.apache.xbean.finder.ClassFinder.(ClassFinder.java:136)
>>  at
>> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.createWebAppClassFinder(
>> AbstractWebModuleBuilder.java:663)
>>  at
>> org.apache.geronimo.web25.deployment.AbstractWebModuleBuilder.configureBasicWebModuleAttributes(
>> AbstractWebModuleBuilder.java:698)
>>  at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(
>> TomcatModuleBuilder.java:483)
>>  at org.apache.geronimo.osgi.web.extender.WebApplication.doRun(
>> WebApplication.java:218)
>>  at org.apache.geronimo.osgi.web.extender.WebApplication.run(
>> WebApplication.java:125)
>>  at java.util.concurrent.Executors$RunnableAdapter.call(
>> Executors.java:441)
>>  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>  at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
>> ThreadPoolExecutor.java:886)
>>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>> ThreadPoolExecutor.java:908)
>>  at java.lang.Thread.run(Thread.java:680)
>>
>> Any help is appreciated.
>>
>> Michael
>>
>
>
>
> --
> Ivan
>
>
>


-- 
Thanks!

Regards, Forrest


Re: How to setup an JAAS file-realm

2012-02-23 Thread Forrest Xia
You can download the was ce 3.0 sample[1] to find the file-realm-demo
sample for reference.

BTW, this is mailing list for Apache Geronimo project, if you have
questions about WebSphere Community Edition V3, you can post to the IBM
forum[2]

[1] http://www.ibm.com/developerworks/downloads/ws/wasce/
[2] http://www.ibm.com/developerworks/forums/forum.jspa?forumID=541&start=0

On Thu, Feb 23, 2012 at 8:00 AM, rsoika  wrote:

> Hi,
> can anybody help me in this problem?
> thanks for any hints
>
> =
> Ralph
>
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/How-to-setup-an-JAAS-file-realm-tp3732548p3769601.html
> Sent from the Users mailing list archive at Nabble.com.
>



-- 
Thanks!

Regards, Forrest


[Announcement] Geronimo Eclipse Plugin v2.1.8 is Released!

2012-01-16 Thread Forrest Xia
Hi,

Apache Geronimo project is pleased to announce the available of Apache
Geronimo Eclipse Plugin(GEP) v2.1.8 It supports Geronimo server v2.1.8 and
Eclipse 3.7 (Indigo).

Visit the links to GEP v2.1.8 release notes.
http://www.apache.org/dist/geronimo/eclipse/updates/PLUGIN_RELEASE-NOTES-2.1.8.txt

The new version have been available through eclipse update site now.
http://www.apache.org/dist/geronimo/eclipse/updates/

For manual installation, GEP 3.0-beta-1 can be downloaded from
http://www.apache.org/dist/geronimo/eclipse/2.1.8/

THANK YOU ALL, especially Yi Xiao, who contributed to this release!

-- 
Thanks!

Regards, Forrest


[ANNOUNCE] Apache Geronimo v2.1.8 is Released!

2011-12-28 Thread Forrest Xia
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
release 
notes
.

A couple highlights are:

   - Command Line utility to enable/disable Monitoring server and Stat
   query Snapshot thread for DefaultServer
   - Add SQLServer 2008 Tranql connector
   - Improve windows startup batch scripts to redirect stdout and stderr
   messages to GERONIMO_HOME/var/log/geronimo.out
   - Upgrade JAXB to 2.1.13, Tomcat to 6.0.35, OpenEJB to 3.0.4, etc.

Visit the Downloads  page for
details on downloading Apache Geronimo v2.1.8 server assemblies.
A big THANK YOU to all that contributed to this release!  Great work
everyone!

-- 
Thanks!

Regards, Forrest


Re: Cannot access my Servlet

2011-12-28 Thread Forrest Xia
On Wed, Dec 28, 2011 at 10:00 PM, Hendrik Schenk  wrote:

> Hi,
>
> i am new at geronimo. I tested a few application-server with the same
> war-file (servlet). But now i have a problem with geronimo.
>
> I deployed my servlet-war-file, but i do not know the exact url. i added
> in the web.xml the "web-app id" and click ohne link in the admin console of
> geronimo, but i get an 404-error.
>
> My class looks like this:
>
>
> @WebServlet("/FoobarServlet")
>
> Is the annotation defintion correct?

I saw usage like this:

@WebServlet(name = "Foobar", urlPatterns = { "/FoobarServlet" })

public class FoobarServlet extends HttpServlet {
> [...]
> }
>
>
> my web.xml looks like this:
>
>
> 
> http://www.w3.org/2001/XMLSchema-instance"; 
> 
>   xmlns="http://java.sun.com/xml/ns/javaee"; 
>  
> xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; 
> 
>   xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
>  
> http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"; 
> 
>   id="FoobarServletTest" version="3.0">
>   FoobarServlet
>   
>   index.html
>   index.htm
>   index.jsp
>   default.html
>   default.htm
>   default.jsp
>   
> 
>
>
>
>
> but i cannot reach the servlet under
> http://localhost:8080/FoobarServletTest/FoobarServlet
>
>
> if i deploy a jsp file, i can reach it under the webapp-id. every
> app-server (tomcat, jboss, glassfish) works fine with my war.-archive, only
> geronimo does not work :(
>
> please help me.
>
> best regards
>
> hschenk
>
If still problem with G 3.0-beta-1, please share your simple app here.
thanks!



-- 
Thanks!

Regards, Forrest


Re: Geronimo 3.0-beta-1 Maven Plugin

2011-12-22 Thread Forrest Xia
forget to attach the pom

On Thu, Dec 22, 2011 at 8:19 AM, Forrest Xia  wrote:

> Here is an instruction for your reference:
> 1. put the attached pom in a folder
> 2. then go to that folder with a terminal or dos window open, execute this
> command
> mvn -DgeronimoHome=path2geronimoHome
> org.apache.geronimo.buildsupport:geronimo-maven-plugin:3.0-beta-1:start-server
>
>
> On Thu, Dec 22, 2011 at 7:53 PM, Behrooz Nobakht  wrote:
>
>> Hello,
>>
>> I've been trying to use the Geronimo Maven Plugin:
>>
>> 
>> org.apache.geronimo.buildsupport
>> geronimo-maven-plugin
>> 
>>
>> /my/path/to/geronimo-jetty8-javaee6-3.0-beta-1
>> true
>>
>> ${project.build.directory}/${project.build.finalName}-geronimo.zip
>> 
>> 
>>
>> When I start the Geronimo server before running the goal
>> "geronimo:start", I get the following output:
>>
>> [INFO] --- geronimo-maven-plugin:3.0-M1:start (default-cli) @
>> deployment-control ---
>> [org.codehaus.mojo.pluginsupport.logging.Logging] : Initialized
>> [INFO] Using pre-installed assembly:
>> /fh/osgi/geronimo-jetty8-javaee6-3.0-beta-1
>> [INFO] Installation type is pre-existing; skipping installation
>> [INFO] Starting Geronimo server...
>> [INFO] Redirecting output to:
>> /fh/workspaces/controller/controller/target/geronimo-logs/org.apache.geronimo.mavenplugins.geronimo.server.StartMojo.log
>> [INFO] Waiting for Geronimo server...
>> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Initialized
>> with URL:
>> service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector,
>> environment: {jmx.remote.credentials=[Ljava.lang.String;@7947016c}
>> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to:
>> service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
>> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connected
>> [INFO] Geronimo server started in 0:00:00.109
>> [INFO] Waiting for Geronimo server to shutdown...
>> [INFO]
>> 
>> [INFO] BUILD SUCCESS
>> [INFO]
>> 
>> [INFO] Total time: 4.794s
>> [INFO] Finished at: Thu Dec 22 12:17:23 CET 2011
>> [INFO] Final Memory: 14M/212M
>> [INFO]
>> 
>>
>> Which actually seems to do nothing! And, I also see nothing as logs on
>> the server log output. And, when I *do not* start the server before running
>> the Maven goal, the log will be like:
>>
>> [INFO] --- geronimo-maven-plugin:3.0-M1:start (default-cli) @
>> deployment-control ---
>> [org.codehaus.mojo.pluginsupport.logging.Logging] : Initialized
>> [INFO] Using pre-installed assembly:
>> /fh/osgi/geronimo-jetty8-javaee6-3.0-beta-1
>> [INFO] Installation type is pre-existing; skipping installation
>> [INFO] Starting Geronimo server...
>> [INFO] Redirecting output to:
>> /fh/workspaces/controller/controller/target/geronimo-logs/org.apache.geronimo.mavenplugins.geronimo.server.StartMojo.log
>> [INFO] Waiting for Geronimo server...
>> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Initialized
>> with URL:
>> service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector,
>> environment: {jmx.remote.credentials=[Ljava.lang.String;@3370ec9d}
>> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to:
>> service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
>> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection
>> failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub:
>> javax.naming.ServiceUnavailableException [Root exception is
>> java.rmi.ConnectException: Connection refused to host: localhost; nested
>> exception is:
>> java.net.ConnectException: Connection refused]
>> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to:
>> service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
>> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connected
>> [INFO] Geronimo server started in 0:00:15.123
>> [INFO] Waiting for Geronimo server to shutdown...
>> ...
>> AFTER A LONG TIME
>>
>> Nothing happens!
>>
&g

Re: Geronimo 3.0-beta-1 Maven Plugin

2011-12-22 Thread Forrest Xia
Here is an instruction for your reference:
1. put the attached pom in a folder
2. then go to that folder with a terminal or dos window open, execute this
command
mvn -DgeronimoHome=path2geronimoHome
org.apache.geronimo.buildsupport:geronimo-maven-plugin:3.0-beta-1:start-server

On Thu, Dec 22, 2011 at 7:53 PM, Behrooz Nobakht  wrote:

> Hello,
>
> I've been trying to use the Geronimo Maven Plugin:
>
> 
> org.apache.geronimo.buildsupport
> geronimo-maven-plugin
> 
>
> /my/path/to/geronimo-jetty8-javaee6-3.0-beta-1
> true
>
> ${project.build.directory}/${project.build.finalName}-geronimo.zip
> 
> 
>
> When I start the Geronimo server before running the goal "geronimo:start",
> I get the following output:
>
> [INFO] --- geronimo-maven-plugin:3.0-M1:start (default-cli) @
> deployment-control ---
> [org.codehaus.mojo.pluginsupport.logging.Logging] : Initialized
> [INFO] Using pre-installed assembly:
> /fh/osgi/geronimo-jetty8-javaee6-3.0-beta-1
> [INFO] Installation type is pre-existing; skipping installation
> [INFO] Starting Geronimo server...
> [INFO] Redirecting output to:
> /fh/workspaces/controller/controller/target/geronimo-logs/org.apache.geronimo.mavenplugins.geronimo.server.StartMojo.log
> [INFO] Waiting for Geronimo server...
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Initialized with
> URL: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector,
> environment: {jmx.remote.credentials=[Ljava.lang.String;@7947016c}
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to:
> service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connected
> [INFO] Geronimo server started in 0:00:00.109
> [INFO] Waiting for Geronimo server to shutdown...
> [INFO]
> 
> [INFO] BUILD SUCCESS
> [INFO]
> 
> [INFO] Total time: 4.794s
> [INFO] Finished at: Thu Dec 22 12:17:23 CET 2011
> [INFO] Final Memory: 14M/212M
> [INFO]
> 
>
> Which actually seems to do nothing! And, I also see nothing as logs on the
> server log output. And, when I *do not* start the server before running the
> Maven goal, the log will be like:
>
> [INFO] --- geronimo-maven-plugin:3.0-M1:start (default-cli) @
> deployment-control ---
> [org.codehaus.mojo.pluginsupport.logging.Logging] : Initialized
> [INFO] Using pre-installed assembly:
> /fh/osgi/geronimo-jetty8-javaee6-3.0-beta-1
> [INFO] Installation type is pre-existing; skipping installation
> [INFO] Starting Geronimo server...
> [INFO] Redirecting output to:
> /fh/workspaces/controller/controller/target/geronimo-logs/org.apache.geronimo.mavenplugins.geronimo.server.StartMojo.log
> [INFO] Waiting for Geronimo server...
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Initialized with
> URL: service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector,
> environment: {jmx.remote.credentials=[Ljava.lang.String;@3370ec9d}
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to:
> service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connection
> failure; ignoring: java.io.IOException: Failed to retrieve RMIServer stub:
> javax.naming.ServiceUnavailableException [Root exception is
> java.rmi.ConnectException: Connection refused to host: localhost; nested
> exception is:
> java.net.ConnectException: Connection refused]
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connecting to:
> service:jmx:rmi://localhost/jndi/rmi://localhost:1099/JMXConnector
> [org.apache.geronimo.mavenplugins.geronimo.ServerProxy] : Connected
> [INFO] Geronimo server started in 0:00:15.123
> [INFO] Waiting for Geronimo server to shutdown...
> ...
> AFTER A LONG TIME
>
> Nothing happens!
>
> Is there anything reference documentation for this plugin? What am I doing
> wrong?
> Maybe it is good to mention that the assembly required is properly
> prepared for the plugin.
>
> Thanks in advance,
> Behrooz
>



-- 
Thanks!

Regards, Forrest


Re: DeploymentException: POJO web service not configured by any web service builder

2011-12-14 Thread Forrest Xia
For CE 2.1 or G 2.1, refer to [1]; For G 2.2.1, refer to [2]

[1]
https://cwiki.apache.org/GMOxDOC21/custom-server-assemblies-using-geronimo-administrative-console.html
[2] https://cwiki.apache.org/GMOxDOC22/assembling-a-server-via-console.html

On Wed, Dec 14, 2011 at 1:45 PM, mikedanese  wrote:

> I am getting the exception in env:websphere community edition. Thanks Kevan
> but it would be nice if you would elaborate just a bit regarding 'Or you
> can
> create a custom assembly...'. FYI, I am using the ws.community edition as a
> local env. to replicate issues on client production(websphere)
> environments.
> As such it would be great if there was a way to just toggle-off the
> webservices.
>
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/DeploymentException-POJO-web-service-not-configured-by-any-web-service-builder-tp2677348p3586364.html
> Sent from the Users mailing list archive at Nabble.com.
>



-- 
Thanks!

Regards, Forrest


Re: Security realms in WASCE 3.0

2011-12-14 Thread Forrest Xia
Hi,

It's caused by a bug reported in
https://issues.apache.org/jira/browse/GERONIMO-6210, we will find time to
fix it. As a work around, you can try command line to generate the security
realm.

On Thu, Dec 15, 2011 at 12:24 AM, Vincnet Vega wrote:

> Hi all
> I have a problem with security realms in WASCE 3.0
> I’ve installed WASCE by default and tried to make new “Database (SQL)”
> security realm.
> I did it by this instruction
> https://cwiki.apache.org/GMOxDOC30/database-sql-realm.html and got this
> mistake:
>
> java.lang.IllegalArgumentException: id must be in the form 
> groupId
> /artifactId 
> /version
> /type  :
> tranql-connector-derby-embed-xa-1.7
> org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:61)
> org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:51)
>
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.actionGeneratePlan(SecurityRealmPortlet.java:458)
>
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.actionSaveRealm(SecurityRealmPortlet.java:526)
>
> org.apache.geronimo.console.securitymanager.realm.SecurityRealmPortlet.processAction(SecurityRealmPortlet.java:221)
>
> org.apache.pluto.driver.services.container.FilterChainImpl.doFilter(FilterChainImpl.java:117)
>
> org.apache.pluto.driver.services.container.FilterChainImpl.processFilter(FilterChainImpl.java:84)
>
> org.apache.pluto.driver.services.container.FilterManagerImpl.processFilter(FilterManagerImpl.java:112)
>
> org.apache.pluto.container.driver.PortletServlet.dispatch(PortletServlet.java:359)
>
> org.apache.pluto.container.driver.PortletServlet.doPost(PortletServlet.java:267)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>
> org.apache.pluto.driver.container.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:233)
>
> org.apache.pluto.driver.container.DefaultPortletInvokerService.action(DefaultPortletInvokerService.java:101)
>
> org.apache.pluto.container.impl.PortletContainerImpl.doAction(PortletContainerImpl.java:251)
>
> org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:135)
>
> org.apache.pluto.driver.PortalDriverServlet.doPost(PortalDriverServlet.java:205)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>
> org.apache.geronimo.console.filter.RedirectByHashFilter.doFilter(RedirectByHashFilter.java:116)
>
> org.apache.geronimo.console.filter.PlutoURLRebuildFilter.doFilter(PlutoURLRebuildFilter.java:70)
>
> org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilter.java:130)
>
> What is wrong?
>
> OS: windows 7 32x Pro
> JRE: 1.6.0_26
>



-- 
Thanks!

Regards, Forrest


Re: Problems with Geronimo 3.0 and Hibernate

2011-11-22 Thread Forrest Xia
On Sat, Sep 17, 2011 at 2:34 AM, steveh  wrote:

> Hi Jeff,
>
> Sorry I haven't been back to you. I've moved back to Geronimo 2.2.1 until
> 3.0 is more stable.
>
> I didn't get an exception. However Eclipse was flagging build errors which
> I
> could not resolve. Once I reverted back to 2.2.1 my application built fine.
>
> I can revert back to 3.0 and reproduce this problem if you're interested.
> Otherwise I'll stick to G 2.2.1.
>
Hi Steve,

Do you have a chance to retry the latest released G 3.0-beta-1 with your
hibernate-integrated app, and feedback your results here? thanks in advance!


>
> Kind Regards,
>
> Steve
>
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/Problems-with-Geronimo-3-0-and-Hibernate-tp3213341p3342733.html
> Sent from the Users mailing list archive at Nabble.com.
>



-- 
Thanks!

Regards, Forrest


Re: Apache | Wal-Mart Application Migration to Windows 7

2011-11-20 Thread Forrest Xia
On Sun, Nov 20, 2011 at 6:48 AM, Kevan Miller wrote:

>
> On Nov 18, 2011, at 7:25 PM, Gunjan Paliwal - Vendor wrote:
>
> > Hello,
> >
> > I am part of the Windows 7 Application Compatibility team at Wal-Mart.
>  Wal-Mart is currently in the process of migrating to Windows 7 and our
> team is gathering information on compatibility of vendor supported
> applications in the Windows 7 environment.  We have identified some
> applications whose vendor is Apache and would like information from you if
> these applications are Windows 7 64-bit compatible and if not, whether
> there is a compatible upgrade available.
>
Launching geronimo server process with "Run as administrator" should work
just fine. No any known compatibility issue for geronimo on Windows 7 as
far as I know.

>
> > We got your contact information from the Apache website. If you are
> unable to provide the information we have requested, please direct us to
> the person we can contact for this. Please find below list of applications
> that we need information on.  We would like to have this information in 2
> days.
> >
> > Your anticipated cooperation is greatly appreciated.
> >
> > Please fill the details in below table
> > Application Name  Application Version IS application Windows 7
> 64-bit Compatible  Is there Any Win7 64 bit Compatible Upgrade
> Available, if yes what is the version   Is this Win7 64 bit compatible
> version supported by you in future   Comments
> > GeronimoWebServer 2.1.7
> > GeronimoWebServer 2.1.6
> > GeronimoWebServer 2.1.4
> > GeronimoWebServer 2.1.3
> >
> >
> > Please send your response to w...@email.wal-mart.com (Reply to all)
>
> Hi Gunjan,
> The Apache Software Foundation is not a vendor. For information about the
> ASF, see http://www.apache.org/foundation/
>
> I'm not aware of any issues running Apache Geronimo on Windows 7 64-bit.
> However, the Geronimo project does not make any compatibility claims.
>
> --kevan




-- 
Thanks!

Regards, Forrest


Re: JDBC 4 support in Geronimo 3

2011-11-17 Thread Forrest Xia
On Fri, Nov 18, 2011 at 7:12 AM, David Jencks wrote:

>
> On Nov 17, 2011, at 6:43 AM, amergey wrote:
>
> > Hello,
> >
> > Following the anouncement of the beta1
> >
> >
> >
> >> Support SUN's Java Enterprise Edition 6.0 Full Profile specification:
> >> 
> >> - JDBC 3.0
> >> .
> >> For details about Full Profile specifications, please visit Java EE
> >> specifications website.
> >>
> >
> > According to Java EE 6 specification website
> > (
> http://www.oracle.com/technetwork/java/javaee/tech/index-jsp-142185.html),
> > JDBC should be 4.0, not 3.0.
> >
> > Are there any plans to be compliant to JDBC 4 before Geronimo 3 release ?
>
> Well, the tck passes and I would have thought it was testing JDBC 4.
>  However the tranql wrappers we use don't support the new methods.  I think
> it's time that we upgraded tranql to java 6 and added in the new methods.
>  This will make new tranql releases not work on java 5 (wrong class file
> format) but if we need to fix bugs we might try a tranql java 5 branch.
>
Yes, tranql java 5 branch is required for G 2.x branch future releases.

Forrest

>
> thanks
> david jencks
>
>
> > Regards,
> > Arnaud
> >
> >
> > --
> > View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/JDBC-4-support-in-Geronimo-3-tp3303655p3515979.html
> > Sent from the Users mailing list archive at Nabble.com.
>
>


-- 
Thanks!

Regards, Forrest


Re: Daytrader2 command line ?

2011-11-16 Thread Forrest Xia
It's doable by calling the direct url of reset status and db, you can embed
that in proper scripts. but there is no existing scripts to do that.

Forrest

On Wed, Nov 16, 2011 at 10:50 PM, dubi  wrote:

> I am running Daytrader2 (DayTrader Performance Benchmark Sample - 2.1.7
> Build Date: 2011/05/08 )
> with tomcat6 and geronimo 2.1.7 and Derby DB .
>
> is there a command line to reset the Daytrader and  recreate it's DB rather
> than doing it by the Web interface .
>
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/Daytrader2-command-line-tp3512878p3512878.html
> Sent from the Users mailing list archive at Nabble.com.
>


Re: EJB and Web tutorial 3.0 --> deplyment error

2011-04-21 Thread Forrest Xia
Please try the latest 3.0 trunk. 3.0-M1 might not support that new feature.

Forrest

On Thu, Apr 21, 2011 at 8:24 AM, joquetaire  wrote:

> hi all,
>
> i've tried to run the tutorial on accessing EJB inWeb application but got
> the error while deploying the Web part
>
> the tutorial is located:
> https://cwiki.apache.org/GMOxDOC30/accessing-ejb-in-web-applications.html
> (Home > Apache Geronimo v3.0 > Documentation > Developing > Tutorials >
> Developing Web applications > Accessing EJB in Web applications)
>
> server seems to work fine - SDK, Eclipse, GEP, Geronimo
>
> server: Debian
> version: 2.22.3
>
> $ java -version
> java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)
>
> geronimo-jetty8-javaee6-3.0-M1
>
> eclipse-jee-helios-SR2-linux-gtk
>
> Eclipse Java EE IDE for Web Developers.
> Version: Helios Service Release 2
> Build id: 20110218-0911
>
> Apache Geronimo v3.0 Server Adapter
> Version: 3.0.0-20100706214934
>
>
> all files in 2 projects of the tutorial are presented below (tried to
> follow
> the tutorial 'a la lettre')
>
> --> Converter.java
>
> package ejb;
>
> import java.math.BigDecimal;
> import javax.ejb.Remote;
>
> @Remote
> public interface Converter {
>
>public BigDecimal dollarToRupees(BigDecimal dollars);
>
>public BigDecimal rupeesToEuro(BigDecimal rupees);
> }
>
>
> --> ConverterBean.java
>
> package ejb;
>
> import java.math.BigDecimal;
> import javax.ejb.*;
>
> @Stateless
> public class ConverterBean implements Converter {
>
>private BigDecimal rupeeRate = new BigDecimal("40.58");
>private BigDecimal euroRate = new BigDecimal("0.018368");
>
>public BigDecimal dollarToRupees(BigDecimal dollars) {
>BigDecimal result = dollars.multiply(rupeeRate);
>return result.setScale(2, BigDecimal.ROUND_UP);
>}
>
>public BigDecimal rupeesToEuro(BigDecimal rupees) {
>BigDecimal result = rupees.multiply(euroRate);
>return result.setScale(2, BigDecimal.ROUND_UP);
>}
> }
>
>
> --> ejb-jar.xml
>
> 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>xmlns="http://java.sun.com/xml/ns/javaee";
>xmlns:ejb="http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd";
>xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd";
>version="3.1">
>  CurrencyConvertEJB
> 
>
>
> --> openejb-jar.xml
>
> 
> xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0";
>
> xmlns:client="
> http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0";
>xmlns:conn="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";
>xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2";
>xmlns:ejb="http://openejb.apache.org/xml/ns/openejb-jar-2.2";
>xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-2.0";
>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.apache.org/xml/ns/security-2.0";
>xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1";>
>
>
>default
>CurrencyConverterEJB
>1.0
>car
>
>
> 
>
>
> --> index.jsp
>
> 
> <%@ page language="java" contentType="text/html; charset=UTF-8"
>pageEncoding="UTF-8"%>
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">;
> http://www.w3.org/1999/xhtml";>
> 
> 
> Converter
> 
> 
> Converter
>
> 
> Enter an amount to convert:
> 
>
>
>
>
>
>
> 
>
> 
>
> 
>
> 
>
>
> --> ConverterHandler.java
>
> package webejb;
>
> import java.io.IOException;
> import java.io.PrintWriter;
> import java.math.BigDecimal;
>
> import javax.ejb.EJB;
> import javax.servlet.ServletException;
> import javax.servlet.annotation.WebServlet;
> import javax.servlet.http.HttpServlet;
> import javax.servlet.http.HttpServletRequest;
> import javax.servlet.http.HttpServletResponse;
>
> import ejb.Converter;
>
> /**
>  * Servlet implementation class ConverterHandler
>  */
> @WebServlet("/ConverterHandler")
> public class ConverterHandler extends HttpServlet {
>private static final long serialVersionUID = 1L;
>
>@EJB(name = "ejb/Converter")
>private Converter converter;
>
>/**
> * @see HttpServlet#HttpServlet()
> */
>public ConverterHandler() {
>
>super();
>}
>
>/**
> * @see HttpServlet#doGet(HttpServletRequest request,
> HttpServletResponse
> response)
> */
>protected void doGet(HttpServletRequest request, HttpServletResponse
> response) throws ServletException, IOException {
>
>PrintWriter out =

Re: java.security.NoSuchAlgorithmException on Windows

2011-03-28 Thread Forrest Xia
Sounds to me this is not correct setting:

Using JRE_HOME:c:\Program files\Java\jdk1.6.0_21

That directory should be a jdk home, not the jre home.

Forrest

2011/3/29 Forrest Xia 

> This problem is properly caused by improper java.home settings in your OS
> environment. Can you print your ENV settings here?
>
> Use the command like this:
>
> C:\> set | findstr JAVA_HOME
>
> Forrest
>
> 2011/3/26 K. T. Schnikow 
>
>  I've solved the same problem under Linux. I use JRE instead of JDK to run
>> Geronimo and it works. (I'm using Geronimo 2.2 now.)
>>
>> (See 
>> Stackoverflow.com<http://stackoverflow.com/questions/5146746/can-not-run-apache-geronimo-3-on-winxp/5441213#5441213>
>> .)
>>
>>  Původní zpráva   Předmět: 
>> java.security.NoSuchAlgorithmException
>> on Windows  Datum: Fri, 25 Feb 2011 18:29:27 +0100  Od: K. T. Schnikow
>>Komu: user@geronimo.apache.org
>>
>> Hi dears,
>>
>>
>> I have got a java.security.NoSuchAlgorithmException when I'm trying to
>> run Geronimo 3.0-M1 (with Tomcat) on Windows XP via bin/geronino run
>> command. There is reportedly not any AES implementation. But if I try
>> run simple application using AES, it works. I had a look on Internet,
>> but nothing have found. Geronimo output follows.
>>
>> With best regards
>>
>> K. T. Schnikow
>> Barbucha.eu
>> ___
>>
>> C:\g\bin>geronimo run
>> Using GERONIMO_HOME:   C:\g
>> Using GERONIMO_TMPDIR: var\temp
>> Using JRE_HOME:c:\Program files\Java\jdk1.6.0_21
>>
>>  __   _
>> / /___  _    (_) ___  
>>/ / __ / _ \/ ___/ __ \/ __ \/ // __ `__ \/ __ \
>>   / /_/ //  __/ /  / /_/ / / / / // / / / / / /_/ /
>>   \/ \___/_/   \/_/ /_/_//_/ /_/ /_/\/
>>
>>   Apache Geronimo (3.0-M1)
>>
>> Hit '' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>> Hit '' or 'osgi:shutdown' to shutdown Geronimo.
>>
>> geronimo> Booting Geronimo Kernel (in Java 1.6.0_21)...
>> Starting Geronimo Application Server v3.0-M1
>> []  12%   0s  Loading
>> org.apache.ger...2011-02-25 18:23:33,000 ERROR [AbstractEncryption]
>> Unable to decrypt
>> java.security.NoSuchAlgorithmException: Cannot find any provider
>> supporting AES
>> at javax.crypto.Cipher.getInstance(DashoA13*..)
>> at
>> org.apache.geronimo.crypto.AbstractEncryption.decrypt(AbstractEncryption.java:74)
>> at
>> org.apache.geronimo.crypto.EncryptionManager.decrypt(EncryptionManager.java:108)
>> at
>> org.apache.geronimo.system.plugin.PluginRepositoryDownloader.loadUserRepositories(PluginRepositoryDownloader.java:122)
>> at
>> org.apache.geronimo.system.plugin.PluginRepositoryDownloader.(PluginRepositoryDownloader.java:80)
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>> at
>> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952)
>> at
>> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
>> at
>> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
>> at
>> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:917)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
>> at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:544)
>> at
>> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
>> at
>> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:461)
>>   

Re: java.security.NoSuchAlgorithmException on Windows

2011-03-28 Thread Forrest Xia
This problem is properly caused by improper java.home settings in your OS
environment. Can you print your ENV settings here?

Use the command like this:

C:\> set | findstr JAVA_HOME

Forrest

2011/3/26 K. T. Schnikow 

>  I've solved the same problem under Linux. I use JRE instead of JDK to run
> Geronimo and it works. (I'm using Geronimo 2.2 now.)
>
> (See 
> Stackoverflow.com
> .)
>
>  Původní zpráva   Předmět: 
> java.security.NoSuchAlgorithmException
> on Windows  Datum: Fri, 25 Feb 2011 18:29:27 +0100  Od: K. T. Schnikow
>Komu: user@geronimo.apache.org
>
> Hi dears,
>
>
> I have got a java.security.NoSuchAlgorithmException when I'm trying to
> run Geronimo 3.0-M1 (with Tomcat) on Windows XP via bin/geronino run
> command. There is reportedly not any AES implementation. But if I try
> run simple application using AES, it works. I had a look on Internet,
> but nothing have found. Geronimo output follows.
>
> With best regards
>
> K. T. Schnikow
> Barbucha.eu
> ___
>
> C:\g\bin>geronimo run
> Using GERONIMO_HOME:   C:\g
> Using GERONIMO_TMPDIR: var\temp
> Using JRE_HOME:c:\Program files\Java\jdk1.6.0_21
>
>  __   _
> / /___  _    (_) ___  
>/ / __ / _ \/ ___/ __ \/ __ \/ // __ `__ \/ __ \
>   / /_/ //  __/ /  / /_/ / / / / // / / / / / /_/ /
>   \/ \___/_/   \/_/ /_/_//_/ /_/ /_/\/
>
>   Apache Geronimo (3.0-M1)
>
> Hit '' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '' or 'osgi:shutdown' to shutdown Geronimo.
>
> geronimo> Booting Geronimo Kernel (in Java 1.6.0_21)...
> Starting Geronimo Application Server v3.0-M1
> []  12%   0s  Loading
> org.apache.ger...2011-02-25 18:23:33,000 ERROR [AbstractEncryption]
> Unable to decrypt
> java.security.NoSuchAlgorithmException: Cannot find any provider
> supporting AES
> at javax.crypto.Cipher.getInstance(DashoA13*..)
> at
> org.apache.geronimo.crypto.AbstractEncryption.decrypt(AbstractEncryption.java:74)
> at
> org.apache.geronimo.crypto.EncryptionManager.decrypt(EncryptionManager.java:108)
> at
> org.apache.geronimo.system.plugin.PluginRepositoryDownloader.loadUserRepositories(PluginRepositoryDownloader.java:122)
> at
> org.apache.geronimo.system.plugin.PluginRepositoryDownloader.(PluginRepositoryDownloader.java:80)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at
> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:952)
> at
> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:276)
> at
> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
> at
> org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:917)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:544)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386)
> at
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:461)
> at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:224)
> at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:698)
> at
> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:189)
> at
> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:88)
> at
> org.apache.geronimo.system.osgi.BootActivator$1.execute(BootActivator.java:107)
> at
> org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:65)
> at
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
> at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:32)
>
>


Re: struts2 with Geronimo

2010-12-03 Thread Forrest Xia
Geronimo-5020 is fixed now, now the datacdinfo sample can work as a geronimo
server plugin.

To view this sample in eclipse, follow these steps:
1. svn co
http://svn.apache.org/repos/asf/geronimo/samples/tags/samples-parent-2.1.7/
2. cd samples-parent-2.1.7 && mvn install
3. Import the generated EAR file into eclipse
4. Manually associate the source code to the eclipse project

Then you can use run as -> run on server.

Forrest

On Fri, Dec 3, 2010 at 2:01 PM, jbeck  wrote:

>
> Thanks, however that sample is  not very useful including,
>
> "Because of a problem described in GERONIMO-5020, this sample application
> is
> not available as a geronimo plugin for the time being."
>
> I don't see the integration between struts and geronimo clearly explained.
>
> Also it doesn't answer the question - why do I need to do an ANT build
> first
> of the struts code, and not just be able to "run as->run on server", what
> step am I missing to integrate the struts into my geronimo project?
>
> I forgot to mention I'm using eclipse and GEP for
> building/deploying/running
> my geronimo samples .
>
> thanks
>
> jeff
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/struts2-with-Geronimo-tp2009645p2010078.html
> Sent from the Users mailing list archive at Nabble.com.
>


Re: struts2 with Geronimo

2010-12-02 Thread Forrest Xia
Not sure if you had a chance to look at the latest released Geronimo samples
v2.1.7, there is a sample called DataCDInfo, which uses struts in geronimo.

Basically, I don't see any burden that stop using struts with Geronimo.

Forrest


[ANNOUNCEMENT] Geronimo Samples v2.1.7 and Daytrader v2.1.7 is released!

2010-12-01 Thread Forrest Xia
The Apache Geronimo project is pleased to announce the 2.1.7 release of
Geronimo Samples and Daytrader. These releases are aligned with Geronimo
Server 2.1.7 release. For more details, please read the news post on
Geronimo web site(though it needs time to sync)

Thank you guys for reviewing and voting for these releases!

Forrest


Re: String resource and JNDI?

2010-11-23 Thread Forrest Xia
No existing service in server for URL jndi resource.

But you refer to the sample app to impl. that if you want.

Forrest

On Wed, Nov 24, 2010 at 5:06 AM, Faw  wrote:

>
> Is there a way to add a string resource to JNDI in geronimo? Like the
> database pools but just for string resources?
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/String-resource-and-JNDI-tp1956441p1956441.html
> Sent from the Users mailing list archive at Nabble.com.
>


urlbindwebapp.war
Description: Binary data


Re: problem starting geronimo

2010-08-20 Thread Forrest Xia
I can run g 2.2 on my ubuntu with sun jdk 1.6.0_20, can you have a try with
that?

Forrest


Re: problem starting geronimo

2010-08-19 Thread Forrest Xia
Can you tell the exact version of sun jdk 1.6? for example, 1.6.0_20. I can
have a try on my linux box.

the first question you do not answer, have you ever set any CLASSPATH
variable in your linux box?

Forrest


Re: problem starting geronimo

2010-08-19 Thread Forrest Xia
Have you ever set the CLASSPATH environment variable? What's the settings of
JAVA_HOME or JRE_HOME?

Forrest


[Announcement] Geronimo Samples 3.0-M1 is released now!

2010-07-16 Thread Forrest Xia
Hi All,

As the subject, this is a release accompany with Geronimo Server 3.0-M1,
which includes these samples which now works on the server:

1. Java EE 5 samples

   - dbtester
   - inventory
   - ldap-sample-app
   - timereport
   - jsp-examples
   - servlet-examples

2. Java EE 6 samples

   - cviewer-javaee6
   - converter-javaee6
   - jarresource-javaee6
   - fileupload-javaee6

3. OSGi samples

   - aries-datasource

4. Daytrader

   - daytrader-web-jdbc
   - daytrader-web-jpa

Conveniently, you can install all of these samples via Geronimo plugin way
online at http://geronimo.apache.org/plugins/samples-3.0-M1/.

For more details, please refer to the documentation at
https://cwiki.apache.org/confluence/display/GMOxDOC30/Samples.

Forrest


Re: XSRFHandler blocked when trying to edit database pool

2010-06-02 Thread Forrest Xia
which browser you are using? Suggest to use firefox.

Forrest

On Wed, Jun 2, 2010 at 4:25 PM, Johannes Weberhofer, Weberhofer GmbH <
off...@weberhofer.at> wrote:

> I have created a new database pool which I can not edit now, because I get
> the following error:
>
> 2010-06-02 10:02:05,280 WARN  [XSRFHandler] Blocked due to missing
> HttpServletRequest parameter.
> 2010-06-02 10:02:05,280 ERROR [XSSXSRFFilter] XSSXSRFFilter blocked
> HttpServletRequest due to invalid FORM content.
>
> How can I edit it again?
>
> Best regards,
> Johannes Weberhofer
>


Re: Additional Parameters using TranQL Local Resource Adapter and MySQL

2010-05-31 Thread Forrest Xia
BTW, seems the mysql snapshot tranql connector cannot recognize the
CharacterEncoding property. I see the setter there, but no getter, maybe
that's the reason.

An alternative is to use the general tranql connector.

Forrest


Re: Additional Parameters using TranQL Local Resource Adapter and MySQL

2010-05-31 Thread Forrest Xia
On Mon, May 31, 2010 at 7:13 PM, Johannes Weberhofer, Weberhofer GmbH <
off...@weberhofer.at> wrote:

> Dear David,
>
> sorry for the late reply; I have had a look at the snapshots - but how can
> I update Geronimo to use the new Drivers instead of the recent one?
>
Prepare the connector deployment plan, then use the snapshot RAR to deploy
it. For example, to deploy a postgre datasource:
1. download the snapshot from
http://snapshots.repository.codehaus.org/org/tranql/tranql-connector-postgresql-xa/1.3-SNAPSHOT/tranql-connector-postgresql-xa-1.3-20100428.005903-1.rar
2. install the postgre jdbc driver, the module ID is
postgresql/postgresql/8.3.603.jdbc4/jar, for example.
3. prepare a postgre datasource deployment plan like the attachment.
4. deploy the plan with the rar in admin console. Click "Deploy New"

mysql is similar.

Forrest

http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";>
http://geronimo.apache.org/xml/ns/deployment-1.2";>

console.dbpool
postgrexads
1.0
car



postgresql
postgresql
8.3.603.jdbc4
jar






javax.sql.DataSource

postgrexads

tradedb
	trade
	trade
	localhost
			5432
true
			org.postgresql.ssl.NonValidatingFactory





10
0










Re: DayTrader on Tomcat

2010-05-13 Thread Forrest Xia
On Thu, May 13, 2010 at 10:24 PM, Dianne Richards wrote:

> I downloaded everything after Forrest posted that the new samples were
> ready and finally got a clean build of DayTrader. But, now I'm having
> problems running it on Tomcat. I noticed that there were 3 war files, so I
> tried several combinations, unsuccessfully. When I run startup with just the
> daytrader-web-jpa-3.0-SNAPSHOT.war, it tells me that it needs
> daytrader-web-jdbc-3.0-SNAPSHOT. So, I added that war file and got no
> startup errors. But, when I try to start daytrader, I get "*The requested
> resource (/daytrader) is not available."* So, I added the
> daytrader-war-3.0-SNAPSHOT.war. I get the following startup error:
>
> SEVERE: Error listenerStart
> May 13, 2010 9:21:05 AM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/daytrader-war-3.0-SNAPSHOT] startup failed due to
> previous err
> ors
>
> So, the first question is, which war files need to be deployed? Second,
> what do I need to do to get past the problems? Or is there a bug here?

Just try web-jdbc one, by default, it uses derby datasource, but tomcat does
not start derby. So you need to manually switch the datasource to another
one. Let me have DB2 as an example,

1. uncomment the db2 datasource in META-INF/context.xml, and comment out
derby accordingly.
2. create a db2 database with the name in the datasource definition
3. rebuild the web-jdbc assembly and deploy it to tomcat via its console,
note that you need to specify the web context root explicitly as /daytrader
4. then try http://localhost:8080/daytrader

Forrest


Geronimo Java EE 6 Samples Are Ready for your try

2010-05-09 Thread Forrest Xia
Hi all,

There are some java ee 6 samples ready for try on G 3.0 snapshot build. The
purpose of these new samples is to demo some java ee 6 new features, and to
give end user some idea about java ee 6 improved programming model. Note
that those samples could not be regarded as a full coverage to all java ee 6
new features.

To try the new samples, follow these commands:
svn co http://svn.apache.org/repos/asf/geronimo/samples/trunk/ gsamplestrunk
cd gsamplestrunk
mvn clean install -Pno-plugin -e

Note: you may need to check out server trunk code and make a local build
before you try to build the samples trunk.

The coverage of new features as below:
*Servlet 3.0*
1. cviewer-javaee6 -- A sample to demo programmatically register servlets
and filters
2. fileupload-javaee6 -- A sample to demo part attribute and new annotations
3. jarresource-javaee6 -- A sample to demo jar resources usage in a web
application
4. webfragment-javaee6 -- A sample to demo web fragment feature
*JSF 2.0*
5. converter-javaee6 -- A sample to demo JSF and AJAX interaction
*EJB 3.1*
6. ejbtimer-javaee6 -- A sample to demo EJB timer feature
7. singletonejb-javaee6 -- A calculator sample to demo singleton EJB
*JPA 2.0*
8. jpa20demo-javaee6 -- A sample using JSF and criteria API of JPA 2.0
*RESTful service*
9. restfulorder-javaee6 -- A sample to demo restful service

All these samples run successfully on the Java EE 6 RI server - glassfish
v3. But for G 3.0 tomcat snapshot build, only sample 1,4,5 work, others
could deplopy but failed to run.
I understand the G 3.0 is still under construction towards java ee 6
compliant, so let me know if there is a necessity to fire some jiras for
samples failures on the 3.0 snapshot build.


Forrest


Re: DayTrader on Tomcat

2010-05-07 Thread Forrest Xia
On Fri, May 7, 2010 at 10:27 PM, Dianne Richards  wrote:

> Thanks David and Forrest. I obviously copied the wrong url from your first
> note Forrest, so it was my mistake.
>
> I now have the correct directory structure. But I'm getting the following
> error when I build from gsamplestrunk:
>
> [ERROR] FATAL ERROR
> [INFO]
> 
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: unknown
>
> Reason: Could not find the model file
> 'G:\geronimo\gsamplestrunk\samples\javaee6
> \restfulorder-javaee6'. for project unknown
>

I just made a partially commit, now I revert back the change, so please
update your working copy, and retry.

Forrest


Re: DayTrader on Tomcat

2010-05-06 Thread Forrest Xia
More instructions:
1. If you hit buildutil missing error, please go to buildutil directory and
execute "mvn install"
2. if you hit problem when building daytrader from its root, something could
be like this " Missing dependency: net.sourceforge.serp/serp/1.11.0/jar",
just ignore it for now, and go to daytrader-web-jdbc directory to check if
war is generated, if not, execute command "mvn install"

Forrest

On Fri, May 7, 2010 at 10:20 AM, Forrest Xia  wrote:

> Hi Dianne,
>
> Have you tried the steps that I list?
>
> *1. svn co 
> http://svn.apache.org/repos/asf/geronimo/samples/trunk/gsamplestrunk
> 2. cd gsamplestrunk && mvn install -N && cd samples && mvn install -N && cd
> daytrader && mvn install
> 3. then check daytrader/assemblies/web/*
> *daytrader-web-jdbc/target for the war file, follow the
> daytrader/assemblies/web/**daytrader-web-jdbc/README to deploy to Tomcat*
>
> Forrest
>
>


Re: DayTrader on Tomcat

2010-05-06 Thread Forrest Xia
Hi Dianne,

Have you tried the steps that I list?
*1. svn co http://svn.apache.org/repos/asf/geronimo/samples/trunk/gsamplestrunk
2. cd gsamplestrunk && mvn install -N && cd samples && mvn install -N && cd
daytrader && mvn install
3. then check daytrader/assemblies/web/*
*daytrader-web-jdbc/target for the war file, follow the
daytrader/assemblies/web/**daytrader-web-jdbc/README to deploy to Tomcat*

Forrest

On Fri, May 7, 2010 at 12:25 AM, Dianne Richards  wrote:

> I need more help. I downloaded the code again from the new link (
> http://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/daytrader/)
> into G:\geronimo\samples\trunk. From that directory, I did mvn clean
> install. I got the following error:
>
> G:\geronimo\samples\trunk>mvn clean install
> [INFO] Scanning for projects...
> [INFO]
> 
> [ERROR] FATAL ERROR
> [INFO]
> 
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.geronimo.samples
> ArtifactId: samples
> Version: 3.0-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
>   org.apache.geronimo.samples:samples:pom:3.0-SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
> Am I missing something, or should this work?
>
> Dianne
>
>
> On Thu, May 6, 2010 at 10:31 AM, Dianne Richards wrote:
>
>> Thanks Forrest - I had downloaded DayTrader from
>> https://svn.apache.org/repos/asf/geronimo/daytrader/trunk. I'll try it
>> from the link you posted.
>>
>> Dianne
>>
>>
>> On Thu, May 6, 2010 at 10:10 AM, Forrest Xia  wrote:
>>
>>> Hi Dianne,
>>>
>>> What code base you are working on? Recently I copy daytrader into
>>> Geronimo samples trunk for future maintanence, the new URL is
>>> http://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/daytrader/
>>>
>>> If you get code from there, you can follow these steps to get a war which
>>> could be deployed into Tomcat:
>>> 1. svn co 
>>> http://svn.apache.org/repos/asf/geronimo/samples/trunk/gsamplestrunk
>>> 2. cd gsamplestrunk && mvn install -N && cd samples && mvn install -N &&
>>> cd daytrader && mvn install
>>> 3. then check daytrader/assemblies/web/daytrader-web-jdbc/target for the
>>> war file, follow the daytrader/assemblies/web/daytrader-web-jdbc/README to
>>> deploy to Tomcat
>>>
>>> Forrest
>>>
>>>
>>> On Thu, May 6, 2010 at 10:55 PM, Dianne Richards wrote:
>>>
>>>> Hi - Donald Woods told me that he thought changes were being made to
>>>> DayTrader in trunk to create a war file that can be run on Tomcat. I
>>>> downloaded the files and see some changes in the code. But, when I build it
>>>> I don't see any war file. Am I missing something? Or, how close is it to
>>>> being done? Any projected date?
>>>>
>>>
>>>
>>
>


Re: DayTrader on Tomcat

2010-05-06 Thread Forrest Xia
Hi Dianne,

What code base you are working on? Recently I copy daytrader into Geronimo
samples trunk for future maintanence, the new URL is
http://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/daytrader/

If you get code from there, you can follow these steps to get a war which
could be deployed into Tomcat:
1. svn co http://svn.apache.org/repos/asf/geronimo/samples/trunk/gsamplestrunk
2. cd gsamplestrunk && mvn install -N && cd samples && mvn install -N && cd
daytrader && mvn install
3. then check daytrader/assemblies/web/daytrader-web-jdbc/target for the war
file, follow the daytrader/assemblies/web/daytrader-web-jdbc/README to
deploy to Tomcat

Forrest

On Thu, May 6, 2010 at 10:55 PM, Dianne Richards  wrote:

> Hi - Donald Woods told me that he thought changes were being made to
> DayTrader in trunk to create a war file that can be run on Tomcat. I
> downloaded the files and see some changes in the code. But, when I build it
> I don't see any war file. Am I missing something? Or, how close is it to
> being done? Any projected date?
>


Re: Does Geronimo Eclipse Plugin support hot deployment

2010-02-24 Thread Forrest Xia
check this one and see if it makes sense.

http://www.ibm.com/developerworks/forums/thread.jspa?threadID=238602&tstart=45

On Thu, Feb 25, 2010 at 9:17 AM, Russell Collins <
russell.coll...@mclaneat.com> wrote:

> I use the Geronimo Eclipse Plugin to create EJB's and such.  When I am
> developing, I start the Geronimo instance in eclipse and use the republish
> feature without having to restart the server.  This will unload and reload
> the classes that have been changed.  I usually do not have the automatic
> reload feature running.  I imagine that it the automatic feature will work
> the same.
>
> -Original Message-
> From: David Jencks [mailto:david_jen...@yahoo.com]
> Sent: Wednesday, February 24, 2010 4:48 PM
> To: user@geronimo.apache.org
> Subject: Re: Does Geronimo Eclipse Plugin support hot deployment
>
> class >> definitely not, our classloader doesn't support hot reloading
> of classes.
> jsp >> not sure.  I'm not sure how the eclipse plugin works.  If you
> figure out where geronimo is loading the jsps from then you can edit
> them there and they will be reloaded by jasper.  However this is
> unlikely to be where you are editing them in eclipse.  It is possible
> that if GEP is using "in place deployment" cleverly enough this would
> actually be the eclipse workspace
>
> thanks
> david jencks
>
> On Feb 24, 2010, at 2:07 PM, Lisa Dony wrote:
>
> >
> > I'm using eclipse and geronimo 2.2 plug-in.  I created a small
> > dynamic web
> > app running in geronimo.   I have the Apache Geronimo 2.2 Publishing
> > settings set to "Automatically publish when resource change".  If I'm
> > running my dynamic web app in debug mode in eclipse, and if  I make
> > a change
> > to a class or jsp in my eclipse workspace, the whole application is
> > getting
> > republished.  Is there some setting in for geromino/eclipse to just
> > replace
> > the class or jsp that was changed?
> >
> > --
> > View this message in context:
> http://n3.nabble.com/Does-Geronimo-Eclipse-Plugin-support-hot-deployment-tp414142p414142.html
> > Sent from the Users mailing list archive at Nabble.com.
>
>
> CONFIDENTIALITY NOTICE: The information contained in this electronic mail
> (email) transmission (including attachments), is intended by MCLANE ADVANCED
> TECHNOLOGIES for the use of the named individual or entity to which it is
> addressed and may contain information that is privileged, confidential
> and/or protected as a trade secret. It is not intended for transmission to,
> or receipt by, any individual or entity other than the named addressee(s).
> If you have received this email in error, please delete it (including
> attachments) and any copies thereof without printing, copying or forwarding
> it, and notify the sender of the error by email reply immediately.
>


Re: Can not login to geronimo 2.2 console

2010-01-28 Thread Forrest Xia
On Thu, Jan 28, 2010 at 6:28 AM, rbaumhof  wrote:

>
> I am testing on Windows XP, with Sun's jdk 1.6 Update 14 and Sun's jdk 1.5
> Update 20.
> Í have downloades the Windows and other zip file ones again from an oher
> download server. The sizes of the first and second download are equal. I
> have tested the second installation again. There is the same effect, no
> possibility to log in.  Independant from me, a collegue has tested on
> Ubuntu
> Linux, with the same result. He also uses Sun's jdk. The jdk was installed
> as sdk version.
>
> This is our starting skript. It always worked nice with geronimo 2.1, 2.1.2
> and 2.1.4
>
> set JRE_HOME=
> rem set JAVA_HOME=c:\Programme\Java\jdk1.6.0_14
> set JAVA_HOME=c:\Programme\Java\jdk1.5.0_20
>
> set GERONIMO_HOME=d:\geronimo-tomcat2.2
>
> set JAVA_OPTS=-Xms96m -Xmx256m -XX:MaxPermSize=128M
> -DGERONIMO_CONF=/d:/home/geronimo/var/config
> -Djava.security.manager="java.rmi.RMISecurityManager"
> -Djava.security.policy=/geronimo/bin/java.policy
>
Maybe the custom java.policy break admin console. See this jira
http://issues.apache.org/jira/browse/GERONIMO-4981

Forrest


Re: geronimo2.2- web UI not getting loaded

2010-01-04 Thread Forrest Xia
Finally, I noticed the same error in the geronimo.out. It might be a bug of
G 2.2.

However, it won't stop the server to boot up. Can you still try to see if
the url http://localhost:8080/console after the jee server started?

Forrest


Re: geronimo2.2- web UI not getting loaded

2010-01-03 Thread Forrest Xia
Hi Shailen,

Can you paste the content of var/log/geronimo.out when the exception shows
up? Let's see what module hit problem when server boot up.

Forrest


Re: [ANNOUNCE] Availability of Geronimo 2.2

2010-01-03 Thread Forrest Xia
On Sun, Jan 3, 2010 at 4:09 AM, frapien  wrote:

>
> Congratulations an a happy new year to the Geronimo team!
> Good luck for comming releases...
>
> Can someone please update the
> ... 
> http://geronimo.apache.org/plugins/samples-2.2/geronimo-plugins.xml


I'm working on the G 2.2 samples release, hopefully, we can get  the sample
plugins url ready soon, keep tuned...

Forrest

>
> Frank
>
>


Re: Error while starting geronimo server

2009-12-30 Thread Forrest Xia
Check if there is a backup name "config.xml.bak" in var/config/ directory.
If yes, rename the problematic one to another name, for example, config.xml
-> config.xml.bad, then rename the backup one to config.xml, start the
server again and see if it works.

Seems to me, you have a wrong definition in config.xml, so paste tomcat
module definition will be helpful to determine what the problem is.

Forrest


Re: geronimo2.2- web UI not getting loaded

2009-12-30 Thread Forrest Xia
How about http://localhost:8080/console?

I can run 2.2 on ubuntu 8.04, no problem when accessing the welcome page at
http://localhost:8080/

if still problem, pls check if there is a port listening on 8080
netstat -nao|grep 8080

check if the geronimo process is normal
ps -ef|grep geronimo

check if it is the geronimo process opened 8080 port for listening.

Regards,
Forrest


Re: MySQL Broken Pipe

2009-12-06 Thread Forrest Xia
Or another way to set autoReconnect=true via the general tranql adapter.
Here is an example about it:
1. Install the mysql jdbc driver to geronimo repository. You can install it
via admin console->services->repository, and set it module id, for example,
mysql/mysql-connector-java/3.1.12/jar
2. Create a connector plan file "plan.xml" like follows:

http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";>


default
myds
1.0
car



mysql
mysql-connector-java
3.1.12
jar







javax.sql.DataSource

jdbc/myds
com.mysql.jdbc.Driver
**
*jdbc:mysql://localhost:3306/mydb?autoReconnect=true
*
root
password



10
0









In this plan, you can add any jdbc property in the ConnectionURL
config-property-setting.
3. Deploy this plan via deploy.sh|bat command like follows:
 /bin/deploy.sh deploy
repository/org/tranql/tranql-connector-ra/1.4/tranql-connector-ra-1.4.rar
/plan.xml
4. Then use this data source in your application.

Forrest


Re: Deploy and System.out.println

2009-12-02 Thread Forrest Xia
Sounds to me you encountered a deployment problem. If your G server is
running on windows, you can see the system.out.println info in a DOS window,
otherwise, you can find it in a file var/log/geronimo.out.

If you cannot figure out what the problem might be, you can open DEBUG in
geronimo log configuration var/log/server-log4j.properties to catch more
detailed about the deployment issue.

Good luck!

Forrest


Re: Geronimo with openjpa (and DataSource lookups)

2009-12-01 Thread Forrest Xia
In Java EE web tier, you can inject jpa resources in the objects managed by
container, such as servlets, ServletContextListener, JSF beans, and etc.

About the sample code. you can refer to
http://java.sun.com/javaee/5/docs/tutorial/doc/bnbrm.html.

Forrest


Re: Remote Deployment: Connection Refused

2009-11-30 Thread Forrest Xia
On Tue, Dec 1, 2009 at 5:25 AM, MDiamond  wrote:

>
>
> Shawn Jiang wrote:
> >
> > Please do following to see if B instance is listening to the right
> > ip:port.
> >
> > 1, *sh...@geronimo>**  netstat -na|grep 1099*
> >
>
> I see this:
> tcp0  0 :::1099 :::*
> LISTEN
> unix  3      [ ] STREAM CONNECTED 471099
>
>
> Forrest Xia wrote:
> >
> > 2. If the machine B is linux, check if /etc/hosts includes entries like
> > follows:
> > 127.0.0.1 localhost localhost.localdomain
> >  
> >
>
> My /etc/hosts file has the following:
> 127.0.0.1localhost.localdomain
> localhost
>

It should be like this:
127.0.0.1  localhost.localdomain localhost
 

::1 localhost6.localdomain6 localhost6
>
> --
> View this message in context:
> http://old.nabble.com/Remote-Deployment%3A-Connection-Refused-tp26421415s134p26582166.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
> Please try and let me know if still problem.

Forrest


Re: Geronimo with openjpa (and DataSource lookups)

2009-11-26 Thread Forrest Xia
Hi,

You can have the daytrader sample as an example for how to use defined
datasource in persistence.xml.

http://svn.apache.org/repos/asf/geronimo/daytrader/trunk/

If still not successful, pls try to describe your deployment steps and
related exceptions.

Forrest


Re: Remote Deployment: Connection Refused

2009-11-25 Thread Forrest Xia
Quoted from "
https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14001599�
"

Assume you have two machines: machin A and machine B. To do deployment from
A to B. You can follow these steps:
1. On machine B, open var/config/config-substitutions.properties and modify
as follows
RemoteDeployHostname=
2. If the machine B is linux, check if /etc/hosts includes entries like
follows:
127.0.0.1 localhost localhost.localdomain
 
3. start wasce default server instance on machine B
4. On machine A, execute your remote deployment command like follows:
deploy.sh|bat -u system -p manager --host  deploy


Forrest


Re: Help me

2009-11-06 Thread Forrest Xia
Hi Xasima,
Seems to me you are building geronimo 3.0 from the trunk. If you tend to
build G 2.2, you are supposed to check out from
http://svn.apache.org/repos/asf/geronimo/server/branches/2.2/.

Forrest


Re: Help me

2009-11-05 Thread Forrest Xia
On Fri, Nov 6, 2009 at 11:40 AM, Fei LI  wrote:

>  Hi Forrest,
>
> Thanks for your help first. Let me build server first the build eclipse
> plugin second. Because I tried many SVN and no one working. So let me put my
> question in such way. Tell me if you know, the newest version you know it
> will be built without error, I have Windows XP and Vista.
> 1. for server:
> 1.1 which java version? sun jdk 1.5 latest
> 1.2 which maven version? 2.2.1
> 1.3 which SVN source?
> http://svn.apache.org/repos/asf/geronimo/server/tags/2.1.4/
> 1.4. which mvn command? mvn clean install -Dtest=false -e
>

Besides, you need to pay attention to these:
1. if using sun jdk, you need to set MAVEN_OPTS as documentation. If using
ibm jdk, you won't do that
2. checkout the source code in a short path name as Donald pointed out
3. In your DOS window, change your locale to en_US by executing: chcp 437
and then start to build server.


>
>  1. for Eclipse plugin:
> 1.1 which java version?
> 1.2 which maven version?
> 1.3 which SVN source?
> 1.4. which mvn command?
>

Please try to make server built successfully, then let's see how to build
GEP.

Good luck!

>
> I will do whatever you suggest and to see if I luck or not.
>
>
> Thanks
>
> Fei Li
>
>
>  --
>  *From:* Forrest Xia [mailto:forres...@gmail.com]
> *Sent:* Thu 05/11/2009 7:20 PM
> *To:* user@geronimo.apache.org
> *Subject:* Re: Help me
>
> Before building geronimo eclipse plugin(gep), you need to build geronimo
> server first.
>
> Suggest you start with a released code tree to build gep, not the trunk
> code. Generally, trunk code is changing and unstable.
>
> For a better understanding what you are doing, pls tell:
> 1. which version of geronimo you are going to work on?
> 2. what jdk you are using to build gep?
> 3. Any error when you are building geronimo server?
>
> Forrest
>


Re: Help me

2009-11-05 Thread Forrest Xia
Before building geronimo eclipse plugin(gep), you need to build geronimo
server first.

Suggest you start with a released code tree to build gep, not the trunk
code. Generally, trunk code is changing and unstable.

For a better understanding what you are doing, pls tell:
1. which version of geronimo you are going to work on?
2. what jdk you are using to build gep?
3. Any error when you are building geronimo server?

Forrest


Re: Error trying to set a binary stream as a PreparedStatement argument

2009-10-29 Thread Forrest Xia
Which version of geronimo/was ce you are running this application on that
hit this problem? and which jdk?

if convenient, can you attach a runable app so that I can debug it?

Forrest


Re: Testing SQL connection before return in outbound connection pool using spring

2009-09-14 Thread Forrest Xia
There is some known issue on geronimo db connectivity. Not sure if this JIRA
discussion is helpful for your problem.

https://issues.apache.org/jira/browse/GERONIMO-4222


Re: Testing SQL connection before return in outbound connection pool using spring

2009-09-14 Thread Forrest Xia
In geronimo, there is GBean
"org.apache.geronimo.connector.DatabaseInitializationGBean", which has an
attribute to test a connection before executing the target sql.

A sample about how to use it, refer to
http://cwiki.apache.org/GMOxDOC22/configuring-your-own-monitoring-plugin-datasource.html

Hope this helpful! Good luck!


Re: Database Pool creation exception

2009-09-14 Thread Forrest Xia
You mean you boot geronimo from eclipse, then open a browser to login
administrative console to deploy the same database pool?

can you share the data source deployment plan?


Re: J2EE Connector deployment problem

2009-07-08 Thread Forrest Xia
Try to remove the  element, just leave  definition.

Forrest


Re: Geronimo as a linux service

2009-04-01 Thread Forrest Xia
As I know, there is a redistribution of geronimo from IBM, called WASCE.
WASCE is distributed by SuSE as a RPM, it has scripts to run wasce as a
service.

You can check SuSE website for details.

Thanks,
Forrest


Re: First time user can't start geronimo

2009-03-29 Thread Forrest Xia
Seems a port conflict issue.

Besides 8080, there are some other ports used by Geronimo:
"Listening on Ports:
1050 0.0.0.0 CORBA Naming Service
1099 0.0.0.0 RMI Naming
1527 0.0.0.0 Derby Connector
2001 0.0.0.0 OpenEJB ORB Adapter
4201 0.0.0.0 OpenEJB Daemon
6882 0.0.0.0 OpenEJB ORB Adapter
8009 0.0.0.0 Tomcat Connector AJP AJP
8080 0.0.0.0 Tomcat Connector HTTP BIO HTTP
8443 0.0.0.0 Tomcat Connector HTTPS BIO HTTPS
 0.0.0.0 JMX Remoting Connector
   61613 0.0.0.0 ActiveMQ Transport Connector
   61616 0.0.0.0 ActiveMQ Transport Connector"

Try to run geronimo with "Geronimo.bat run", then you can see which module
is failed to start.


Re: Starting of the geronimo server fails

2009-03-24 Thread Forrest Xia
Seems your g server was not started correctly. Can you attach a full log for
problem determination?

Forrest


Re: Issues facing when connecting with Oracle10g

2009-03-13 Thread Forrest Xia
Can I rely on the admin console alone for deploying the database pool for
> oracle 10g?

Sure, you can use admin console db pool wizard to create one easily.

Attach a sample deployment plan for your reference.

You can use this command to deploy it:
$GERONIMO_HOME/bin/deploy.sh -u system -p manager deploy
$GERONIMO_HOME/repository/org/tranql/tranql-connector-oracle-xa/1.4/tranql-connector-oracle-xa-1.4.rar
your-ds-plan.xml

Good luck!

Forrest


http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";
  xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2";
  xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2";>

  

  console.dbpool
  fpdbpool
  1.0
  car



 com.telelogic.focalpoint.lib
 ojdbc14
 10.2.0.1.0
 jar




  

  


javax.sql.DataSource

jdbc/TradeDataSource
trade
trade
tradedb
localhost
1521
thin





100
0
5000
30





jdbc/NoTxTradeDataSource
trade
trade
tradedb
localhost
1521
thin



10
0
5000
30












Re: Geronimo Plugin

2009-03-11 Thread Forrest Xia
The latest GEP is 2.1.3, I can install it into Ganymede JEE edition SR2.

Suggest to use the JEE edtion of Ganymede SR2.

Good luck!

Forrest


Re: Admin console not working..

2009-03-11 Thread Forrest Xia
Are you using a complete geronimo version? seems you are using a simplified
version which does not include admin console module.


Re: your current Geronimo evaluation

2009-03-05 Thread Forrest Xia
For deployment plan aspect, I believe you will spend equal time among those
app servers, there is no obvious learning curve differences.


Re: Can't Publish

2009-02-16 Thread Forrest Xia
see this archive ->
https://mail.google.com/mail/?hl=en&zx=9s8ebr8cmyvk&shva=1#search/headache+forrest/11ec0f96507a2dda

You can have a 2.1.4-snapshot build(
http://people.apache.org/builds/geronimo/server/binaries/2.1/) to see it is
still a problem in your machine.


Re: deployment for MySQL XA.

2009-01-19 Thread Forrest Xia
Thanks David for pointing out the wrong points.

I made some tries, and figure out a sample datasource for mysql:

mysqlxads
http://geronimo.apache.org/xml/ns/deployment-1.2";>
org.tranql
tranql-connector-mysql-xa
rar

http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";>





javax.sql.DataSource

jdbc/mysqlxads
sampledb
theusername
thepassword





10
0







  


As to MS SQL sample, updated as following:




javax.sql.DataSource

jdbc/SampleDatasource
username
password
com.microsoft.sqlserver.jdbc.SQLServerDriver
jdbc:sqlserver://servername:1433;DataBaseName=sampledb



5
0

5000
15








Thanks for pointing out any error.


Re: deployment for MySQL XA.

2009-01-18 Thread Forrest Xia
MySQL sample:




javax.sql.DataSource

jdbc/SampleDatasource
root

com.mysql.jdbc.Driver
jdbc:mysql://localhost:3306/sampledb
true





5
0

5000
15








MS SQL sample:




javax.sql.DataSource

jdbc/SampleDatasource
username
password
com.microsoft.sqlserver.jdbc.SQLServerDriver
jdbc:sqlserver://servername:1433;DataBaseName=sampledb


5
0

5000
15








Good luck!

Forrest

On Mon, Jan 19, 2009 at 10:47 AM, bongosdude  wrote:

>
> Can someone show me how to create deployment plan for MySQL XA datasource?
> How is about MS SQL (local transaction)
>
> Thanks
> -B
>
> -
> B Amigo:super:
> --
> View this message in context:
> http://www.nabble.com/deployment-for-MySQL-XA.-tp21536125s134p21536125.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>


Re: [VOTE] Release DayTrader v2.1.3

2009-01-18 Thread Forrest Xia
Donald,

You know, I have some patches for daytrader trunk, but they should be
applicable for 2.1.3. Do we expect to include those patches to 2.1.3?

Forrest

On Fri, Jan 16, 2009 at 11:56 PM, Kevan Miller wrote:

> Donald,What's the status of this vote? If we need more votes, then please
> ask for a review or cancel...
>
> --kevan
> On Dec 3, 2008, at 3:34 PM, Donald Woods wrote:
>
> All,
>
> I've prepared a release candidate of DayTrader 2.1.3 for your review and
> vote.  This release can only be installed on Geronimo 2.1.3 server or later.
>
> The source level is Rev723010 from the following svn branch:
> https://svn.apache.org/repos/asf/geronimo/daytrader/branches/2.1.3/
>
> When the release vote is approved, I will svn mv the code to:
> https://svn.apache.org/repos/asf/geronimo/daytrader/tags/2.1.3/
>
> The following staging directory contains the maven artifacts to be
> released:
> http://people.apache.org/~dwoods/staging-repo/daytrader/
>
> For your convenience, you can add the following as a plugin repo to install
> DayTrader as a plugin from the staging repo:
> http://people.apache.org/~dwoods/ 
>
> The README and source files can be found here:
> http://people.apache.org/~dwoods/staging-repo/README-daytrader.txt
>
> http://people.apache.org/~dwoods/staging-repo/daytrader/org/apache/geronimo/daytrader/daytrader/2.1.3/daytrader-2.1.3-src.zip
>
> When the release vote is approved, the maven artifacts will be moved to the
> m2-ibiblio-rsync-repository at Apache.
>
>
> [ ] +1 Release DayTrader 2.1.3
> [ ] 0 No opinion
> [ ] -1 Do not release DayTrader 2.1.3 (please provide rationale)
>
> The voting will be open for 72 hours or until we have enough votes,
> whichever is longer.
>
>
> -Donald
>
>
>