[jira] [Updated] (GERONIMO-5929) org.apache.geronimo.kernel.config.LiefcycleException when starting Hudson.war on G3.0

2011-05-05 Thread Shenghao Fang (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-5929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shenghao Fang updated GERONIMO-5929:


Attachment: hudson_DD.xml

There are still errors when accessing Hudson, update the DD.

> org.apache.geronimo.kernel.config.LiefcycleException when starting Hudson.war 
> on G3.0
> -
>
> Key: GERONIMO-5929
> URL: https://issues.apache.org/jira/browse/GERONIMO-5929
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>Affects Versions: 3.0
> Environment: Sun JDK 1.6.0_21, GBuild 04/19
>Reporter: Chi Runhua
>Assignee: Shawn Jiang
> Attachments: hudson_DD.xml, hudson_DD.xml
>
>
> Hudson.war can be deployed successfully, however, it fails to start because 
> of the following exception:
> 2011-04-22 10:26:13,093 ERROR [DeploymentPortlet] The application was not 
> successfully started.
> start of hudson/hudson/1.384/war failed
> org.apache.geronimo.kernel.config.LifecycleException: start of 
> hudson/hudson/1.384/war failed
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:718)
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
>   at 
> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
>   at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown 
> start exception
>   at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:521)
>   at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
>   ... 3 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: 
> Configuration hudson/hudson/1.384/war failed to start due to the following 
> reasons:
>   The service 
> J2EEApplication=null,j2eeType=WebModule,name=hudson/hudson/1.384/war did not 
> start because ContainerBase.addChild: start: 
> org.apache.catalina.LifecycleException: java.io.IOException: Context did not 
> start for an unknown reason
> java.lang.IllegalStateException: ContainerBase.addChild: start: 
> org.apache.catalina.LifecycleException: java.io.IOException: Context did not 
> start for an unknown reason
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:816)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
>   at 
> org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:310)
>   at 
> org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:569)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:975)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
>   at 
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
>   at 
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
>   at 
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:301)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
>   at 
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonit

[BUILD] branches/2.1: Failed for Revision: 1100063

2011-05-05 Thread Jarek Gawor
Geronimo Revision: 1100063 built with tests included
 
See the full build-0200.log file at 
http://people.apache.org/builds/geronimo/server/binaries/2.1/20110506/build-0200.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/2.1/20110506/unit-test-reports
 
Downloading: 
http://repo2.maven.org/maven2/org/mortbay/jetty/jetty/6.1.5/jetty-6.1.5.jar

Downloading: 
http://repo2.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar

Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/doxia/doxia-core/1.0/doxia-core-1.0.jar

Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-model-1.0.jar

Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar

Downloading: 
http://repo2.maven.org/maven2/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar

Downloading: 
http://repo2.maven.org/maven2/org/codehaus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar


Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar

Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar


Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar



