Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JEE EJB (entity and session) & App Client - works locally, fails on remote server  RSS feed

 
Narasimhan M Gomatam
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have developed a Java EE (Enterprise Edition) Desktop Application. It accesses a MySql database, via entity beans and session beans, and prints out some rows from several tables in the database.

I've compiled, built and deployed it on a Local Glassfish 3 Application Server. It works as intended. But when I try to deploy on a remote (on an AWS EC2 instance) Glassfish 3 Server it deploys but does not work.

JEE is well-known for ease of changing such server deployments. Normally, there should be no difference.


I am clueless regarding the reason. Why does the App Client that works locally, fails to work in the remote instance. Both are glassfish 3.1.2.

I am using Netbeans 7.2.1

I also developed a standard CRUD system unsing Netbeans CRUD App Generator and it workd both locally and remotely. All use same MySql Schema. The (identical) DB instances exist both locally and on the remote instance.

--------------------------------------------------- Begin AWS Version History -----------------------------------------------------------------------------------------------
---------------------------------------------------- Clean and Build Enterprise/Session Beans: ------------------------------------------------------------------------------------

ant -f E:\\Netbeans\\KnowledgeTreeEE clean dist
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
undeploy-clean:
deps-clean:
KnowledgeTreeAppClient.init:
KnowledgeTreeAppClient.deps-clean:
Deleting directory E:\Netbeans\KnowledgeTreeAppClient\build
Deleting directory E:\Netbeans\KnowledgeTreeAppClient\dist
KnowledgeTreeAppClient.clean:
KnowledgeTreeAppClient.clean-ear:
KnowledgeTreeEE-ejb.init:
KnowledgeTreeEE-ejb.undeploy-clean:
KnowledgeTreeEE-ejb.deps-clean:
Deleting directory E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-ejb\build
Deleting directory E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-ejb\dist
KnowledgeTreeEE-ejb.clean:
KnowledgeTreeEE-ejb.clean-ear:
KnowledgeTreeEE-war.init:
KnowledgeTreeEE-war.undeploy-clean:
KnowledgeTreeEE-war.deps-clean:
KnowledgeTreeEE-ejb.init:
KnowledgeTreeEE-ejb.undeploy-clean:
KnowledgeTreeEE-ejb.deps-clean:
KnowledgeTreeEE-ejb.clean:
KnowledgeTreeEE-war.do-clean:
Deleting directory E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-war\build
Deleting directory E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-war\dist
KnowledgeTreeEE-war.check-clean:
KnowledgeTreeEE-war.clean:
KnowledgeTreeEE-war.clean-ear:
do-clean:
Deleting directory E:\Netbeans\KnowledgeTreeEE\build
Deleting directory E:\Netbeans\KnowledgeTreeEE\dist
post-clean:
clean:
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
deps-jar:
deps-j2ee-archive:
KnowledgeTreeAppClient.init:
KnowledgeTreeAppClient.deps-jar:
Created dir: E:\Netbeans\KnowledgeTreeAppClient\build\jar
Copying 3 files to E:\Netbeans\KnowledgeTreeAppClient\build\jar\META-INF
Created dir: E:\Netbeans\KnowledgeTreeAppClient\build\empty
Created dir: E:\Netbeans\KnowledgeTreeAppClient\build\generated-sources\ap-source-output
Compiling 14 source files to E:\Netbeans\KnowledgeTreeAppClient\build\jar
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Copying 1 file to E:\Netbeans\KnowledgeTreeAppClient\build\jar
KnowledgeTreeAppClient.compile:
KnowledgeTreeAppClient.library-inclusion-in-manifest:
Created dir: E:\Netbeans\KnowledgeTreeAppClient\dist
Building jar: E:\Netbeans\KnowledgeTreeAppClient\dist\KnowledgeTreeAppClient.jar
KnowledgeTreeAppClient.dist-ear:
KnowledgeTreeEE-ejb.init:
KnowledgeTreeEE-ejb.deps-jar:
Created dir: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-ejb\build\classes
Copying 2 files to E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-ejb\build\classes\META-INF
Created dir: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-ejb\build\empty
Created dir: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-ejb\build\generated-sources\ap-source-output
Compiling 14 source files to E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-ejb\build\classes
Note: Creating static metadata factory ...
Note: Optional file was not found: META-INF/orm.xml continuing with generation.
Note: Optional file was not found: META-INF/eclipselink-orm.xml continuing with generation.
Note: Optional file was not found: META-INF/orm.xml continuing with generation.
Note: Optional file was not found: META-INF/eclipselink-orm.xml continuing with generation.
Note: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-ejb\src\java\org\srvvp\session\AbstractFacade.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
KnowledgeTreeEE-ejb.compile:
KnowledgeTreeEE-ejb.library-inclusion-in-manifest:
Created dir: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-ejb\dist
Building jar: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-ejb\dist\KnowledgeTreeEE-ejb.jar
KnowledgeTreeEE-ejb.dist-ear:
KnowledgeTreeEE-war.init:
KnowledgeTreeEE-war.deps-module-jar:
KnowledgeTreeEE-war.deps-ear-jar:
KnowledgeTreeEE-ejb.init:
KnowledgeTreeEE-ejb.deps-jar:
KnowledgeTreeEE-ejb.compile:
KnowledgeTreeEE-ejb.library-inclusion-in-manifest:
Building jar: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-ejb\dist\KnowledgeTreeEE-ejb.jar
KnowledgeTreeEE-ejb.dist-ear:
KnowledgeTreeEE-war.deps-jar:
Created dir: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-war\build\web\WEB-INF\classes
Created dir: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-war\build\web\META-INF
Copying 1 file to E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-war\build\web\META-INF
Copying 1 file to E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-war\build\web
KnowledgeTreeEE-war.library-inclusion-in-archive:
KnowledgeTreeEE-war.library-inclusion-in-manifest:
Created dir: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-war\build\empty
Created dir: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-war\build\generated-sources\ap-source-output
KnowledgeTreeEE-war.compile:
KnowledgeTreeEE-war.compile-jsps:
KnowledgeTreeEE-war.do-ear-dist:
Created dir: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-war\dist
Building jar: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-war\dist\KnowledgeTreeEE-war.war
KnowledgeTreeEE-war.dist-ear:
pre-pre-compile:
pre-compile:
Copying 1 file to E:\Netbeans\KnowledgeTreeEE\build
Copying 1 file to E:\Netbeans\KnowledgeTreeEE\build
Copying 1 file to E:\Netbeans\KnowledgeTreeEE\build
do-compile:
Copying 2 files to E:\Netbeans\KnowledgeTreeEE\build\META-INF
post-compile:
compile:
pre-dist:
do-dist-without-manifest:
do-dist-with-manifest:
Created dir: E:\Netbeans\KnowledgeTreeEE\dist
Building jar: E:\Netbeans\KnowledgeTreeEE\dist\KnowledgeTreeEE.ear
post-dist:
dist:
BUILD SUCCESSFUL (total time: 5 seconds)

