Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

there isn't anything work ! #92

Open
kronos72it opened this issue Aug 13, 2024 · 0 comments
Open

there isn't anything work ! #92

kronos72it opened this issue Aug 13, 2024 · 0 comments

Comments

@kronos72it
Copy link

I just downloaded the examples , installed Glassfish 7 with
maven 3.9.6, JDK 11
from NB --> clean install
and got :

`Reactor Summary for Jakarta EE 10 Examples - Tutorial 10-SNAPSHOT:

Jakarta EE 10 Examples - Tutorial .................. SUCCESS [ 0.937 s]
archetypes ......................................... SUCCESS [ 0.015 s]
jaxrs-service-archetype ............................ SUCCESS [ 1.364 s]
batch .............................................. SUCCESS [ 0.016 s]
webserverlog ....................................... FAILURE [ 1.782 s]
phonebilling ....................................... SKIPPED
case-studies ....................................... SKIPPED
dukes-bookstore .................................... SKIPPED
dukes-forest ....................................... SKIPPED
events ............................................. SKIPPED
entities ........................................... SKIPPED
dukes-resources .................................... SKIPPED
dukes-store ........................................ SKIPPED
dukes-payment ...................................... SKIPPED
dukes-shipment ..................................... SKIPPED
dukes-tutoring ..................................... SKIPPED
dukes-tutoring-common .............................. SKIPPED
dukes-tutoring-war ................................. SKIPPED
cdi ................................................ SKIPPED
billpayment ........................................ SKIPPED
decorators ......................................... SKIPPED
encoder ............................................ SKIPPED
guessnumber-cdi .................................... SKIPPED
producerfields ..................................... SKIPPED
producermethods .................................... SKIPPED
simplegreeting ..................................... SKIPPED
concurrency ........................................ SKIPPED
jobs ............................................... SKIPPED
taskcreator ........................................ SKIPPED
connectors ......................................... SKIPPED
traffic ............................................ SKIPPED
traffic-eis ........................................ SKIPPED
traffic-rar ........................................ SKIPPED
traffic-ejb ........................................ SKIPPED
traffic-war ........................................ SKIPPED
traffic-ear ........................................ SKIPPED
trading ............................................ SKIPPED
trading-rar ........................................ SKIPPED
trading-war ........................................ SKIPPED
trading-ear ........................................ SKIPPED
trading-eis ........................................ SKIPPED
ejb ................................................ SKIPPED
async .............................................. SKIPPED
async-war .......................................... SKIPPED
async-smtpd ........................................ SKIPPED
cart ............................................... SKIPPED
cart-common ........................................ SKIPPED
cart-ejb ........................................... SKIPPED
cart-appclient ..................................... SKIPPED
cart-ear ........................................... SKIPPED
converter .......................................... SKIPPED
counter ............................................ SKIPPED
helloservice ....................................... SKIPPED
interceptor ........................................ SKIPPED
standalone ......................................... SKIPPED
timersession ....................................... SKIPPED
jaxrs .............................................. SKIPPED
customer ........................................... SKIPPED
hello .............................................. SKIPPED
rsvp ............................................... SKIPPED
jaxws .............................................. SKIPPED
helloservice-war ................................... SKIPPED
hello-appclient .................................... SKIPPED
hello-webclient .................................... SKIPPED
jms ................................................ SKIPPED
clientmdbentity .................................... SKIPPED
clientmdbentity-ejb ................................ SKIPPED
clientmdbentity-appclient .......................... SKIPPED
clientmdbentity-ear ................................ SKIPPED
clientsessionmdb ................................... SKIPPED
clientsessionmdb-ejb ............................... SKIPPED
clientsessionmdb-appclient ......................... SKIPPED
clientsessionmdb-ear ............................... SKIPPED
durablesubscriptionexample ......................... SKIPPED
durableconsumer .................................... SKIPPED
unsubscriber ....................................... SKIPPED
shared ............................................. SKIPPED
sharedconsumer ..................................... SKIPPED
shareddurableconsumer .............................. SKIPPED
simple ............................................. SKIPPED
asynchconsumer ..................................... SKIPPED
clientackconsumer .................................. SKIPPED
messagebrowser ..................................... SKIPPED
producer ........................................... SKIPPED
synchconsumer ...................................... SKIPPED
simplemessage ...................................... SKIPPED
simplemessage-ejb .................................. SKIPPED
simplemessage-appclient ............................ SKIPPED
simplemessage-ear .................................. SKIPPED
websimplemessage ................................... SKIPPED
transactedexample .................................. SKIPPED
retailer ........................................... SKIPPED
vendor ............................................. SKIPPED
genericsupplier .................................... SKIPPED
persistence ........................................ SKIPPED
address-book ....................................... SKIPPED
order .............................................. SKIPPED
roster ............................................. SKIPPED
roster-common ...................................... SKIPPED
roster-ejb ......................................... SKIPPED
roster-appclient ................................... SKIPPED
roster-ear ......................................... SKIPPED
security ........................................... SKIPPED
cart-secure ........................................ SKIPPED
cart-secure-common ................................. SKIPPED
cart-secure-appclient .............................. SKIPPED
cart-secure-ejb .................................... SKIPPED
cart-secure-ear .................................... SKIPPED
converter-secure ................................... SKIPPED
hello1-formauth .................................... SKIPPED
hello2-basicauth ................................... SKIPPED
security-api ....................................... SKIPPED
built-in-db-identity-store ......................... SKIPPED
custom-identity-store .............................. SKIPPED
web ................................................ SKIPPED
faces .............................................. SKIPPED
ajaxguessnumber .................................... SKIPPED
bookmarks .......................................... SKIPPED
checkout-module .................................... SKIPPED
guessnumber-faces .................................. SKIPPED
hello-faces ........................................ SKIPPED
hello1-rlc ......................................... SKIPPED
reservation ........................................ SKIPPED
simple-flow ........................................ SKIPPED
compositecomponentexample .......................... SKIPPED
jsonb .............................................. SKIPPED
jsonbbasics ........................................ SKIPPED
jsonp .............................................. SKIPPED
jsonpmodel ......................................... SKIPPED
jsonpstreaming ..................................... SKIPPED
servlet ............................................ SKIPPED
dukeetf ............................................ SKIPPED
fileupload ......................................... SKIPPED
hello-servlet ...................................... SKIPPED
mood ............................................... SKIPPED
websocket .......................................... SKIPPED
dukeetf2 ........................................... SKIPPED
websocketbot ....................................... SKIPPED

BUILD FAILURE

Total time: 5.706 s
Finished at: 2024-08-13T11:08:59+02:00

Failed to execute goal org.codehaus.cargo:cargo-maven3-plugin:1.10.6:redeploy (deploy) on project webserverlog: Execution deploy of goal org.codehaus.cargo:cargo-maven3-plugin:1.10.6:redeploy failed: Failed to create deployer with implementation class org.codehaus.cargo.container.glassfish.GlassFish7xInstalledLocalDeployer for the parameters (container [id = [glassfish7x]], deployer type [installed]).: InvocationTargetException: The container configuration directory "/home/devuser/work/jakartaee-examples-main/tutorial/target/glassfish7/glassfish/domains" does not exist. Please configure the container before attempting to perform any local deployment. Read more on: https://codehaus-cargo.github.io/cargo/Local+Configuration.html -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.`