Downloading: 
https://nexus.codehaus.org/content/repositories/releases//org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.jar
[INFO] Unable to find resource 'org.mortbay.jetty:jetty-util:jar:6.1.5' in 
repository codehaus.org (http://snapshots.repository.codehaus.org)
Downloading: 
http://people.apache.org/repo/m2-snapshot-repository//org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.jar
[INFO] Unable to find resource 'org.mortbay.jetty:jetty-util:jar:6.1.5' in 
repository apache.m2.incubator 
(http://people.apache.org/repo/m2-snapshot-repository/)
Downloading: 
http://repo2.maven.org/maven2/org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5.jar

Downloading: 
https://nexus.codehaus.org/content/repositories/releases//org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar
[INFO] Unable to find resource 'org.mortbay.jetty:servlet-api-2.5:jar:6.1.5' in 
repository codehaus.org (http://snapshots.repository.codehaus.org)
Downloading: 
http://people.apache.org/repo/m2-snapshot-repository//org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar
[INFO] Unable to find resource 'org.mortbay.jetty:servlet-api-2.5:jar:6.1.5' in 
repository apache.m2.incubator 
(http://people.apache.org/repo/m2-snapshot-repository/)
Downloading: 
http://repo2.maven.org/maven2/org/mortbay/jetty/servlet-api-2.5/6.1.5/servlet-api-2.5-6.1.5.jar

[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] Unable to load parent project from a relative path: Could not find the 
model file '/home/geronimo/geronimo/pom.xml'. for project unknown
[INFO] Parent project loaded from repository.
Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom

[INFO] [ianal:verify-legal-files {execution: default}]
Downloading: 
http://repo2.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom

Downloading: 
http://repo2.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar

[INFO] [install:install {execution: default-install}]
[INFO] Installing /home/geronimo/geronimo/2.1/pom.xml to 
/home/geronimo/.m2/repository/org/apache/geronimo/geronimo/2.1.8-SNAPSHOT/geronimo-2.1.8-SNAPSHOT.pom
[INFO] 
[INFO] Building Geronimo Local Repository
[INFO]task-segment: [install]
[INFO] 
Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.pom

Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/plugins/maven-plugins/12/maven-plugins-12.pom

Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.3/maven-resources-plugin-2.3.jar

Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4.3/maven-surefire-plugin-2.4.3.pom

Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/surefire/surefire/2.4.3/surefire-2.4.3.pom

Downloading: 
http://repo2.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.4.3/maven-surefire-plugin-2.4.3.jar

[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] The plugin descriptor for the plugin Plugin 
[org.apache.maven.plugins:maven-surefire-plugin] was not found. Please verify 
that the plugin JAR 
/home/geronimo/.m2/repository/org/apache/maven/plugins/maven-surefire-

[jira] [Created] (GERONIMO-5949) session-config and login-config elements are not parsed by JspModuleBuilderExtension

2011-05-05 Thread viola.lu (JIRA)
session-config and login-config elements are not parsed by 
JspModuleBuilderExtension


 Key: GERONIMO-5949
 URL: https://issues.apache.org/jira/browse/GERONIMO-5949
 Project: Geronimo
  Issue Type: Bug
  Security Level: public (Regular issues)
 Environment: os:win2003
jdk:sun and ibm
Reporter: viola.lu
Assignee: viola.lu


>From servlet 3.0 spec chapter 14.2:
The containers must inform the developer with a
descriptive error message when the deployment descriptor contains more than
one element of session-config, jsp-config, and login-config.
Now JspModuleBuilderExtension just informs error message if jsp-config is more 
than one, misses session-config and login-config.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (GERONIMODEVTOOLS-670) Geronimo deployment plan doesn't be created when creating projects using the Geronimo 2.2 as the target runtime

2011-05-05 Thread Yi Xiao (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029710#comment-13029710
 ] 

Yi Xiao commented on GERONIMODEVTOOLS-670:
--

Hi Tina, I've test the problem in the xp sp3 & IBM JDK6 & eclipse 3.6SR1, the 
problem does not exist now~

> Geronimo deployment plan doesn't be created when creating projects using the 
> Geronimo 2.2 as the target runtime
> ---
>
> Key: GERONIMODEVTOOLS-670
> URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-670
> Project: Geronimo-Devtools
>  Issue Type: Bug
>  Components: eclipse-plugin
>Affects Versions: 3.0
> Environment: OS: Windows XP SP3
> JDK: IBM JDK 6
> Eclipse: 3.6
>Reporter: Wang Guang Zhe
>Assignee: Delos Dai
> Fix For: 3.0
>
>
> I created an web, an ejb and an ear projects using  the Geronimo 2.2 as the 
> target runtime, the geronimo deployment plans which should be in these 
> projects don't exist.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[BUILD] branches/2.1: Failed for Revision: 1099685

2011-05-05 Thread Jarek Gawor
Geronimo Revision: 1099685 built with tests included
 
See the full build-0200.log file at 
http://people.apache.org/builds/geronimo/server/binaries/2.1/20110505/build-0200.log
 
Download the binaries from 
http://people.apache.org/builds/geronimo/server/binaries/2.1/20110505
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 204 minutes 34 seconds
[INFO] Finished at: Thu May 05 12:36:51 EDT 2011
[INFO] Final Memory: 314M/828M
[INFO] 
 
TESTSUITE RESULTS (Failures only)
=
 
Assembly: tomcat
=
See full test results and logs at 
http://people.apache.org/builds/geronimo/server/binaries/2.1/20110505/logs-0200-tomcat/
 
[INFO] Running security-testsuite.security
[INFO] Tests run: 36, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 61.464 
sec <<< FAILURE!
 
Assembly: jetty
=
See full test results and logs at 
http://people.apache.org/builds/geronimo/server/binaries/2.1/20110505/logs-0200-jetty/
 
 
[INFO] [INFO] Unable to find resource 'javax.mail:mail:jar:1.4' in repository 
jibx (http://jibx.sourceforge.net/maven)
[INFO] Downloading: 
http://download.java.net/maven/1//javax.mail/jars/mail-1.4.jar
[INFO] 379K downloaded  (mail-1.4.jar)
[INFO] Downloading: 
http://ws.zones.apache.org/repository2/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
[INFO] [INFO] Unable to find resource 'javax.xml.bind:jaxb-api:jar:2.0' in 
repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2)
[INFO] Downloading: 
http://tomcat.apache.org/dev/dist/m2-repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
[INFO] [INFO] Unable to find resource 'javax.xml.bind:jaxb-api:jar:2.0' in 
repository tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository)
[INFO] Downloading: 
http://people.apache.org/repo/m2-incubating-repository/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
[INFO] [INFO] Unable to find resource 'javax.xml.bind:jaxb-api:jar:2.0' in 
repository apache-incubating 
(http://people.apache.org/repo/m2-incubating-repository)
[INFO] Downloading: 
http://repo1.maven.org/eclipse/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
[INFO] [INFO] Unable to find resource 'javax.xml.bind:jaxb-api:jar:2.0' in 
repository eclipse-repo (http://repo1.maven.org/eclipse)
[INFO] Downloading: 
http://jibx.sourceforge.net/maven/javax.xml.bind/jars/jaxb-api-2.0.jar
[INFO] [INFO] Unable to find resource 'javax.xml.bind:jaxb-api:jar:2.0' in 
repository jibx (http://jibx.sourceforge.net/maven)
[INFO] Downloading: 
http://download.java.net/maven/1//javax.xml.bind/jars/jaxb-api-2.0.jar
[INFO] 84K downloaded  (jaxb-api-2.0.jar)
[INFO] Downloading: 
http://ws.zones.apache.org/repository2/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.jar
[INFO] [INFO] Unable to find resource 
'org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2' in 
repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2)
[INFO] Downloading: 
http://tomcat.apache.org/dev/dist/m2-repository/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.jar
[INFO] [INFO] Unable to find resource 
'org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2' in 
repository tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository)
[INFO] Downloading: 
http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.jar
[INFO] [INFO] Unable to find resource 
'org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2' in 
repository apache-incubating 
(http://people.apache.org/repo/m2-incubating-repository)
[INFO] Downloading: 
http://repo1.maven.org/eclipse/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/geronimo-activation_1.1_spec-1.0.2.jar
[INFO] [INFO] Unable to find resource 
'org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2' in 
repository eclipse-repo (http://repo1.maven.org/eclipse)
[INFO] Downloading: 
http://jibx.sourceforge.net/maven/org.apache.geronimo.specs/jars/geronimo-activation_1.1_spec-1.0.2.jar
[INFO] [INFO] Unable to find resource 
'org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2' in 
repository jibx (http://jibx.sourceforge.net/maven)
[INFO] Downloading: 
http://download.java.net/maven/1//org.apache.geronimo.specs/jars/geronimo-activation_1.1_spec-1.0.2.jar
[INFO] [INFO] Unable to find resource 
'org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.2' in 
repository java.net (http://download.java.net/maven/1/)
[INFO] Downloading: 
http://repo2.maven.org/maven2/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.0.2/

[BUILD] branches/2.2: Failed for Revision: 1099755

2011-05-05 Thread Jarek Gawor
Geronimo Revision: 1099755 built with tests included
 
See the full build-0800.log file at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110505/build-0800.log
 
 
See the unit test reports at 
http://people.apache.org/builds/geronimo/server/binaries/2.2/20110505/unit-test-reports
 
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)


at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at 
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation 
failure
Failure executing javac, but could not parse the error:
An exception has occurred in the compiler (1.5.0_22). Please file a bug at the 
Java Developer Connection (http://java.sun.com/webapps/bugreport)  after 
checking the Bug Parade for duplicates. Include your program and the following 
diagnostic in your report.  Thank you.
java.lang.InternalError: jzentry == 0,
 jzfile = 1570862976,
 total = 9508,
 name = 
/home/geronimo/.m2/repository/org/seleniumhq/selenium/server/selenium-server/1.0.3/selenium-server-1.0.3-standalone.jar,
 i = 1750,
 message = invalid LOC header (bad signature)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:429)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:415)
at 
com.sun.tools.javac.jvm.ClassReader.openArchive(ClassReader.java:1447)
at com.sun.tools.javac.jvm.ClassReader.list(ClassReader.java:1742)
at com.sun.tools.javac.jvm.ClassReader.listAll(ClassReader.java:1882)
at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1903)
at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1538)
at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
at com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:256)
at com.sun.tools.javac.tree.Tree$TopLevel.accept(Tree.java:382)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:221)
at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:235)
at com.sun.tools.javac.comp.Enter.complete(Enter.java:444)
at com.sun.tools.javac.comp.Enter.main(Enter.java:429)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:404)
at com.sun.tools.javac.main.Main.compile(Main.java:592)
at com.sun.tools.javac.main.Main.compile(Main.java:544)
at com.sun.tools.javac.Main.compile

