[jira] Commented: (GERONIMODEVTOOLS-214) Fictional deployment of EJB-JAR

2009-07-23 Thread Delos Dai (JIRA)

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

Delos Dai commented on GERONIMODEVTOOLS-214:


This problem doesn't exist in GEP 2.2, so suggest to close it.

> Fictional deployment of EJB-JAR
> ---
>
> Key: GERONIMODEVTOOLS-214
> URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-214
> Project: Geronimo-Devtools
>  Issue Type: Bug
>  Components: eclipse-plugin
>Affects Versions: 2.0.0
> Environment: Geronimo 2.0.1
>Reporter: Tomasz Mazan
>Assignee: Tim McConnell
> Attachments: deployed jar view.jpg, deploying view.jpg, geronimo 
> console view.jpg, project view.jpg, testEJB.zip
>
>
> When I'm deploying my EJB project, Server Views shows it as deployed, but 
> there no any activity trail on Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (GERONIMODEVTOOLS-214) Fictional deployment of EJB-JAR

2008-11-07 Thread Matthias Hryniszak (JIRA)

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

Matthias Hryniszak commented on GERONIMODEVTOOLS-214:
-

Hi,

I was trying to get Geronimo 2.1.3 w/ Eclipse 3.4.1 and Geronimo Server Adapter 
2.1.3 for the last 2 days now and I think I might have some idea what's wrong. 
Here's what I've observed:

1. Install everything as stated in the Geronimo Wiki tutorials
2. Created and EAR project with an EJB part and a WEB application.
3. Create a @Stateless session bean inside the EJB project that's used from 
within a servlet in the WEB application (you have to add the EJB project to 
libraries that are recognized by WEB project). Use that bean @EJB annotation to 
get it injected.
4. Try to deploy it using "Add and Remove Projects..."
5. Start the application.
6. Optional: if you've disabled automatic project deployment you'll have to do 
it manually.

Now in just a few seconds after publishing starts you'll get an error message 
stating that the deployment was unsuccessful. You can also observe that the 
actual _EAR_ file is in fact a _ZIP_ file (observe 
"workspace/.metadata/.plugins/org.apache.geronimo.st.core/server_Apache 
Geronimo v2.1 Server at localhost/_project_name_.zip).

If you'd take the same zip file (named here with _project_name_.zip), rename it 
to _project_name_.ear and use the web console to deploy it everything works 
just fine. Else if you don't change the extension from .zip to .ear you'll see 
the exact same error message that you get when deploying from Eclipse.


I hope it helps.


> Fictional deployment of EJB-JAR
> ---
>
> Key: GERONIMODEVTOOLS-214
> URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-214
> Project: Geronimo-Devtools
>  Issue Type: Bug
>  Components: eclipse-plugin
>Affects Versions: 2.0.0
> Environment: Geronimo 2.0.1
>Reporter: Tomasz Mazan
>Assignee: Tim McConnell
> Attachments: deployed jar view.jpg, deploying view.jpg, geronimo 
> console view.jpg, project view.jpg, testEJB.zip
>
>
> When I'm deploying my EJB project, Server Views shows it as deployed, but 
> there no any activity trail on Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (GERONIMODEVTOOLS-214) Fictional deployment of EJB-JAR

2007-09-21 Thread Kan Ogawa (JIRA)

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

Kan Ogawa commented on GERONIMODEVTOOLS-214:


Tim,

I wonder that installing testEJB jar in Geronimo administration console works 
fine, too.
I'll reinstall my eclipse 3.3 platform including geronimo eclipse plugin and 
try again, because I posted unwanted GERONIMODEVTOOLS-213 report.

> Fictional deployment of EJB-JAR
> ---
>
> Key: GERONIMODEVTOOLS-214
> URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-214
> Project: Geronimo-Devtools
>  Issue Type: Bug
>  Components: eclipse-plugin
>Affects Versions: 2.0.0
> Environment: Geronimo 2.0.1
>Reporter: Tomasz Mazan
>Assignee: Tim McConnell
> Attachments: deployed jar view.jpg, deploying view.jpg, geronimo 
> console view.jpg, project view.jpg, testEJB.zip
>
>
> When I'm deploying my EJB project, Server Views shows it as deployed, but 
> there no any activity trail on Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (GERONIMODEVTOOLS-214) Fictional deployment of EJB-JAR

