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.
I am using 7/26 IDE dialy build with JDK 5.0, Appserver 8.1 UR2 build 11 on Win XP When starting 8.1 UR2 EE server, got "Java DB location is not set correctly" error, may be the DB location is different in 8.1 EE than in 8.2 EE.
Also the 8.1 UR2 EE server could not be started which is reported in 80660. I was albe to start the server using the CLI command.
so 8.1 UR2 EE has Java DB now?
8.1 UR2 EE still use pointbase. Following is the pointbase location. I guess the NB 5.5 plugin may need to put in the logic to look for different DB location for different app server releases ? D:\AppServer Install\8.1 UR2 EE\pointbase> D:\AppServer Install\8.2 EE\derby>
need a test to check if derby is installed before starting it. simple. Testing now.
Fixed Checking in appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/StartSunServer.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/StartSunServer.java,v <-- StartSunServer.java new revision: 1.4.4.6.2.14; previous revision: 1.4.4.6.2.13 done Checking in appsrv/src/org/netbeans/modules/j2ee/sun/api/ServerLocationManager.java; /cvs/serverplugins/sun/appsrv/src/org/netbeans/modules/j2ee/sun/api/ServerLocationManager.java,v <-- ServerLocationManager.java new revision: 1.1.6.3.2.4; previous revision: 1.1.6.3.2.3 done
Tested 2006-07-31 daily build on Winxp. Add a 8.2EE server. Got the same error message "The Java DB location is not set correctly" when start the server. The server cannot be started. Reopen the issue
"Which server" cannot start? Java DB? Do you have a correct D:\AppServer Install\8.2 EE\derby> content? Would be nice if you could attach a zip containing the netbeans userdirectory/config or using tools->options->advance options button, check and attach all the values for the node: IDE configuration->server and...->Java DB database properties It is possible that the build you are using did not get the change. Not sure, but worth checking by attaching the ide log file as well.
Created attachment 32390 [details] zip file for config directory under userdir
Created attachment 32391 [details] log file under userdir\var\log
I can start 8.2 EE domain from CLI. But 8.2 EE server cannot be started from Netbeans. Derby is bundled with 8.2 EE installation and is under <8.2EE_install_root>\derby. I can successfully start Derby database by call CLI (asadmin start-database).
I am confused with the attachments: Did you clean up the user dir after nb installation? I see a db driver using: <url value="file:/C:/Program%20Files/sun/appserver8ee/derby/lib/derbyclient.jar"/> But the registered server is under: C:\Sun\AppServer > Which server contains C:\Sun\AppServer? Do you are 2 server nodes?
Maybe you did import the settings from a previous installation of nb?
Sorry I forgot to clean userdir between different installations. I'll try again on another Win XP machine and provide config again. Actually both DB and server failed to be started up. This is a OS specific issue. Both Judy and I found it on Window XP. I tried yesterday on a Solaris 10 X86 machine. It worked fine.
My fault of having messed up my environment by using the same userdir and without clean it up between different installations. Reverse the status back
8.1 EE server stated fine in 8/21 build.