NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Problems in Deploying Application

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Josef Pullicino
Posted via mailing list.





PostPosted: Wed Feb 25, 2009 11:30 pm    Post subject: Problems in Deploying Application Reply with quote

Hi Support,

I have tried to do the tutorial (http://www.netbeans.org/kb/55/ejb30-jboss.html#Exercise_2) with regards to the EJB3.0. I have done all the steps required but when arrived to run the project, the project run without errors but the servlets did not show up. The attached htm file is displayed when run the project. The steps done by the netbeans are as follows:

pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
deps-jar:
deps-j2ee-archive:
init:
deps-jar:
compile:
library-inclusion-in-manifest:
dist-ear:
init:
deps-module-jar:
deps-ear-jar:
init:
deps-jar:
compile:
library-inclusion-in-manifest:
dist-ear:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
compile:
compile-jsps:
do-ear-dist:
dist-ear:
pre-pre-compile:
pre-compile:
do-compile:
post-compile:
compile:
pre-dist:
do-dist-without-manifest:
do-dist-with-manifest:
post-dist:
dist:
pre-run-deploy:
Undeploying ...
While undeploying, trying to stop application in target server completed successfully
While undeploying, trying to remove reference for application in target server completed successfully
Undeploying the application
Trying to undeploy application from domain completed successfully
Undeployment of application NewsApp completed successfully
All operations completed successfully
Initial deploying NewsApp to C:\Users\Administrator Vista\Documents\NetBeansProjects\NewsApp\dist\gfdeploy
Completed initial distribution of NewsApp
Start registering the project's server resources
Finished registering server resources
moduleID=NewsApp
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.
WARNING:
JDO76614: Deployment encountered SQL Exceptions:
JDO76609: Got SQLException executing statement "CREATE TABLE NEWSENTITY (ID BIGINT NOT NULL, BODY VARCHAR(255), TITLE VARCHAR(255), PRIMARY KEY (ID))": java.sql.SQLException: A communications error has been detected: Software caused connection abort: socket write error.
JDO76609: Got SQLException executing statement "CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL, PRIMARY KEY (SEQ_NAME))": java.sql.SQLTransientConnectionException: No current connection.
JDO76609: Got SQLException executing statement "INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_GEN', 1)": java.sql.SQLTransientConnectionException: No current connection.
com.sun.enterprise.deployment.backend.IASDeploymentException: Error while loading application [NewsApp]. Please refer to the server log for more details.
Enable of NewsApp in target server completed successfully
Enable of application in all targets completed successfully
All operations completed successfully
post-run-deploy:
run-deploy:
Browsing: http://localhost:8080/NewsApp-war/ListNews
run-display-browser:
run-ac:
run:
BUILD SUCCESSFUL (total time: 2 seconds)

As you can see, the statements highlighted in red colour are the steps where are not being done successfully. Could you please indicate what can I do to solve this problem since I am not seeing my final end project running?

Immediate response would be greatly appreciated as I am new to EJB’s and required for my University.

Thanks for your cooperation involved,

Regards,
Josef Pullicino
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo