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 83989 - nb5.5, can not run any java code on sun app server
Summary: nb5.5, can not run any java code on sun app server
Status: RESOLVED INVALID
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 5.x
Hardware: Other Windows XP
: P1 blocker (vote)
Assignee: nbbuild-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-01 04:04 UTC by rksk
Modified: 2006-09-01 17:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rksk 2006-09-01 04:04:19 UTC
I downloaded netbeans 5.5 created two sample web projects one on Tomcat and the
other one on Sun app server, i am having a simple hello java code and a database
 connection java code both works fine when i deploy the website with Tomcat and
i cannnot able to run any java code when i deploy in Sun app server.

The following is the error message i am getting, it is really driving me
nuts,can any one help ASAP please


org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
    [javac]
C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\SampleWebApp\org\apache\jsp\TableResults_jsp.java:7:
package java.naming does not exist
    [javac] import java.naming.*;
    [javac] ^


Generated servlet error:
    [javac]
C:\Sun\AppServer\domains\domain1\generated\jsp\j2ee-modules\SampleWebApp\org\apache\jsp\TableResults_jsp.java:86:
cannot find symbol
    [javac] symbol  : class InitialContext
    [javac] location: class org.apache.jsp.TableResults_jsp
    [javac]                InitialContext ctx = new InitialContext();
    [javac]                ^
Comment 1 Jesse Glick 2006-09-01 17:09:53 UTC
"javax.naming" not "java.naming".

Please use nbusers@netbeans.org for questions about using the IDE to develop
applications unless you are reasonably confident you are seeing a specific IDE
bug, in which case provide steps to reproduce from scratch.

Also please do not use the component 'nbbuild'. Use 'ide' if unsure which
component to file a new bug under.