[jira] [Updated] (GERONIMO-5929) org.apache.geronimo.kernel.config.LiefcycleException when starting Hudson.war on G3.0

2011-05-05 Thread Shenghao Fang (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-5929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shenghao Fang updated GERONIMO-5929:


Attachment: hudson_DD.xml

The issue is caused by a conflict lib version  of Xstream between the one in 
Geronimo and the one in Hudson. Excluding the package from 'import-package' to 
make Hudson use the one in itself instead of the one in Geronimo. Please try 
the attached DD.

> org.apache.geronimo.kernel.config.LiefcycleException when starting Hudson.war 
> on G3.0
> -
>
> Key: GERONIMO-5929
> URL: https://issues.apache.org/jira/browse/GERONIMO-5929
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>Affects Versions: 3.0
> Environment: Sun JDK 1.6.0_21, GBuild 04/19
>Reporter: Chi Runhua
>Assignee: Shawn Jiang
> Attachments: hudson_DD.xml
>
>
> Hudson.war can be deployed successfully, however, it fails to start because 
> of the following exception:
> 2011-04-22 10:26:13,093 ERROR [DeploymentPortlet] The application was not 
> successfully started.
> start of hudson/hudson/1.384/war failed
> org.apache.geronimo.kernel.config.LifecycleException: start of 
> hudson/hudson/1.384/war failed
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:718)
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:681)
>   at 
> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
>   at java.lang.Thread.run(Thread.java:619)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown 
> start exception
>   at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:521)
>   at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:226)
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:702)
>   ... 3 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: 
> Configuration hudson/hudson/1.384/war failed to start due to the following 
> reasons:
>   The service 
> J2EEApplication=null,j2eeType=WebModule,name=hudson/hudson/1.384/war did not 
> start because ContainerBase.addChild: start: 
> org.apache.catalina.LifecycleException: java.io.IOException: Context did not 
> start for an unknown reason
> java.lang.IllegalStateException: ContainerBase.addChild: start: 
> org.apache.catalina.LifecycleException: java.io.IOException: Context did not 
> start for an unknown reason
>   at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:816)
>   at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
>   at 
> org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:310)
>   at 
> org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:569)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:975)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:271)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:119)
>   at 
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:175)
>   at 
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
>   at 
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:253)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:301)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:105)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:546)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:110)
>   at 
> org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:145)
>   at 
> org.apache.ger