--------------------------------------------------------------------- Deploy/Run Enterprise Beans -----------------------------------------------------------------------------------
ant -f E:\\Netbeans\\KnowledgeTreeEE -DforceRedeploy=false -Ddirectory.deployment.supported=false run
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
deps-jar:
deps-j2ee-archive:
KnowledgeTreeAppClient.init:
KnowledgeTreeAppClient.deps-jar:
KnowledgeTreeAppClient.compile:
KnowledgeTreeAppClient.library-inclusion-in-manifest:
Building jar: E:\Netbeans\KnowledgeTreeAppClient\dist\KnowledgeTreeAppClient.jar
KnowledgeTreeAppClient.dist-ear:
KnowledgeTreeEE-ejb.init:
KnowledgeTreeEE-ejb.deps-jar:
KnowledgeTreeEE-ejb.compile:
KnowledgeTreeEE-ejb.library-inclusion-in-manifest:
Building jar: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-ejb\dist\KnowledgeTreeEE-ejb.jar
KnowledgeTreeEE-ejb.dist-ear:
KnowledgeTreeEE-war.init:
KnowledgeTreeEE-war.deps-module-jar:
KnowledgeTreeEE-war.deps-ear-jar:
KnowledgeTreeEE-ejb.init:
KnowledgeTreeEE-ejb.deps-jar:
KnowledgeTreeEE-ejb.compile:
KnowledgeTreeEE-ejb.library-inclusion-in-manifest:
KnowledgeTreeEE-ejb.dist-ear:
KnowledgeTreeEE-war.deps-jar:
KnowledgeTreeEE-war.library-inclusion-in-archive:
KnowledgeTreeEE-war.library-inclusion-in-manifest:
KnowledgeTreeEE-war.compile:
KnowledgeTreeEE-war.compile-jsps:
KnowledgeTreeEE-war.do-ear-dist:
Building jar: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-war\dist\KnowledgeTreeEE-war.war
KnowledgeTreeEE-war.dist-ear:
pre-pre-compile:
pre-compile:
Copying 1 file to E:\Netbeans\KnowledgeTreeEE\build
Copying 1 file to E:\Netbeans\KnowledgeTreeEE\build
Copying 1 file to E:\Netbeans\KnowledgeTreeEE\build
do-compile:
post-compile:
compile:
pre-dist:
Building jar: E:\Netbeans\KnowledgeTreeEE\dist\KnowledgeTreeEE.ear
post-dist:
dist-directory-deploy:
pre-run-deploy:
Undeploying ...
Initializing...
Distributing E:\Netbeans\KnowledgeTreeEE\dist\KnowledgeTreeEE.ear to [GlassFish Server 3+ (3)]
Initializing...
post-run-deploy:
run-deploy:
Browsing: http://ec2-54-169-137-218.ap-southeast-1.compute.amazonaws.com:8080/KnowledgeTreeEE-war
run-display-browser:
run-ac:
run:
BUILD SUCCESSFUL (total time: 29 seconds)

