users@glassfish.java.net

JSF project will not deploy to app server on solaris

From: <glassfish_at_javadesktop.org>
Date: Wed, 30 May 2007 15:13:05 PDT

I have created a very simple Visual JSF application using netbeans 5.5 with the visual net pack installed. I built the application, but when I try and deploy it I get the following exception:

StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
java.io.IOException: error=22, Invalid argument
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
        at java.lang.Runtime.exec(Runtime.java:593)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)
        at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:470)
        at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:47)
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
        at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:428)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:528)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:507)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
        at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:530)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:412)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:318)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
        at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:850)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:697)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:532)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:465)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:353)
        at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:413)
        at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:480)
        at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:125)
        at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
        at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
        at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:203)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
        at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
        at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
        at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
        at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
        at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
        at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
        at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
        at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
        at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)


looks like the app server can not compile the jsps? here are my system details:

Solaris 10 on x64
Java 6
Netbeans 5.5 + visual web pack
SJSAP 9.01

I also get an error when I try and deploy on a different machine, I bet this second one has more do to with the beta status of this app server, but right now I can't deploy a visual JSF app on solaris :(
Solaris 10 on sparc9
Java 5
Sun Java System Application Server 9.1 (build b41d-beta2)

[#|2007-05-30T18:07:09.058-0400|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID =22;_ThreadName=Thread-62;_RequestID=c91f82cd-b1ee-4b30-adaa-7096fca8fb20;|Exception occured in J2EEC Phas e
com.sun.enterprise.deployment.backend.IASDeploymentException: JSP Compilation Error: org.apache.jasper.Jas perException: file:/opt/glassfish/domains/domain1/applications/j2ee-modules/LucasJordanMain/Page1.jsp(5,60 ) PWC6341: According to the TLD, deferred-value is specified for the attribute id of the tag handler com.s un.webui.jsf.component.PageTag, but the argument for the setter method is not a javax.el.ValueExpression - - file:/opt/glassfish/domains/domain1/applications/j2ee-modules/LucasJordanMain/Page1.jsp(5,60) PWC6341: A ccording to the TLD, deferred-value is specified for the attribute id of the tag handler com.sun.webui.jsf .component.PageTag, but the argument for the setter method is not a javax.el.ValueExpression
        at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:49)
        at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:344)
        at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:172)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.checkSetter(Validator.java:1036)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1099)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:821)
        at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1469)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2244)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2294)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:841)
        at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1469)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2244)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2294)
        at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:506)
        at org.apache.jasper.compiler.Node$JspRoot.accept(Node.java:545)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2244)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2294)
        at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2300)
        at org.apache.jasper.compiler.Node$Root.accept(Node.java:468)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2244)
        at org.apache.jasper.compiler.Validator.validate(Validator.java:1824)
        at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:180)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:387)
        at org.apache.jasper.JspC.processFile(JspC.java:1137)
        at org.apache.jasper.JspC.execute(JspC.java:1306)
        at com.sun.enterprise.deployment.backend.JSPCompiler.compile(JSPCompiler.java:97)
        at com.sun.enterprise.deployment.backend.WebModuleDeployer.deploy(WebModuleDeployer.java:190)
        at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:166)
        at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:174)
        at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.jav a:892)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
        at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:761)
        at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
        at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)
|#]




Thanks for any and all help!
-Lucas
[Message sent by forum member 'lucasjordan' (lucasjordan)]

http://forums.java.net/jive/thread.jspa?messageID=219549