[jira] [Resolved] (GERONIMO-5924) Servlet.service() for servlet WARModules threw exception java.lang.SecurityException

2011-05-05 Thread Shenghao Fang (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-5924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shenghao Fang resolved GERONIMO-5924.
-

Resolution: Cannot Reproduce

The issue is cannot be reproduced with the latest version (2.000) of Hudson.

> Servlet.service() for servlet WARModules threw exception  
> java.lang.SecurityException
> -
>
> Key: GERONIMO-5924
> URL: https://issues.apache.org/jira/browse/GERONIMO-5924
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: console, security
>Affects Versions: 3.0
> Environment: 04/19 build, Sun JDK 1.6.0_21+Win7
>Reporter: Chi Runhua
>Assignee: Shenghao Fang
>Priority: Minor
> Attachments: hudson-realm.xml, hudson_DD.xml
>
>
> After hudson.war was deployed successfully, click WAR on navigation menu. The 
> page failed to render.
> 2011-04-21 14:16:48,568 ERROR [[WARModules]] Servlet.service() for servlet 
> WARModules threw exception
> java.lang.SecurityException: Invalid signature file digest for Manifest main 
> attributes
>   at 
> sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:221)
>   at 
> sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)
>   at java.util.jar.JarVerifier.processEntry(JarVerifier.java:245)
>   at java.util.jar.JarVerifier.update(JarVerifier.java:199)
>   at java.util.jar.JarFile.initializeVerifier(JarFile.java:323)
>   at java.util.jar.JarFile.getInputStream(JarFile.java:388)
>   at 
> org.apache.geronimo.system.configuration.RepositoryConfigurationStore.loadConfigurationInfo(RepositoryConfigurationStore.java:497)
>   at 
> org.apache.geronimo.system.configuration.RepositoryConfigurationStore.listConfigurations(RepositoryConfigurationStore.java:455)
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.listConfigurations(SimpleConfigurationManager.java:221)
>   at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.listConfigurations(SimpleConfigurationManager.java:193)
>   at 
> org.apache.geronimo.console.configmanager.ConfigManagerPortlet.doView(ConfigManagerPortlet.java:225)
>   at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:348)
>   at javax.portlet.GenericPortlet.render(GenericPortlet.java:253)
>   at org.apache.geronimo.console.BasePortlet.render(BasePortlet.java:153)
>   at 
> org.apache.pluto.driver.services.container.FilterChainImpl.doFilter(FilterChainImpl.java:163)
>   at 
> org.apache.pluto.driver.services.container.FilterChainImpl.processFilter(FilterChainImpl.java:91)
>   at 
> org.apache.pluto.driver.services.container.FilterManagerImpl.processFilter(FilterManagerImpl.java:105)
>   at 
> org.apache.pluto.container.driver.PortletServlet.dispatch(PortletServlet.java:340)
>   at 
> org.apache.pluto.container.driver.PortletServlet.doGet(PortletServlet.java:261)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:581)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:518)
>   at 
> org.apache.pluto.driver.container.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:233)
>   at 
> org.apache.pluto.driver.container.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:117)
>   at 
> org.apache.pluto.container.impl.PortletContainerImpl.doRender(PortletContainerImpl.java:157)
>   at 
> org.apache.pluto.driver.tags.PortletTag.doStartTag(PortletTag.java:165)
>   at 
> jsp.WEB_002dINF.themes.portlet_002dskin_jsp._jspService(portlet_002dskin_jsp.java:102)
>   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
>   at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>   at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:581)
>   at 
> org.apache.catal