ok in this case the problem is simple :
<glassfish.home>${session.executionRootDirectory}/target/glassfish7</glassfish.home> is wrong , glassfish cannot be installed inside project folder /jakartaee-examples-main/tutorial/target/....

but there is many other problem ,for example : fixing what above and doing clean install on jaxws project I got 👍
Failed to execute goal org.codehaus.cargo:cargo-maven3-plugin:1.10.6:redeploy (deploy) on project helloservice-war: Execution deploy of goal org.codehaus.cargo:cargo-maven3-plugin:1.10.6:redeploy failed: GlassFish admin command with args (--interactive=false --host localhost --port 4848 --user admin --passwordfile /home/devuser/apps/glassfish7/glassfish/domains/password.properties deploy --force --contextroot helloservice-war /home/devuser/work/jakartaee-examples-main/tutorial/jaxws/helloservice-war/target/helloservice-war.war) failed: asadmin exited 1: Authentication failed for user: admin with password from password file: /home/devuser/apps/glassfish7/glassfish/domains/password.properties (Usually, this means invalid user name and/or password) Command deploy failed.
in this case inside NB when registered server I put (as described in tutorial) user :admin password empty but I noticed there is a file inside .../glassfish7/glassfish/domains/password.properties that report inside the valued 'adminadmin' for password , the I put AS_ADMIN_PASSWORD=
but it doesn't work anyway

further there is problem also in ejb/cart example with client name jar ....

This is much more a new ISSUE , I wrote here to advice , from a newbie point of view, that thes example are the main and first approch of newbie to JakartaEE , if these example/tutarial will create many problem and doesn't run smooth , they create frustrating experience and a bad opinion about Jakarta EE technology !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant