[JBoss JIRA] (JBSEAM-5116) seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JBSEAM-5116?page=com.atlassian.jira.plugi... ]
RH Bugzilla Integration commented on JBSEAM-5116:
-------------------------------------------------
Tomas Remes <tremes(a)redhat.com> changed the Status of [bug 975787|https://bugzilla.redhat.com/show_bug.cgi?id=975787] from ON_QA to VERIFIED
> seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows
> ------------------------------------------------------------------------------------------
>
> Key: JBSEAM-5116
> URL: https://issues.jboss.org/browse/JBSEAM-5116
> Project: Seam 2
> Issue Type: Bug
> Components: Platform interoperability
> Affects Versions: 2.3.1.CR1
> Environment: Windows 2008
> Reporter: Marek Schmidt
> Assignee: Marek Novotny
> Priority: Critical
> Fix For: 2.3.2.CR1
>
>
> seam-gen fails on windows with
> seam.bat setup
>
> SEAM_HOME: W:\tmp\maschmid\jboss-wfk-2.3.0.ER1\jboss-seam-2.3.1.Final-redhat-2
> Using seam-gen sources from: W:\tmp\maschmid\jboss-wfk-2.3.0.ER1\jboss-seam-2.3.1.Final-redhat-2\seam-gen
> java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
> Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: org.apache.tools.ant.launch.Launcher. Program will exit.
> Exception in thread "main"
> The problem is likely that the seam-gen library move was not updated in the seam.bat
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (JBSEAM-5116) seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JBSEAM-5116?page=com.atlassian.jira.plugi... ]
RH Bugzilla Integration commented on JBSEAM-5116:
-------------------------------------------------
Tomas Remes <tremes(a)redhat.com> made a comment on [bug 975787|https://bugzilla.redhat.com/show_bug.cgi?id=975787]
Verified in 2.3.0.CR1 release.
> seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows
> ------------------------------------------------------------------------------------------
>
> Key: JBSEAM-5116
> URL: https://issues.jboss.org/browse/JBSEAM-5116
> Project: Seam 2
> Issue Type: Bug
> Components: Platform interoperability
> Affects Versions: 2.3.1.CR1
> Environment: Windows 2008
> Reporter: Marek Schmidt
> Assignee: Marek Novotny
> Priority: Critical
> Fix For: 2.3.2.CR1
>
>
> seam-gen fails on windows with
> seam.bat setup
>
> SEAM_HOME: W:\tmp\maschmid\jboss-wfk-2.3.0.ER1\jboss-seam-2.3.1.Final-redhat-2
> Using seam-gen sources from: W:\tmp\maschmid\jboss-wfk-2.3.0.ER1\jboss-seam-2.3.1.Final-redhat-2\seam-gen
> java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
> Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: org.apache.tools.ant.launch.Launcher. Program will exit.
> Exception in thread "main"
> The problem is likely that the seam-gen library move was not updated in the seam.bat
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (JBSEAM-5116) seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JBSEAM-5116?page=com.atlassian.jira.plugi... ]
RH Bugzilla Integration commented on JBSEAM-5116:
-------------------------------------------------
Marek Novotny <mnovotny(a)redhat.com> changed the Status of [bug 975787|https://bugzilla.redhat.com/show_bug.cgi?id=975787] from MODIFIED to ON_QA
> seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows
> ------------------------------------------------------------------------------------------
>
> Key: JBSEAM-5116
> URL: https://issues.jboss.org/browse/JBSEAM-5116
> Project: Seam 2
> Issue Type: Bug
> Components: Platform interoperability
> Affects Versions: 2.3.1.CR1
> Environment: Windows 2008
> Reporter: Marek Schmidt
> Assignee: Marek Novotny
> Priority: Critical
> Fix For: 2.3.2.CR1
>
>
> seam-gen fails on windows with
> seam.bat setup
>
> SEAM_HOME: W:\tmp\maschmid\jboss-wfk-2.3.0.ER1\jboss-seam-2.3.1.Final-redhat-2
> Using seam-gen sources from: W:\tmp\maschmid\jboss-wfk-2.3.0.ER1\jboss-seam-2.3.1.Final-redhat-2\seam-gen
> java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
> Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: org.apache.tools.ant.launch.Launcher. Program will exit.
> Exception in thread "main"
> The problem is likely that the seam-gen library move was not updated in the seam.bat
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (JBSEAM-5117) javamail.providers in jboss-seam.jar causes javax.mail.NoSuchProviderException in JBOSS 7.1.1.Final
by Marek Novotny (JIRA)
[ https://issues.jboss.org/browse/JBSEAM-5117?page=com.atlassian.jira.plugi... ]
Marek Novotny updated JBSEAM-5117:
----------------------------------
Fix Version/s: 2.3.2.CR1
Assignee: (was: Pete Muir)
> javamail.providers in jboss-seam.jar causes javax.mail.NoSuchProviderException in JBOSS 7.1.1.Final
> ---------------------------------------------------------------------------------------------------
>
> Key: JBSEAM-5117
> URL: https://issues.jboss.org/browse/JBSEAM-5117
> Project: Seam 2
> Issue Type: Bug
> Components: Core, Mail
> Affects Versions: 2.3.0.Final, 2.3.1.CR1
> Environment: Seam deployed in JBOSS 7.1.1.Final
> Reporter: Jerome Brette
> Priority: Minor
> Fix For: 2.3.2.CR1
>
>
> In JBOSS 7.1.1, in the org/jboss/as/mail module defiinition , the javax.mail.api dependency also loads the content of the META-INF.
> Since the jboss-seam.jar/META-INF/javamail.providers only specificies the mock protocotol, this triggers the following expection:
> Caused by: javax.mail.NoSuchProviderException: No provider for smtp
> at javax.mail.Session.getProvider(Session.java:464) [mail-1.4.4.jar:1.4.4]
> at javax.mail.Session.getTransport(Session.java:659) [mail-1.4.4.jar:1.4.4]
> at javax.mail.Session.getTransport(Session.java:640) [mail-1.4.4.jar:1.4.4]
> at javax.mail.Session.getTransport(Session.java:626) [mail-1.4.4.jar:1.4.4]
> at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:166) [jboss-seam-mail-2.3.0.Final.jar:2.3.0.Final]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (JBSEAM-5117) javamail.providers in jboss-seam.jar causes javax.mail.NoSuchProviderException in JBOSS 7.1.1.Final
by Jerome Brette (JIRA)
Jerome Brette created JBSEAM-5117:
-------------------------------------
Summary: javamail.providers in jboss-seam.jar causes javax.mail.NoSuchProviderException in JBOSS 7.1.1.Final
Key: JBSEAM-5117
URL: https://issues.jboss.org/browse/JBSEAM-5117
Project: Seam 2
Issue Type: Bug
Components: Core, Mail
Affects Versions: 2.3.1.CR1, 2.3.0.Final
Environment: Seam deployed in JBOSS 7.1.1.Final
Reporter: Jerome Brette
Assignee: Pete Muir
Priority: Minor
In JBOSS 7.1.1, in the org/jboss/as/mail module defiinition , the javax.mail.api dependency also loads the content of the META-INF.
Since the jboss-seam.jar/META-INF/javamail.providers only specificies the mock protocotol, this triggers the following expection:
Caused by: javax.mail.NoSuchProviderException: No provider for smtp
at javax.mail.Session.getProvider(Session.java:464) [mail-1.4.4.jar:1.4.4]
at javax.mail.Session.getTransport(Session.java:659) [mail-1.4.4.jar:1.4.4]
at javax.mail.Session.getTransport(Session.java:640) [mail-1.4.4.jar:1.4.4]
at javax.mail.Session.getTransport(Session.java:626) [mail-1.4.4.jar:1.4.4]
at org.jboss.seam.mail.ui.UIMessage.encodeEnd(UIMessage.java:166) [jboss-seam-mail-2.3.0.Final.jar:2.3.0.Final]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (JBSEAM-3726) Methods with an "InvocationContext" parameter annotated with "javax.ejb.PostActivate" cause a validation exception in WebSphere v7.0
by Marek Novotny (JIRA)
[ https://issues.jboss.org/browse/JBSEAM-3726?page=com.atlassian.jira.plugi... ]
Marek Novotny commented on JBSEAM-3726:
---------------------------------------
One other thing I think is you should check if your application code doesn't use javax.ejb.PostActivate annotation. Seam doesn't do that.
> Methods with an "InvocationContext" parameter annotated with "javax.ejb.PostActivate" cause a validation exception in WebSphere v7.0
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBSEAM-3726
> URL: https://issues.jboss.org/browse/JBSEAM-3726
> Project: Seam 2
> Issue Type: Bug
> Components: Platform interoperability
> Affects Versions: 2.1.1.CR2
> Environment: WebSphere v7.0
> Reporter: Denis Forveille
> Assignee: Pete Muir
> Priority: Critical
> Fix For: 2.1.2.CR1
>
> Attachments: jbseam-3726.patch, jbseam-3726_2.patch, traceback.txt
>
>
> When starting our app in WebSphere v7.0 with seam v2.1.0.SP1, we receive the exception below
> Is it possible that annotation "javax.ejb.PostActivate" is used instead of "org.jboss.seam.annotations.intercept.PostActivate" annotation and that the former does not accept any parameter for the annotated method (At least in WebSphere v7.0) and the latter does...
> The method in question is declared as
> @PostActivate
> public void postActivate(InvocationContext invocation) throws Exception
> This method signature is present in classes SessionBeanInterceptor, EntityManagerProxyInterceptor and HibernateSessionProxyInterceptor
> Exception:
> [18/11/08 16:17:51:537 EST] 0000001a annotations E AnnotativeMetadataManagerImpl merge Caught exception while merging
> com.ibm.wsspi.amm.validate.ValidationException: For method, org.jboss.seam.persistence.EntityManagerProxyInterceptor.postActivate(Lorg/jboss/seam/intercept/InvocationContext;)V\[com.ibm.ws.amm.scan.util.info.impl.MethodInfoImpl@1b8e1b8e\], parameters were specified, but null was the expected comparison
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (JBSEAM-3726) Methods with an "InvocationContext" parameter annotated with "javax.ejb.PostActivate" cause a validation exception in WebSphere v7.0
by Marek Novotny (JIRA)
[ https://issues.jboss.org/browse/JBSEAM-3726?page=com.atlassian.jira.plugi... ]
Marek Novotny commented on JBSEAM-3726:
---------------------------------------
Joe, I don't have any idea, because all here is in source code of 2.2.1.CR2 and later. You have probably similar issue, but not the same as this, which results with the same error message.
We don't use javax.ejb.PostActivate annotation on org.jboss.seam.persistence.EntityManagerProxyInterceptor" and "org.jboss.seam.persistence.HibernateSessionProxyInterceptor"
> Methods with an "InvocationContext" parameter annotated with "javax.ejb.PostActivate" cause a validation exception in WebSphere v7.0
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBSEAM-3726
> URL: https://issues.jboss.org/browse/JBSEAM-3726
> Project: Seam 2
> Issue Type: Bug
> Components: Platform interoperability
> Affects Versions: 2.1.1.CR2
> Environment: WebSphere v7.0
> Reporter: Denis Forveille
> Assignee: Pete Muir
> Priority: Critical
> Fix For: 2.1.2.CR1
>
> Attachments: jbseam-3726.patch, jbseam-3726_2.patch, traceback.txt
>
>
> When starting our app in WebSphere v7.0 with seam v2.1.0.SP1, we receive the exception below
> Is it possible that annotation "javax.ejb.PostActivate" is used instead of "org.jboss.seam.annotations.intercept.PostActivate" annotation and that the former does not accept any parameter for the annotated method (At least in WebSphere v7.0) and the latter does...
> The method in question is declared as
> @PostActivate
> public void postActivate(InvocationContext invocation) throws Exception
> This method signature is present in classes SessionBeanInterceptor, EntityManagerProxyInterceptor and HibernateSessionProxyInterceptor
> Exception:
> [18/11/08 16:17:51:537 EST] 0000001a annotations E AnnotativeMetadataManagerImpl merge Caught exception while merging
> com.ibm.wsspi.amm.validate.ValidationException: For method, org.jboss.seam.persistence.EntityManagerProxyInterceptor.postActivate(Lorg/jboss/seam/intercept/InvocationContext;)V\[com.ibm.ws.amm.scan.util.info.impl.MethodInfoImpl@1b8e1b8e\], parameters were specified, but null was the expected comparison
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (JBSEAM-3726) Methods with an "InvocationContext" parameter annotated with "javax.ejb.PostActivate" cause a validation exception in WebSphere v7.0
by Joe Maglio (JIRA)
[ https://issues.jboss.org/browse/JBSEAM-3726?page=com.atlassian.jira.plugi... ]
Joe Maglio commented on JBSEAM-3726:
------------------------------------
Thanks Marek. While we continue investigating this with IBM, I have redeployed the app and verified that I am using jboss-seam-2.2.1.Final.jar. If the issue was fixed in a prior release can you think of any reason why I would still get the error? Or any way to resolve it? The other seam jars in the EAR are: (jboss-seam-mail.jar,jboss-seam-remoting.jar,jboss-seam-ui.jar,jboss-seam-excel.jar,jboss-seam-debug.jar)Thanks in advance.
> Methods with an "InvocationContext" parameter annotated with "javax.ejb.PostActivate" cause a validation exception in WebSphere v7.0
> ------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBSEAM-3726
> URL: https://issues.jboss.org/browse/JBSEAM-3726
> Project: Seam 2
> Issue Type: Bug
> Components: Platform interoperability
> Affects Versions: 2.1.1.CR2
> Environment: WebSphere v7.0
> Reporter: Denis Forveille
> Assignee: Pete Muir
> Priority: Critical
> Fix For: 2.1.2.CR1
>
> Attachments: jbseam-3726.patch, jbseam-3726_2.patch, traceback.txt
>
>
> When starting our app in WebSphere v7.0 with seam v2.1.0.SP1, we receive the exception below
> Is it possible that annotation "javax.ejb.PostActivate" is used instead of "org.jboss.seam.annotations.intercept.PostActivate" annotation and that the former does not accept any parameter for the annotated method (At least in WebSphere v7.0) and the latter does...
> The method in question is declared as
> @PostActivate
> public void postActivate(InvocationContext invocation) throws Exception
> This method signature is present in classes SessionBeanInterceptor, EntityManagerProxyInterceptor and HibernateSessionProxyInterceptor
> Exception:
> [18/11/08 16:17:51:537 EST] 0000001a annotations E AnnotativeMetadataManagerImpl merge Caught exception while merging
> com.ibm.wsspi.amm.validate.ValidationException: For method, org.jboss.seam.persistence.EntityManagerProxyInterceptor.postActivate(Lorg/jboss/seam/intercept/InvocationContext;)V\[com.ibm.ws.amm.scan.util.info.impl.MethodInfoImpl@1b8e1b8e\], parameters were specified, but null was the expected comparison
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (JBSEAM-5116) seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows
by Marek Novotny (JIRA)
[ https://issues.jboss.org/browse/JBSEAM-5116?page=com.atlassian.jira.plugi... ]
Marek Novotny updated JBSEAM-5116:
----------------------------------
Fix Version/s: 2.3.2.CR1
> seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows
> ------------------------------------------------------------------------------------------
>
> Key: JBSEAM-5116
> URL: https://issues.jboss.org/browse/JBSEAM-5116
> Project: Seam 2
> Issue Type: Bug
> Components: Platform interoperability
> Affects Versions: 2.3.1.CR1
> Environment: Windows 2008
> Reporter: Marek Schmidt
> Assignee: Marek Novotny
> Priority: Critical
> Fix For: 2.3.2.CR1
>
>
> seam-gen fails on windows with
> seam.bat setup
>
> SEAM_HOME: W:\tmp\maschmid\jboss-wfk-2.3.0.ER1\jboss-seam-2.3.1.Final-redhat-2
> Using seam-gen sources from: W:\tmp\maschmid\jboss-wfk-2.3.0.ER1\jboss-seam-2.3.1.Final-redhat-2\seam-gen
> java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
> Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: org.apache.tools.ant.launch.Launcher. Program will exit.
> Exception in thread "main"
> The problem is likely that the seam-gen library move was not updated in the seam.bat
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (JBSEAM-5116) seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/JBSEAM-5116?page=com.atlassian.jira.plugi... ]
RH Bugzilla Integration updated JBSEAM-5116:
--------------------------------------------
Bugzilla Update: Perform
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=975787
> seam.bat java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher on Windows
> ------------------------------------------------------------------------------------------
>
> Key: JBSEAM-5116
> URL: https://issues.jboss.org/browse/JBSEAM-5116
> Project: Seam 2
> Issue Type: Bug
> Components: Platform interoperability
> Affects Versions: 2.3.1.CR1
> Environment: Windows 2008
> Reporter: Marek Schmidt
> Assignee: Marek Novotny
> Priority: Critical
>
> seam-gen fails on windows with
> seam.bat setup
>
> SEAM_HOME: W:\tmp\maschmid\jboss-wfk-2.3.0.ER1\jboss-seam-2.3.1.Final-redhat-2
> Using seam-gen sources from: W:\tmp\maschmid\jboss-wfk-2.3.0.ER1\jboss-seam-2.3.1.Final-redhat-2\seam-gen
> java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
> Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: org.apache.tools.ant.launch.Launcher. Program will exit.
> Exception in thread "main"
> The problem is likely that the seam-gen library move was not updated in the seam.bat
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months