[jira] [Commented] (GERONIMO-5909) daytrader: java.lang.NullPointerException

2011-05-05 Thread Tina Li (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-5909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029255#comment-13029255
 ] 

Tina Li commented on GERONIMO-5909:
---

Tried on build:2011.05.04-22:24:47.468+0800-3.0-SNAPSHOT
1.Deployed via "deployer" on admin console,error message appeared on the admin 
console:
The application was not deployed.

The application was not deployed.
Unable to create configuration for deployment: dependencies: null
org.apache.geronimo.common.DeploymentException: Unable to create configuration 
for deployment: dependencies: null
at 
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:212)
at 
org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:192)
at 
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:634)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:252)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at 
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at 
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:872)
at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
at 
org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
at 
org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
at java.lang.Thread.run(Thread.java:736)
Caused by: 
org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException: 
Bundle "org.apache.geronimo.daytrader.daytrader-streamer-client-DEPLOYMENT" 
version "0.0.0.__project_version_" has already been installed from: 
reference:file:/D:/testServer/0504/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/var/temp/geronimo-fileutils3830888200328707550.tmpfile
at 
org.eclipse.osgi.framework.internal.core.Framework.createAndVerifyBundle(Framework.java:714)
at 
org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:922)
at 
org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:837)
at 
java.security.AccessController.doPrivileged(AccessController.java:251)
at 
org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:888)
at 
org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:832)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:167)
at 
org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:161)
at 
org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:204)
... 15 more
2.Deployed via cmd:
the above messaged also appeared on the server console window and the cmd 
window displayed the message:
2011-05-05 17:49:00,312 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Unable to deploy daytrader-ear-2
.1.1.5.ear: Unable to create configuration for deployment: dependencies: null
Bundle "org.apache.geronimo.daytrader.daytrader-streamer-client-DEPLOYME
NT" version "0.0.0.__project_version_" has already been installed from: referenc
e:file:/D:/testServer/0504/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/var/temp/geroni
mo-fileutils3830888200328707550.tmpfile

at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDe
ploy.java:43)
at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(Co
mmandDistribute.java:148)
at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandD
istribute.java:124)
at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java
:167)
at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64
)
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.deployer.DeployerCLI.main(DeployerCLI.java:32
)

> daytrader: java.lang.NullPointerException
> -
>
> Key: GERONIMO-5909
> URL: https://issues.apache.org/jira/browse/GERONIMO-5909
> Project: Geronimo
>  I

[jira] [Closed] (GERONIMO-5823) Database Pools of Derby Can't Be Created