Browser Screen : Hello world !

------------------------------------------------------------------ Run Desktop Client ---------------------------------------------------------------------------------
ant -f E:\\Netbeans\\KnowledgeTreeAppClient -DforceRedeploy=false run
init:
deps-jar:
compile:
library-inclusion-in-archive:
dist:
pre-run-deploy:
Undeploying ...
Initializing...
Distributing E:\Netbeans\KnowledgeTreeAppClient\dist\KnowledgeTreeAppClient.jar to [GlassFish Server 3+ (3)]
Initializing...
post-run-deploy:
run-deploy:
Warning: Could not find file E:\Netbeans\KnowledgeTreeAppClient\${wa.copy.client.jar.from}\KnowledgeTreeAppClient\KnowledgeTreeAppClientClient.jar to copy.
Warning: E:\Netbeans\KnowledgeTreeAppClient\${wa.copy.client.jar.from}\KnowledgeTreeAppClient does not exist.
E:\Netbeans\KnowledgeTreeAppClient\nbproject\build-impl.xml:946: E:\Netbeans\KnowledgeTreeAppClient\${wa.copy.client.jar.from}\KnowledgeTreeAppClient does not exist.
BUILD FAILED (total time: 40 seconds)

--------------------------------------------------- End AWS Version History ------------------------------------------------


--------------------------------------------------- Begin localhost Version History -----------------------------------------------------------------------------------------------
---------------------------------------------------- Clean/Build/Deploy/Run Enterprise/Session Beans: ------------------------------------------------------------------------------------