2007-09-21 Thread Tim McConnell (JIRA)

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

Tim McConnell commented on GERONIMODEVTOOLS-214:


Thanks for the example Tomasz--now I at least fully understand what you're 
seeing. I don't get the exception that Kan (I also use Win32), but I do not see 
any evidence in Geronimo that it deployed (or otherwise). However, outside of 
Eclipse using the Geronimo console--it deploys just fine and shows up in the 
list of "Installed EJB JARs" as one would expect. 

> Fictional deployment of EJB-JAR
> ---
>
> Key: GERONIMODEVTOOLS-214
> URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-214
> Project: Geronimo-Devtools
>  Issue Type: Bug
>  Components: eclipse-plugin
>Affects Versions: 2.0.0
> Environment: Geronimo 2.0.1
>Reporter: Tomasz Mazan
>Assignee: Tim McConnell
> Attachments: deployed jar view.jpg, deploying view.jpg, geronimo 
> console view.jpg, project view.jpg, testEJB.zip
>
>
> When I'm deploying my EJB project, Server Views shows it as deployed, but 
> there no any activity trail on Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (GERONIMODEVTOOLS-214) Fictional deployment of EJB-JAR

2007-09-21 Thread Tomasz Mazan (JIRA)

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

Tomasz Mazan commented on GERONIMODEVTOOLS-214:
---

Kan,
The same exepcion got my workmate - using eclipse for Linux (I use win32 
version). But - as I understand - it indicates, that Eclipse has sent 
application to Geronimo. In my environment there's no any visibile activity.

> Fictional deployment of EJB-JAR
> ---
>
> Key: GERONIMODEVTOOLS-214
> URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-214
> Project: Geronimo-Devtools
>  Issue Type: Bug
>  Components: eclipse-plugin
>Affects Versions: 2.0.0
> Environment: Geronimo 2.0.1
>Reporter: Tomasz Mazan
>Assignee: Tim McConnell
> Attachments: deployed jar view.jpg, deploying view.jpg, geronimo 
> console view.jpg, project view.jpg, testEJB.zip
>
>
> When I'm deploying my EJB project, Server Views shows it as deployed, but 
> there no any activity trail on Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (GERONIMODEVTOOLS-214) Fictional deployment of EJB-JAR

2007-09-21 Thread Kan Ogawa (JIRA)

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

Kan Ogawa commented on GERONIMODEVTOOLS-214:


Tomasz,

Thank you for attaching sample ejb application.
In my eclipse platform environment, this phenomenon was reproduced.

So, as I'm debugging it, I have confirmed that the following exception is 
thrown:
java.lang.ClassCastException: org.apache.xmlbeans.impl.values.XmlAnyTypeImpl
at 
org.apache.geronimo.st.v20.core.GeronimoV20Utils.getConfigId2(GeronimoV20Utils.java:96)
at 
org.apache.geronimo.st.v20.core.GeronimoV20VersionHandler.getConfigID(GeronimoV20VersionHandler.java:36)
at 
org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(DeploymentUtils.java:202)
at 
org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getLastKnowConfigurationId(GeronimoServerBehaviourDelegate.java:456)
at 
org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doAdded(GeronimoServerBehaviourDelegate.java:402)
at 
org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:367)
at 
org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:267)
at 
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:749)
at 
org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:234)
at 
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:669)
at 
org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
at 
org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Tim,

It seems that parsing openejb deployment plan descriptor just fails.
Is the same phenomenon reproduced in your eclipse environment?
Perhaps, I guess that it is related to GERONIMODEVTOOLS-190 issue.

> Fictional deployment of EJB-JAR
> ---
>
> Key: GERONIMODEVTOOLS-214
> URL: 
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-214
> Project: Geronimo-Devtools
>  Issue Type: Bug
>  Components: eclipse-plugin
>Affects Versions: 2.0.0
> Environment: Geronimo 2.0.1
>Reporter: Tomasz Mazan
>Assignee: Tim McConnell
> Attachments: deployed jar view.jpg, deploying view.jpg, geronimo 
> console view.jpg, project view.jpg, testEJB.zip
>
>
> When I'm deploying my EJB project, Server Views shows it as deployed, but 
> there no any activity trail on Geronimo.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.