2011-05-05 Thread Tina Li (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-5823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tina Li closed GERONIMO-5823.
-


Verified on build 2011.05.04-22:24:47.468+0800-3.0-SNAPSHOT

> Database Pools of Derby Can't Be Created
> 
>
> Key: GERONIMO-5823
> URL: https://issues.apache.org/jira/browse/GERONIMO-5823
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: console, databases
>Affects Versions: 3.0
> Environment: geronimo-tomcat7-javaee6-3.0
>Reporter: Jacky Liu
>Assignee: Shenghao Fang
> Fix For: 3.0-M2, 3.0
>
> Attachments: GERONIMO-5823-1.patch, GERONIMO-5823.patch
>
>
> When I clicked Datasources in Console Navigation menu and follow the Geronimo 
> database pool wizard to create a database pool, I chose "Derby embedded" as 
> my database type in Step 1 and click next. Bug came up that the section of 
> "Create Database Pool - Step 2:Select Driver, JAR, Parameters" didn't show up.
> Here follows the error message in cmd:
> ERROR [DatabasePoolPortlet] Unable to read configuration properties
> java.lang.IllegalArgumentException: id must be in the form 
> [groupId]/[artifactId]/[version]/[type] : 
> file:/C:/Documents%20and%20Settings/Administrator
> /Desktop/geronimo-tomcat7-javaee6-3.0-SNAPSHOT/repository/org/tranql/tranql-connector-derby-embed-local/1.6/tranql-connector-derby-embed-local-1.6.rar
> at 
> org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:61)
> at 
> org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:51)
> at 
> org.apache.geronimo.console.util.PortletManager.getRepositoryEntryBundle(PortletManager.java:398)
> at 
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet.loadConfigPropertiesByPath(DatabasePoolPortlet.java:565)
> at 
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet.getRARConfiguration(DatabasePoolPortlet.java:281)
> at 
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet.renderEdit(DatabasePoolPortlet.java:797)
> at 
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet.doView(DatabasePoolPortlet.java:726)
> ...
> ...
> AND
> ERROR [DatabasePoolPortlet] Unable to render portlet
> java.lang.NullPointerException
> at 
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet$ResourceAdapterParams.access$000(DatabasePoolPortlet.java:1701)
> at 
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet.getRARConfiguration(DatabasePoolPortlet.java:283)
> at 
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet.renderEdit(DatabasePoolPortlet.java:797)
> at 
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortlet.doView(DatabasePoolPortlet.java:726)
> ...
> ...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (GERONIMO-5582) No Web Access URL Displayed next to applications after depploy an EBA

2011-05-05 Thread viola.lu (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-5582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

viola.lu updated GERONIMO-5582:
---

Summary: No Web Access URL Displayed next to applications after depploy an 
EBA  (was: No Web Access URL Displayed next to applications after depploy an 
EBA)

> No Web Access URL Displayed next to applications after depploy an EBA
> -
>
> Key: GERONIMO-5582
> URL: https://issues.apache.org/jira/browse/GERONIMO-5582
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: console
>Affects Versions: 3.0
> Environment: OS: WinXp
> JDK: 1.6.0_21
>Reporter: viola.lu
>Assignee: Han Hong Fang
>Priority: Minor
>  Labels: aries, osgi
> Fix For: 3.0
>
>
> 1.Deploy Aries Sample JPA EBA in testsuite/Aries-Testsuite/JPA or blog sample 
> org.apache.aries.samples.blog.jdbc.eba-0.2-incubating-SNAPSHOT.eba from Aries 
> source code
> 2.It's successfully deployed, but no Access URL is display next to 
> application, have to open web jar file, open its manifest file, getting 
> Web-ContextPath: /blog, and then 
> access this application:http://localhost:8080/blog/ViewBlog or 
> http://localhost:8080/jpa

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Closed] (GERONIMO-5903) bank:DB Initialization Failure