ant -f E:\\Netbeans\\KnowledgeTreeEE -DforceRedeploy=false -Ddirectory.deployment.supported=true run
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
deps-jar:
deps-j2ee-archive:
KnowledgeTreeAppClient.init:
KnowledgeTreeAppClient.deps-jar:
KnowledgeTreeAppClient.compile:
KnowledgeTreeAppClient.library-inclusion-in-manifest:
Building jar: E:\Netbeans\KnowledgeTreeAppClient\dist\KnowledgeTreeAppClient.jar
KnowledgeTreeAppClient.dist-ear:
KnowledgeTreeEE-ejb.init:
KnowledgeTreeEE-ejb.deps-jar:
KnowledgeTreeEE-ejb.compile:
KnowledgeTreeEE-ejb.library-inclusion-in-manifest:
Building jar: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-ejb\dist\KnowledgeTreeEE-ejb.jar
KnowledgeTreeEE-ejb.dist-ear:
KnowledgeTreeEE-war.init:
KnowledgeTreeEE-war.deps-module-jar:
KnowledgeTreeEE-war.deps-ear-jar:
KnowledgeTreeEE-ejb.init:
KnowledgeTreeEE-ejb.deps-jar:
KnowledgeTreeEE-ejb.compile:
KnowledgeTreeEE-ejb.library-inclusion-in-manifest:
KnowledgeTreeEE-ejb.dist-ear:
KnowledgeTreeEE-war.deps-jar:
KnowledgeTreeEE-war.library-inclusion-in-archive:
KnowledgeTreeEE-war.library-inclusion-in-manifest:
KnowledgeTreeEE-war.compile:
KnowledgeTreeEE-war.compile-jsps:
KnowledgeTreeEE-war.do-ear-dist:
Building jar: E:\Netbeans\KnowledgeTreeEE\KnowledgeTreeEE-war\dist\KnowledgeTreeEE-war.war
KnowledgeTreeEE-war.dist-ear:
pre-pre-compile:
pre-compile:
Copying 1 file to E:\Netbeans\KnowledgeTreeEE\build
Copying 1 file to E:\Netbeans\KnowledgeTreeEE\build
Copying 1 file to E:\Netbeans\KnowledgeTreeEE\build
do-compile:
post-compile:
compile:
pre-dist:
post-dist:
dist-directory-deploy:
pre-run-deploy:
Initial deploying KnowledgeTreeEE to E:\Netbeans\KnowledgeTreeEE\dist\gfdeploy\KnowledgeTreeEE
Completed initial distribution of KnowledgeTreeEE
Initializing...
post-run-deploy:
run-deploy:
run-display-browser:
run-ac:
pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init:
Copying 1 file to E:\Netbeans\KnowledgeTreeEE\dist
Copying 3 files to E:\Netbeans\KnowledgeTreeEE\dist\KnowledgeTreeEEClient
------------------------------------------------Subjects----------------------------------------
Aitreya-Aitreya-Aitreyopanishad "The Microcosm of Man"
AraNyaka-AraNyaka- "wilderness texts" or "forest treaties"
aum-??-?? - The Primary Sound
AV-aTHarvaNa Veda-aTHarvaNa Veda
Ayurveda-Ayurveda-Indian Medical Systems
BrahadAraN-BrahadAraNyaka-the big forest treatise
BrahmaNa-BrahmaNa-Prose commentaries on Samhitas
Chandas-Chandas-Metre
Chandogya-Chandogya-Chandogyopanishad "Song and Sacrifice"
Dhanurveda-Dhanurveda-Archery
Gandharvav-Gandharva veda-Sacred Music and Dance
Isa-Isa-Isopanishad "The Inner Ruler"
Jyotisha-Jyotisha-Astronomy/Astrology/Cosmology
Kalpa-Kalpa-Ritual
Katha-Katha-Kathopanishad "Death as Teacher"
Kena-Kena-Kenopanishad "Who moves the world?"
mAndukya-mAndukya-mAndukyopanishad "Consciousness and its phases"
Mundaka-Mundaka-Mundakopanoishad "Two modes of Knowing"
Nirukta-Nirukta-Etymology
Poorva-Poorva Mimamsa-Darshana - Glimpse of Divinity
Prasna-Prasna-Prasnopanishad "The Breath of Life"
RV-Rk Veda-Rk Veda
Samhita-Samhita-Collection of metric texts
Samkhya-Samkhya-Darshana - Glimpse of Divinity
ShastrashA-ShastrashAstra-Military Knowledge
Shiksha-Shiksha-Phonetics - The Science of Speech Sounds
ShilpashAs-Shilpa shAstra-null
Sthapatyav-Sthapatyaveda-Architecture (temples)
SV-sAma Veda-sAma Veda
TaittirIya-TaittirIya-Taittiriyopanishad "From Food to Joy"
Upanishad-Upanishad-Fundamental philosophy
Upaveda-Upaveda-Subsidiary vedas "applied knowledge"
Uttara-Uttara Mimamsa-Darshana - Glimpse of Divinity
Vaishesh-Nyaya Vaisheshika-Darshana
Veda-Veda-Veda
Vedanga-Vedanga-Angas (limbs) of Vedas
Vedantha-Vedantha-Darshana - "End of the vedas" - sum of all knowledge
VyAkaraNa-VyAkaraNa-Grammar
Yoga-Yoga-Darshana - Glimpse of Divinity
YV-Yajur Veda-Yajur Veda
------------------------------------------------Subject Subject Relations----------------------------------------
org.srvvp.entity.SubjectSubjectRelation[ id=darshana ]
org.srvvp.entity.SubjectSubjectRelation[ id=parentchil ]
org.srvvp.entity.SubjectSubjectRelation[ id=part ]
org.srvvp.entity.SubjectSubjectRelation[ id=shruthi ]
org.srvvp.entity.SubjectSubjectRelation[ id=sibling ]
org.srvvp.entity.SubjectSubjectRelation[ id=smrithi ]
org.srvvp.entity.SubjectSubjectRelation[ id=upa ]
org.srvvp.entity.SubjectSubjectRelation[ id=upani ]
------------------------------------------------Subject Relates to Subject ----------------------------------------
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Poorva ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Samkhya ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Uttara ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Vaishesh ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Vedantha ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Yoga ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=aum, subject2=Veda ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Chandas, subject2=BrahmaNa ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Chandas, subject2=Samhita ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Upanishad, subject2=AranyaKa ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Upanishad, subject2=BrahadAraN ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Upanishad, subject2=Isa ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Upanishad, subject2=Kena ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Upanishad, subject2=mAndukya ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Upanishad, subject2=Mundaka ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Upanishad, subject2=Prasna ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=AV ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=RV ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=SV ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=YV ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Chandas ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Jyotisha ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Kalpa ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Nirukta ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Shiksha ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=VyakaraNa ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Ayurveda ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Dhanurveda ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Gandharvav ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=UpaVeda ] ]
org.srvvp.entity.SubjectRelatestoSubject[ subjectRelatestoSubjectPK=org.srvvp.entity.SubjectRelatestoSubjectPK[ subject1=Veda, subject2=Upanishad ] ]
------------------------------------------------View Subject Subject ----------------------------------------
Veda-Poorva
Veda-Samkhya
Veda-Uttara
Veda-Vaishesh
Veda-Vedantha
Veda-Yoga
aum-Veda
Chandas-BrahmaNa
Chandas-Samhita
Upanishad-AraNyaka
Upanishad-BrahadAraN
Upanishad-Isa
Upanishad-Kena
Upanishad-mAndukya
Upanishad-Mundaka
Upanishad-Prasna
Veda-AV
Veda-RV
Veda-SV
Veda-YV
Veda-Chandas
Veda-Jyotisha
Veda-Kalpa
Veda-Nirukta
Veda-Shiksha
Veda-VyAkaraNa
Veda-Ayurveda
Veda-Dhanurveda
Veda-Gandharvav
Veda-Upaveda
Veda-Upanishad
run:
BUILD SUCCESSFUL (total time: 27 seconds)
--------------------------------------------------- End localhost Version History -----------------------------------------------------------------------------------------------
 
