Deployment error: Failed to start server localhost:25848

Hello there!

I used to work with NetBeans but now i am testing JSCreator.

- I'm using Linux Ubuntu 7.04

- JSCreator 2 Update 1

- I 've tryied to run as root and as my user.

- I am trying VehicleIncidentReport example with JSCreator

- With netstat -a | grep 25848 , i can see that are no process running in that port!

Thanks for any help!

When i run I got this error:

-

run-deploy:

Starting server localhost:25848

Failed to start server localhost:25848

Deployment error: Failed to start server localhost:25848. See the server log file for details.

Exception=Deployment error: Failed to start server localhost:25848. See the server log file for details.

Deployment error: Failed to start server localhost:25848. See the server log file for details.at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deploymen t.java:198)

at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)

at org.apache.tools.ant.Task.perform(Task.java:364)

at org.apache.tools.ant.Target.execute(Target.java:341)

at org.apache.tools.ant.Target.performTasks(Target.java:369)

at org.apache.tools.ant.Project.executeTarget(Project.java:1214)

at org.apache.tools.ant.Project.executeTargets(Project.java:1062)

at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)

at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)

at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)

[1670 byte] By [Mario_Mola] at [2007-11-27 10:43:09]
# 1

Hi!

You can try to reset your server. Probably it helps. Fir this:

1) Go to $Creator_Dir/bin directory.

2) pe-start.(bat|sh) -reset

But after this all your settings will be lost.

Actually if You used to work with NetBeans, You can download Visual Web Pack for NetBeans 5.5/5.5.1 or if You use NetBeans 6.0 install it with Web Pack. Visual Web Pack gives the same ability to develop web applications.

Thanks,

Roman.

-Grif-a at 2007-7-28 19:27:10 > top of Java-index,Development Tools,Java Tools...
# 2

Hy there!!

I would like to thank you!! I just used pe-start and it worked!!!

But now I would like to fix my Netbeans.

I started to use JSCreator because my Netbeans is not working properly.

- I created a new Project called Teste CIB as a Visual Web Application.

- When i Execute the Project, in Log says that everything was all right, but in my Web Navigator (Mozzila) its says:

HTTP Status 404 - /TesteCIB/

type Status report

message /TesteCIB/

description The requested resource (/TesteCIB/) is not available.

In the LOG i got this error:

You are trying to access file: jndi.properties from the default package.

Please see http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/mo dules/doc-files/classpath.html#default_package

java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key MNEMONIC_

at java.util.ResourceBundle.getObject(ResourceBundle.java:386)

at java.util.ResourceBundle.getString(ResourceBundle.java:346)

at org.openide.awt.Mnemonics.getLatinKeycode(Mnemonics.java:165)

at org.openide.awt.Mnemonics.setLocalizedText2(Mnemonics.java:78)

at org.openide.awt.Mnemonics.setLocalizedText(Mnemonics.java:99)

at org.netbeans.modules.java.project.ChangePackageViewTypeAction.createChoice(Chan gePackageViewTypeAction.java:54)

at org.netbeans.modules.java.project.ChangePackageViewTypeAction.getPopupPresenter (ChangePackageViewTypeAction.java:48)

at org.openide.util.Utilities.actionsToPopup(Utilities.java:2622)

at org.openide.util.Utilities.actionsToPopup(Utilities.java:2696)

at org.openide.explorer.view.TreeView.createPopup(TreeView.java:875)

at org.openide.explorer.view.TreeView$PopupAdapter.showPopup(TreeView.java:1323)

at org.openide.awt.MouseUtils$PopupMouseAdapter.maybePopup(MouseUtils.java:158)

at org.openide.awt.MouseUtils$PopupMouseAdapter.mousePressed(MouseUtils.java:149)

at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:263)

at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)

at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)

at java.awt.Component.processMouseEvent(Component.java:6035)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)

at java.awt.Component.processEvent(Component.java:5803)

at java.awt.Container.processEvent(Container.java:2058)

at java.awt.Component.dispatchEventImpl(Component.java:4410)

at java.awt.Container.dispatchEventImpl(Container.java:2116)

at java.awt.Component.dispatchEvent(Component.java:4240)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3983)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)

at java.awt.Container.dispatchEventImpl(Container.java:2102)

at java.awt.Window.dispatchEventImpl(Window.java:2429)

at java.awt.Component.dispatchEvent(Component.java:4240)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:27 3)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:17 3)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

You are trying to access file: jndi.properties from the default package.

Please see http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/mo dules/doc-files/classpath.html#default_package

Thanks a lot!!

Mario_Mola at 2007-7-28 19:27:10 > top of Java-index,Development Tools,Java Tools...
# 3

Hi!

Do You use in your application DB connection or EJB?

Probably application wasn't deployed successfully because some jndi resources are missed.

Thanks,

Roman.

-Grif-a at 2007-7-28 19:27:11 > top of Java-index,Development Tools,Java Tools...
# 4

Hy Roman!

In this example i just created a new Visual Web Application. Means taht i made no changes in the codde, its just a empty Visual Web Project.

At the first time that i installed the NetBeans it was working properly. But since last week i got this error and i cant execute any project.

Another problem is that when i Run, in the Web Browser it says that it was no able to find localhost:port/NameofProject.

Is any command that i can reset my tomcat in NetBeans ?

Or that is any bin that is missing ?

Anyway, i am using JSCreator and i am happy with it. But it would be appreciate if i could use NetBeans as well!

Thanks a Lot!

Mario Mol

Mario_Mola at 2007-7-28 19:27:11 > top of Java-index,Development Tools,Java Tools...