This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 77120 - Deploy the archived mdb project deployed ok, but does not list it out
Summary: Deploy the archived mdb project deployed ok, but does not list it out
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks: 77123
  Show dependency tree
 
Reported: 2006-05-31 03:47 UTC by judytang
Modified: 2006-08-24 22:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
j2ee1.4 mdb sample app (5.28 KB, application/octet-stream)
2006-05-31 03:48 UTC, judytang
Details
server log from deploy (14.70 KB, text/plain)
2006-07-19 23:54 UTC, Vince Kraemer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description judytang 2006-05-31 03:47:16 UTC
I am using 5/30 IDE dialy build with JDK 5.0, SDK build 4 on Win XP

Deploy the archived mdb project deployed ok, but does not list it out.  I used
the Admin GUI and I can see the mdb app got list there.

Steps to recreate:

(1) Create the achived project for the attached mdb app file 

(2) Deploy the archived project

(3) Go to run time and does not see the mdb app got list there, but it shows on
the Admin GUI.
Comment 1 judytang 2006-05-31 03:48:16 UTC
Created attachment 30688 [details]
j2ee1.4 mdb sample app
Comment 2 judytang 2006-05-31 04:14:03 UTC
I tried the same steps again, this time the mdb app did get listed under the
runtime application node.

So the problem I saw may not be recreated easily.  Please give a try.  If it
can't be recreated, just close this issue.
Comment 3 Vince Kraemer 2006-05-31 23:31:12 UTC
Did you do all the required resource definitions?

What are the resource definition for this app?

Comment 4 Vince Kraemer 2006-06-08 00:12:58 UTC
Could not duplicate after 7 June 2006 check-ins.
Re-open with more details if these re-appear
Comment 5 judytang 2006-06-14 00:30:31 UTC
Following is the NB console log at the 3rd time to deploy the app.

init:
dist:
run-deploy:
D:\test\netbeantest\dt_testing\test\webapps2\nbproject\build-impl.xml:312:
Deployment error:
null
See the server log for details.
BUILD FAILED (total time: 0 seconds)
Comment 6 Vince Kraemer 2006-06-14 05:14:14 UTC
server log?
Comment 7 Vince Kraemer 2006-07-19 23:52:57 UTC
I just did this with GF v1 u1 b3.

The project created fine.
It verified.


During deployment, I got:

init:
init:
dist:
init:
dist:
dist:
Redeploying /home/vbk/Deployable4/dist/mdb-simple.ear
Start registering the project's server resources
Finished registering server resources
While redeploying, trying to stop the application in target server  completed
successfully
While redeploying, trying to remove reference for application in target server 
completed successfully
deployment started : 0%
deployment finished : 100%
Deploying application in domain completed successfully
Trying to create reference for application in target server  completed successfully
Trying to start application in target server  completed successfully
Error occurred during application loading phase. The application will not run
properly. Please fix your application and redeploy.
com.sun.enterprise.deployment.backend.IASDeploymentException: Error while
loading application [mdb-simple]. Please refer to the server log for more details. 
All operations completed successfully
run-deploy:
BUILD SUCCESSFUL (total time: 1 second)

in the build processes output window.

I also saw errors in the server log.

The app did not appear in the run-time tab.  This makes sense, since the
application could not be loaded.  The app DOES appear in the admin gui.

This looks like it is a plugin issue.
Comment 8 Vince Kraemer 2006-07-19 23:54:10 UTC
Created attachment 32022 [details]
server log from deploy
Comment 9 Vince Kraemer 2006-07-20 20:17:02 UTC
opened https://glassfish.dev.java.net/issues/show_bug.cgi?id=855 to cover the
mismatch between the message from the server and the status value that we get
back from the server.
Comment 10 Nitya Doraisamy 2006-07-24 22:34:55 UTC
The runtime tree is keyed using the 77 mbeans(via AMX api's) and in the case of
this module, loading is unsuceesful and the mbean does not get created. The
server's restart flag is set though. On server restart,the 77 mbean does get
created and then the Runtime shows the module.
Changed the plugin's Runtime tree so that it is created based on config AMX mbeans 
Now,partial creation/loading of the various mbeans does no affect the runtime
list. The plugin's runtime tree is nowin sync with admin console.
Comment 11 judytang 2006-08-24 22:10:38 UTC
Verified the fix works in 8/21 build.