K. Tsang
Bartender
Posts: 3648
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

From the AWS log, the error is
E:\Netbeans\KnowledgeTreeAppClient\${wa.copy.client.jar.from}\KnowledgeTreeAppClient does not exist

I doubt there is a folder called "${wa.copy.client.jar.from}". Maybe it's the Netbeans config file in AWS.

Actually why is Netbeans in AWS? Shouldn't you deploy the EAR in AWS Glassfish and run some command to trigger the app client? I haven't played with enterprise app client so I may be wrong.
 
Narasimhan M Gomatam
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello K. Tsang. Thank you for the response.

No, I don't have Netbeans on AWS. I do it ll on my laptop. I have registered Glassfish servers locally and on AWS. I only change the project properties to "Glassfish AWS" for deployment, and then run deploy. That's when this error occurs.

I also tried a Session Beans example from The Java Tutorials called Converter, which takes a Dollar input and converts it to Yen and Euro. Same behavior. Works locally, fails on remote deployment.
Oracle Java Tutorials.

It seems to be a bug in Netbeans itself.
Netbeans Bug Report


Naras
 
K. Tsang
Bartender
Posts: 3648
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Narasimhan Mg wrote:No, I don't have Netbeans on AWS. I do it ll on my laptop. I have registered Glassfish servers locally and on AWS. I only change the project properties to "Glassfish AWS" for deployment, and then run deploy. That's when this error occurs.


So you connect to AWS Glassfish directly in your local Netbeans? Is that even possible?

Anyway, the proper way to do deployment especially on a remote server and to export the WAR file and use the admin console of the remote server or place the file directly in the remote server's deployment folder.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!