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.
java.io.IOException oocurs when deploy/execute the sample Steps To Reproduce: 1. Install NB 6.7 Trunk (03/09/2009) build 2. Enable JavaEE 3. Register V3 server by donwload it 4. Create New Project, select Samples > Java EE > Servlet Stateless 5. Change server runtime to GlassFish V3 6. Run the project BUG: The project failed to run and exception occurs both the server.log and messages.log files SEVERE: loader.ejbclassloader_bad_url_entry SEVERE: loader.ejbclassloader_malformed_url java.io.IOException at com.sun.enterprise.loader.EJBClassLoader$URLEntry.init(EJBClassLoader.java:894) at com.sun.enterprise.loader.EJBClassLoader.appendURL(EJBClassLoader.java:252) at com.sun.enterprise.loader.EJBClassLoader.addURL(EJBClassLoader.java:231) at com.sun.enterprise.deploy.jar.JarHandler.getClassLoader(JarHandler.java:71) at org.glassfish.javaee.core.deployment.EarHandler.getClassLoader(EarHandler.java:189) at org.glassfish.deployment.common.DeploymentContextImpl.createClassLoaders(DeploymentContextImpl.java:167) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:210) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:175) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:248) at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:303) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:313) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:445) at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:132) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:291) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:173) at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:165) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:207) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:659) at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:577) at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:829) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:162) at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.URISyntaxException: Illegal character in path at index 18: file:/E:/Documents and Settings/Administrator/GlassFish_v3/glassfish/domains/domain1/generated/ejb/ServletStateless/ServletStateless-ejb_jar at java.net.URI$Parser.fail(URI.java:2809) at java.net.URI$Parser.checkChars(URI.java:2982) at java.net.URI$Parser.parseHierarchical(URI.java:3066) at java.net.URI$Parser.parse(URI.java:3014) at java.net.URI.<init>(URI.java:578) at java.net.URL.toURI(URL.java:918) at com.sun.enterprise.loader.EJBClassLoader$URLEntry.init(EJBClassLoader.java:884) ... 31 more SEVERE: loader.ejbclassloader_bad_url_entry SEVERE: loader.ejbclassloader_malformed_url
Created attachment 77940 [details] messsges.log
Created attachment 77941 [details] server.log
do you run into this exception if you try to archive deploy the app using asadmin? do you run into this exception if you try to directory deploy the app using asadmin?
When I deploy the application from asadmin command, the command returns the "deploy executed successfully" message; but when I check the server.log file I saw the same exception likes I deployed from the NB IDE
opened https://glassfish.dev.java.net/issues/show_bug.cgi?id=7287 to track this on the server side...
http://hg.netbeans.org/web-main/rev/37176da1fa99
Integrated into 'main-golden', will be available in build *200903170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/37176da1fa99 User: vince kraemer <vkraemer@netbeans.org> Log: #159946: ServletStateless doesn't run