2011-05-05 Thread Tina Li (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-5903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tina Li closed GERONIMO-5903.
-


verified on build 2011.05.04-22:24:47.468+0800-3.0-SNAPSHOT.
Still no url diplayed on the console,depends on GERONIMO-5302.

> bank:DB Initialization Failure
> --
>
> Key: GERONIMO-5903
> URL: https://issues.apache.org/jira/browse/GERONIMO-5903
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: sample apps
>Affects Versions: 3.0
> Environment: Windows XP SP3 x86
> sun jdk 1.6.0_23
> Geronimo build on 20110411
>Reporter: Jacky Liu
>Assignee: Shenghao Fang
>Priority: Minor
>  Labels: sample
> Attachments: BankDB.sql, WASCE-sample-datasource.rar, bank.rar
>
>
> 1. start Geronimo v3.0 server
> 2. input "deploy deploy 
> ..\repo\org\tranql\tranql-connector-derby-embed-xa\1.7\tranql-connector-derby-embed-xa-1.7.rar
>  ..\WASCE-sample-datasource\src\main\plan\plan.xml" in cmd
> 3. input "deploy deploy ..\bank\bank-ear\target\bank-ear-2.1.1.5.ear" in cmd
> 4. go to "http://localhost:8080/bank/"; and click on "View Exchange Rates"
> 5. Error Occured !!!
> That means database hasn't been set up.
> And,
> a. Create DB: BankDB use Geronimo console
> b. Use DB: BankDB and Run SQL commands use Geronimo console. SQL commands can 
> be found in patchs
> c. go to "http://localhost:8080/bank/"; and click on "View Exchange Rates"
> d. Exchange Rates CAN BE FOUND
> Steps a~d mean View Exchange Rates works well.
> I think something may be wrong with at least one of the following sections:
> 1. tranql-connector-ra-1.6.rar
> 2. bank-ear\..\BankPool.xml:
>   console.dbpool
>   BankPool
>   1.0
>   rar
>name="ConnectionURL">jdbc:derby:BankDB
> 3. dd\BankDB.sql
> 4. bank-ejb\..\persistence.xml
> That's all I know and I hope it will be helpful!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (GERONIMO-5582) No Web Access URL Displayed next to applications after depploy an EBA

2011-05-05 Thread Tina Li (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-5582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029224#comment-13029224
 ] 

Tina Li commented on GERONIMO-5582:
---

https://issues.apache.org/jira/browse/GERONIMO-5302 solvle the similar problem 
which is about ear application.

> No Web Access URL Displayed next to applications after depploy an EBA
> -
>
> Key: GERONIMO-5582
> URL: https://issues.apache.org/jira/browse/GERONIMO-5582
> Project: Geronimo
>  Issue Type: Improvement
>  Security Level: public(Regular issues) 
>  Components: console
>Affects Versions: 3.0
> Environment: OS: WinXp
> JDK: 1.6.0_21
>Reporter: viola.lu
>Assignee: Han Hong Fang
>Priority: Minor
>  Labels: aries, osgi
> Fix For: 3.0
>
>
> 1.Deploy Aries Sample JPA EBA in testsuite/Aries-Testsuite/JPA or blog sample 
> org.apache.aries.samples.blog.jdbc.eba-0.2-incubating-SNAPSHOT.eba from Aries 
> source code
> 2.It's successfully deployed, but no Access URL is display next to 
> application, have to open web jar file, open its manifest file, getting 
> Web-ContextPath: /blog, and then 
> access this application:http://localhost:8080/blog/ViewBlog or 
> http://localhost:8080/jpa

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: openejb-jar-2.2.xsd out-of-date?

2011-05-05 Thread han hongfang
Thanks very much David for the info on this topic.

Still have several questions.

On Tue, May 3, 2011 at 7:55 AM, David Blevins wrote:

>
> On Apr 14, 2011, at 1:25 AM, han hongfang wrote:
>
> > Hi devs,
> >
> > I got following errors when I tried to generate the jaxbmodel class for
> openejb-jar-2.2.xsd using maven-jaxb-plugin:1.1.1. Taking
> entity-manager-factory-ref for instance, it can not be found in
> geronimo-naming-1.2.xsd.
>
>
The openejb-jar-2.2.xsd comes from latest geronimo server v3.0-snapshot
build under schema folder. To me, I think this xsd file is invalid since for
example, ,
entity-manager-factory-ref can not be found under xmlns:naming="
http://geronimo.apache.org/xml/ns/naming-1.2";. Is this OK?

Another question is, in geronimo v3.0-snapshot, which schema should the
deployment plan openejb-jar.xml comply to? openejb-jar-{versionA}.xsd or
geronimo-openejb-{versionB}.xsd, or even both are OK? and what the value of
{versionA} and {versionB}?


> This old email has some related info:
>
>  http://markmail.org/message/w76ndrfv27v53mbk
>
> There already are JAXB objects for old/new descriptors and as a result the
> schema is rarely updated.  I think for a while we didn't even have one.
>
> There's a bit of legacy here in the for a short bit (Geronimo 1.0/OpenEJB
> 2.0) OpenEJB was not really a separate project in any technical sense.  The
> OpenEJB 3.x codebase returned to being more standalone.  The reason to keep
> the v2 openejb-jar.xml format was it was made 100% for Geronimo -- it has
> all the Geronimo dependency and config stuff in it amongst other things.
>
> Anyway, here are the root JAXB objects for the related trees:
>
> openejb-jar v2:
> http://svn.apache.org/repos/asf/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oejb2/OpenejbJarType.java
> geronimo-ejb:
>
> http://svn.apache.org/repos/asf/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oejb2/GeronimoEjbJarType.java
>

