eclipse-ee4j / glassfish

Eclipse GlassFish
https://eclipse-ee4j.github.io/glassfish/
385 stars 144 forks source link

Netbeans setup with EJB samples #8205

Closed glassfishrobot closed 15 years ago

glassfishrobot commented 15 years ago

build: SDK promoted build 03 (b47) on Windows Vista.

Installed the NB 6.7 nightly build 200905051401. Add v3 SDK as a new v3 server. Here are the issues I see: 1. Unable to open ejb31-war project. There is no ejb31-war/nbproject directory. 2. Was able to open automatic-timer project and hello-stateless-ejb samples. 3. Tried to build/deploy the samples and they worked. Run into following error in runtime:

Compiling automatic-timer-ejb-test Created dir: C:\Users\Ming\v3\glassfishv3\glassfish\samples\javaee6\ejb\automatic-timer\automatic-timer-client\build\classes Compiling 1 source file to C:\Users\Ming\v3\glassfishv3\glassfish\samples\javaee6\ejb\automatic-timer\automatic-timer-client\build\classes C:\Users\Ming\v3\glassfishv3\glassfish\samples\javaee6\ejb\automatic-timer\build.xml:13: The following error occurred while executing this line: C:\Users\Ming\v3\glassfishv3\glassfish\samples\bp-project\command-line-ant-tasks.xml:81: c:\Sun\AppServer not found.

Add build.properties which contains correct javaee.home value in User Home directory and was able to run afterwards. Netbean should be able to take care the v3 home and shouldn't need extra build.property.

The similar error for hello-stateless-ejb sample.

Environment

Operating System: All Platform: All

Affected Versions

[V3]

glassfishrobot commented 6 years ago
glassfishrobot commented 15 years ago

@glassfishrobot Commented msreddy said: assigning to owner ...

glassfishrobot commented 15 years ago

@glassfishrobot Commented judytangs said: In today's SDK pteam, it was suggested to raise this to P1 to fix for JavaOne release.

glassfishrobot commented 15 years ago

@glassfishrobot Commented @vkraemer said: One comment...

The projects are structured to be built as the available documentation about the samples prescribes...

The user is instructed to set the build.properties with values for things like javaee.home before they can run the projects...

glassfishrobot commented 15 years ago

@glassfishrobot Commented @vkraemer said: add self to cc list

glassfishrobot commented 15 years ago

@glassfishrobot Commented @vkraemer said: this should help resolve this (and similar issues)...

https://glassfish-samples.dev.java.net/servlets/ReadMsg?list=cvs&msgNo=940

glassfishrobot commented 15 years ago

@glassfishrobot Commented ksak said: A fix was checked in that should address the issue. However, changing priority to P3 since this is a usability improvement request but not a must-have for EA.

glassfishrobot commented 15 years ago

@glassfishrobot Commented mzh777 said: Installed b03b to default directory and verified the fix.

glassfishrobot commented 15 years ago

@glassfishrobot Commented Was assigned to ksak

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA GLASSFISH-8205

glassfishrobot commented 15 years ago

@glassfishrobot Commented Reported by mzh777

glassfishrobot commented 15 years ago

@glassfishrobot Commented Marked as fixed on Thursday, May 14th 2009, 1:03:05 pm