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.

Bug 159946 - Unable to execute ServletStaless Sample
Summary: Unable to execute ServletStaless Sample
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-09 22:59 UTC by davisn
Modified: 2009-03-17 08:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messsges.log (55.82 KB, text/plain)
2009-03-09 23:00 UTC, davisn
Details
server.log (35.37 KB, text/plain)
2009-03-09 23:00 UTC, davisn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2009-03-09 22:59:47 UTC
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
Comment 1 davisn 2009-03-09 23:00:14 UTC
Created attachment 77940 [details]
messsges.log
Comment 2 davisn 2009-03-09 23:00:55 UTC
Created attachment 77941 [details]
server.log
Comment 3 Vince Kraemer 2009-03-09 23:44:50 UTC
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?
Comment 4 davisn 2009-03-10 00:54:05 UTC
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
Comment 5 Vince Kraemer 2009-03-10 02:46:49 UTC
opened https://glassfish.dev.java.net/issues/show_bug.cgi?id=7287 to track this on the server side...
Comment 6 Vince Kraemer 2009-03-14 07:16:12 UTC
http://hg.netbeans.org/web-main/rev/37176da1fa99
Comment 7 Quality Engineering 2009-03-17 08:45:46 UTC
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