I'm considering to reuse these JAXB objects in Geronimo server adapter v3.0.
Can you point me to the exact xsd file for this JAXB objects? I did a quick
check, and can not find some classes in openejb-jar-2.2.xsd and
geronimo-openejb-2.0.xsd, which come from latest geronimo v3.0-snapshot
build, e.g., AbstractClusteringType. Meanwhile, I plan to put the JAXB
objects of geronimo-openejb-{version}.xsd and openejb-jar-{version}.xsd into
separate package.

>
> Here's the newer non-geronimo-specific openejb tree:
>
> http://svn.apache.org/repos/asf/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/oejb3/
>
> In terms of what we should do now with a new major Geronimo version, I
> suspect it will largely depend on David J's work.  Seems like there'll be a
> very big and very not backwards-compatible change with regards to
> parents/childern and dependency information.  Not sure what our plans are
> with regards to backwards compatibility of existing descriptors.
>
>
> -David
>
>


-- 
Best regards,

Han Hong Fang (Janet)
hanhongfang AT apache.org


[jira] [Closed] (GERONIMO-5899) osgi sample "showmethemoney" 's running failure

2011-05-05 Thread Tina Li (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-5899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tina Li closed GERONIMO-5899.
-


latest G3.0 sample revision:1099704

> osgi sample "showmethemoney" 's running failure
> ---
>
> Key: GERONIMO-5899
> URL: https://issues.apache.org/jira/browse/GERONIMO-5899
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>  Components: osgi-bundles, sample apps
>Affects Versions: 3.0
> Environment: Windows XP SP3 x86
> sun jdk 1.6.0_23
> Geronimo build on 20110411 (both in full profile and web profile)
>Reporter: Jacky Liu
>Assignee: Rex Wang
>Priority: Minor
>  Labels: osgi, samples
> Fix For: 3.0
>
>
> Take Geronimo web profile as an example:
> 1. input cd ..\geronimo-tomcat7-javaee6-web-3.0-SNAPSHOT\bin in cmd and 
> geronimo run
> 2. press Enter
> 3. input install 
> file:/D:/../samples/trunk/samples/osgi/showmethemoney/showmethemoney-api/target/showmethemoney-api-3.0-SNAPSHOT.jar
> 4. input start (showmethemoney-api's Bundle ID)
> 5. input install 
> file:/D:/../samples/trunk/samples/osgi/showmethemoney/showmethemoney-ds/target/showmethemoney-ds-3.0-SNAPSHOT.jar
> 6. input start (showmethemoney-ds's Bundle ID)
> 7. input install 
> file:/D:/../samples/trunk/samples/osgi/showmethemoney/showmethemoney-server/target/showmethemoney-server-3.0-SNAPSHOT.jar
> 8. input start (showmethemoney-server's Bundle ID)
> 9. input cd ..\geronimo-tomcat7-javaee6-web-3.0-SNAPSHOT\bin in cmd
> 10. input deploy deploy 
> D:\..\samples\trunk\samples\osgi\showmethemoney\showmethemoney-web\target\showmethemoney-web-3.0-SNAPSHOT.war
> 11. go to http://localhost:8080/showmoney/ and click Show Me the Money
> ERROR OCCURS!!
> geronimo> 2011-04-12 10:33:54,750 ERROR [[ShowMoneyServlet]] 
> Servlet.service() for servlet [ShowMoneyServlet] in context with path 
> [/showmoney] threw exception [Servlet execution threw an exception] with root 
> cause
> java.lang.ClassNotFoundException: 
> org.apache.geronimo.samples.osgi.showmethemoney.api.ShowMoneyService
> at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
> at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
> at 
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
> at 
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at 
> org.apache.geronimo.samples.osgi.showmethemoney.web.ShowMoneyServlet.doGet(ShowMoneyServlet.java:67)
> at 
> org.apache.geronimo.samples.osgi.showmethemoney.web.ShowMoneyServlet.doPost(ShowMoneyServlet.java:115)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
> at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
> at 
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:696)
> at 
> org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:48)
> at 
> org.apache.geronimo.tomcat.valve.ProtectedTargetValve.invoke(ProtectedTargetValve.java:53)
> at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
> at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:550)
> at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:380)
> at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
> at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
> at 
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288)
> at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:243)
> at 
> org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:373)
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at 
> java.util.concurrent.ThreadP