Problem in Servlet Compilation & Deployment

Hi Friends,
I have problem regarding Servlet Compilation & Deployment.
At the time of compilation gives error message "import javax.servlet.* is not a recognize package.
My J2ee Server gives FATAL Error it says it should be work on JDK1.2 or later.
My JDK is :-j2sdk1.4.2_04
MY J2EE Server is:-j2sdkee1.2.1
My Servlet Runner is:-JSDK2.0
My Java Enviorment is:- Version 1.5.0 (build 1.5.0_04-b05)
Path setting is:-
Class Path=C:\j2sdk1.4.2_04\lib;C:\j2sdkee1.2.1\lib\j2ee.jar;C:\JSDK2.0\lib
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=DCL-04
ComSpec=C:\WINNT\system32\cmd.exe
Please help me and give the desired result as soon as you all can
Your's Harish
Thanks

At the time of compilation gives error message "import javax.servlet.* is not a recognize package.You have to include servlet.jar or j2ee.jar in the classpath when compiling.
My JDK is :-j2sdk1.4.2_04
My Java Enviorment is:- Version 1.5.0 (build 1.5.0_04-b05)Why are the versions of your JDK and Java runtime environment different? Why are you not using Java 5 to compile and run everything?
Class Path=C:\j2sdk1.4.2_04\lib;C:\j2sdkee1.2.1\lib\j2ee.jar;C:\JSDK2.0\libIf this is an environment variable, it should be "classpath", not "Class Path" with a space in between.

Similar Messages

  • Problem in servlet compilation

    I explain the full senario:
    I have JavaWebServer1.1.3 installed on my PC. In the servlets directory I have created a folder named exam' and inside it another subfolder 'html' . In html folder all java files contain ' package html' as the top line. I have compiled all the files inside this folder successfully with all classfiles in the same folder. in exam folder all the java files contain 'package exam' & 'include exam.html' as the top two lines. The java files in this folder contains object of classses defined in html folder files. But when i compile the files here a error message comes ' cannot resolve symbol 'Xxx' where xxx is class defines in java files of html folder.
    why i am getting this error????

    copile ur classes with
    \exam> javac -d . html\*.java
    and skip include java.html

  • Servlet Compilation Problem !

    Hi,
    I am just starting to learn servlets and I got problem in compiling them. I got compilation error in
    import javax.servlet.*;statement. Seems that the compiler cannot find the servlet package. I got J2EE 1.4 beta installed on my machine but there is no servlet.jar package. I am using J2SDK 1.4.1_02, J2EE 1.4 beta and Tomcat 4.1.24.
    Can anyone help me with my servlet compilation problem?
    Thanks in advance!
    Josh

    servlet.jar is here :
    <tomcatdir>\common\lib
    add it to your compiler classpath

  • Getting Servlet Exception while accessing servlets after deployment

    Hi,
    Iam getting a Servlet Exception while accessing servlets after deploying into weblogic 8.1
    Error 500--Internal Server Error
    javax.servlet.ServletException: [HTTP:101249][ServletContext(id=9599010,name=MyWeb,context-path=)]: Servlet class LoginServlet for servlet LoginServlet could not be loaded because the requested class was not found in the classpath F:\bea\weblogic81\samples\domains\examples\MyWeb\WEB-INF\classes;F:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_MyWeb_MyWeb.
    java.lang.UnsupportedClassVersionError: LoginServlet (Unsupported major.minor version 49.0).
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:834)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    My Folder Structureis like this,
    F:\bea\weblogic81\samples\domains\examples\MyWeb
    MyWeb is the projectName
    F:\bea\weblogic81\samples\domains\examples\MyWeb\WEB-INF
    Inside WEB-INF, i have web.xml and weblogic.xml, and classes directory with servlet classes.
    Any help will be appreciated.
    Thanx in advance.
    Regards
    Ram

    Hi,
    Thanks for the reply.
    Yes you are correct, i compiled using jdk1.5.
    but my servlet code will not compile in jdk1.4 version since i used advanced vaector classes in that.
    Is there any settings like script file that need to be changed so that i can point to my jdk1.5 compiler rather than the default one pointed by weblogic.
    Thanks in advance
    Ram

  • SERVLET COMPILATION ERRO

    HI everyone,
    i get a very weird compilation error when trying to compile any servlet in a J2SDK v 1.4.2_03.
    It is a very weird error and i only get it when i try to compile servlets on a machine that uses WIN2000 Server OS. I have a different machine that uses WINXP and the same version JSDK and i have never encountered such an error at compilation time.
    The error i get is:
    ViewServlet.java:1 : package javax.servlet does not exist
    import javax.servlet.*;
    I do import this package though. What do you think might be the problem???

    Duffymo is right. If the error message is "ViewServlet.java:1 : package javax.servlet does not exist" then it is a classpath problem with the compiler.
    It may be that you have CLASSPATH set on your old machine, and not on this one, causing it to fail.
    You need to add a jar file with the javax.servlet.* classes into your classpath - preferably using the command line switch if compiling via javac.
    One version of this file is distributed with Tomcat and is found in TOMCAT_HOME/common/lib/servlet.jar
    Also, from Java1.4 onwards, Tomcat has trouble finding servlets that are in the "default" package (ie not in a package) As a matter of course, all your java classes should now be in a package.
    http://developer.java.sun.com/developer/bugParade/bugs/4361575.html
    Hope this helps,
    evnafets

  • Problem on Query from deployed application WEBLOGIC 11g

    HI all, i got an application developed on Jdeveloper 11g when i run in the Integrated weblogic server it runs perfect querying all the data.
    but my problem is when i deployed on Web Logic Server 11gR1 it doesn't query anything of my Oracle 10G database what's wrong????
    The deployment is correct and i can access my aplication on the browser, my webservices are java based but i don't think thats a mistake
    below is the log presented on the screen Start Admin Server:
    Error capaMedia.jsp HTTP transport error: java.net.ConnectException: Tried all:
    '1' addresses, but could not connect over HTTP to server: 'localhost', port: '71
    01'com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.ne
    t.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to
    server: 'localhost', port: '7101'
    at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(Ht
    tpClientTransport.java:138)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTr
    ansportPipe.java:187)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest
    (HttpTransportPipe.java:124)
    at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(Deferre
    dTransportPipe.java:121)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
    at com.sun.xml.ws.client.Stub.process(Stub.java:272)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
    java:115)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
    java:95)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
    at $Proxy88.cargarSelectEspecifico(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(Client
    InstanceInvocationHandler.java:84)
    at $Proxy89.cargarSelectEspecifico(Unknown Source)
    at jsp_servlet.__capamedia.capaMedia(__capamedia.java:77)
    at jsp_servlet.__capamedia._jspService(__capamedia.java:181)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:300)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(Servlet
    StubImpl.java:416)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:326)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:183)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.wrapRun(WebAppServletContext.java:3717)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.net.ConnectException: Tried all: '1' addresses, but could not co
    nnect over HTTP to server: 'localhost', port: '7101'
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:333)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:425)
    at weblogic.net.http.HttpClient.New(HttpClient.java:252)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:18
    9)
    at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(Ht
    tpClientTransport.java:136)
    ... 37 more
    com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.C
    onnectException: Tried all: '1' addresses, but could not connect over HTTP to se
    rver: 'localhost', port: '7101'
    at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(Ht
    tpClientTransport.java:138)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTr
    ansportPipe.java:187)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest
    (HttpTransportPipe.java:124)
    at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(Deferre
    dTransportPipe.java:121)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:866)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:815)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:778)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:680)
    at com.sun.xml.ws.client.Stub.process(Stub.java:272)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:153)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
    java:115)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
    java:95)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
    at $Proxy87.cargarSelectEspecifico(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(Client
    InstanceInvocationHandler.java:84)
    at $Proxy89.cargarSelectEspecifico(Unknown Source)
    at jsp_servlet.__capamedia.capaMedia(__capamedia.java:77)
    at jsp_servlet.__capamedia._jspService(__capamedia.java:181)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:300)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(Servlet
    StubImpl.java:416)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:326)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:183)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.wrapRun(WebAppServletContext.java:3717)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.net.ConnectException: Tried all: '1' addresses, but could not co
    nnect over HTTP to server: 'localhost', port: '7101'
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:333)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:425)
    at weblogic.net.http.HttpClient.New(HttpClient.java:252)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:18
    9)
    at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(Ht
    tpClientTransport.java:136)
    ... 37 more
    thanks your help any light will be apreciated
    Thanks for your time!!!
    Edited by: user3095203 on 24-mar-2011 12:50

    capaMedia.jsp
    HTTP transport error: java.net.ConnectException: Tried all:
    '1' addresses, but could not connect over HTTP to server: *'localhost', port: '7101*
    I believe when you are deploying the application through the Jdev on the Integrated Server , the server is running on the same machine with the address and port as : localhost and 7101.
    However when you are using the same application to deploy on Web Logic Server 11gR1 which is not integrated server, then you much check what is the hostname and port of the Server from the config.xml file and make change in the capaMedia.jsp accordingly.
    thanks,
    Sandeep

  • Problems in GP Transport - Deployment of SDA

    Hi,
    I am facing problems when I am deploying the SDA file which I have created for GP.   The first time I deployed the SDA file, it was showing me the objects inside a folder and I was able to release them. But on subsequent deployment, I was just getting the folder name in the Design time, and nothing inside that. I mean the folder was empty. I tried deploying the SDA file after deleting the folder from Design Time and Undeploying the previously deployed SDA file. But nothing works as I am getting an empty folder always.
    Hope someone will have an answer
    Cheers
    Madhu

    When a same SDA file is going to be deployed in GP, make sure the folders are removed from the Deleted Items folder as well.

  • Problem with a compiled program

    Hello,
    I have a problem with a compiled program on labview 6i.
    This program used a serial port (COM1 or COM2).
    During the launching of the ".exe ", a fatal error occurs.
    Here this error:
    => APPLICATION caused an invalid page fault in
    => module LVRT.DLL at 0167:30164426.
    Can somebody help me?
    Regards
    Cedric

    Cedric,
    This problem was fixed in the LabVIEW 6.0.2 update. You can download this update (along with the updated runtime engine) from our website.
    Good luck with your application, and have a pleasant day.
    Sincerely,
    Darren N.
    NI Applications Engineer
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Image reading problem in servlet

    Image reading problem in servlet
    I am reading an image in servlet and writing it to ServletOutputStream
    The following code works fine unless I change the size of the byte array (for increasing download speed) from 8 to something like 128 or any other higher value
    If I change the value of byte array size the image does not get downloaded properly, I mean the quality of the image changes, it does not looks like the original imageURL url = new URL("http://www.mysite.com/images/img1.jpg");
    URLConnection con = url.openConnection();
    con.setUseCaches(false);
    BufferedInputStream in = new BufferedInputStream(con.getInputStream());
    BufferedOutputStream out = new BufferedOutputStream(response.getOutputStream());
    byte b[] = new byte[8];
    while(in.read(b) != -1)
         out.write(b);
         out.flush();               
    out.close();
    in.close();what do I change
    byte array size
    or use the constructor of BufferedInputStream with 2 parameter
    or use the constructor of BufferedOutputStream with 2 parameter
    or use flush outside while loop or what else

    Change your while loop to:
    int count;
    while((count = in.read(b)) != -1)
         out.write(b, 0, count);
         out.flush();               
    }The penultimate time read is called, it may not fill the entire byte array. You only want to write out however much was read into the array.
    For better performance, you should move the flush() outside of the loop too. BufferedOutputStream will flush automatically when its internal buffer is full.

  • Odd Problem With MDT 2012 Deployment

    Disclaimer:  I'm an MDT n00b and barely know how to do anything other than the basics.
    The odd problem:  Computers that I deploy Windows 7 to using MDT will NOT (after deployement is complete) pass credentials to our proxy (Smoothwall - NTLM Authentication) and cannot not access the internet.  It doesn't matter the flavor of Windows
    7: 32bit/64bit or Pro/Ultimate same result.  Does this on an unpatched machine with only IE8 or a fully patched machine with IE9.  I've diddled all the security and connection settings in IE that I know to diddle with the same result. And it's not
    just an IE problem.  It does it with Firefox, too.  Now getting to intranet sites is no problem... this is strictly an internet proxy authentication issue.
    Now... why am I asking the MDT forum about this?  Because I can load Windows 7 the old fashioned way with a DVD made from the same ISO that I used when setting up MDT and it works fine. 
    So  MDT must be doing something differently when deploying Win 7.  As a side note, when I deploy Windows 8 using MDT we do not have this issue. Maybe Microsoft just wants me to upgrade? :)
    Everything else about the computer seems quite normal.  No undetected drivers.  Windows activates normally.  I can join the domain either during or after the process.  Install applications automatically.  I mean the whole MDT process
    seems to be working great otherwise. 
    Help?  Please?

    Yes, I found a way to undo this in my environment without needing to reimage all of the computers. 
    There are two problems:
    1. GP items in the Administrative Template were modified.
    2. GP items in the Security section were modified.
    Problem 1
    To address problem #1 delete the folder "%SystemRoot%\System32\GroupPolicy":
    rd /s /q "%SystemRoot%\System32\GroupPolicy"
    Problem 2
    To address problem #2, it gets a little more complicated since there is no easy way to "revert" to the default in Win7.  The only workaround is to import new settings.  To accomplish this, I ran the following from a FRESHLY installed non-domain
    joined computer that did not have the local GPO pack applied:
    secedit /export /cfg secConf.inf
    Then on the "bad" system that had the local GPO applied, I ran:
    secedit /configure /db secedit.sdb /cfg secConf.inf /overwrite /quiet
    I also found that I needed to delete the following keys since they did not exist on my safe/good image:
    reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableCAD" /f
    reg delete "HKLM\System\CurrentControlSet\Control\Lsa" /v "LmCompatibilityLevel" /f
    reg delete "HKLM\System\CurrentControlSet\Control\Lsa" /v "SCENoApplyLegacyAuditPolicy" /f
    And for some reason (and this was not consistent), I also found that I needed to delete the following on some systems:
    reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /f
    Full Solution
    Here is everything I ran against my "bad" systems that were domain joined in production use:
    Batch File
    rd /s /q "%SystemRoot%\System32\GroupPolicy"
    secedit /configure /db secedit.sdb /cfg "%~dp0SecurityPolicies-Defaults.inf" /overwrite /quiet
    reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableCAD" /f
    reg delete "HKLM\System\CurrentControlSet\Control\Lsa" /v "LmCompatibilityLevel" /f
    reg delete "HKLM\System\CurrentControlSet\Control\Lsa" /v "SCENoApplyLegacyAuditPolicy" /f
    reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /f
    SecurityPolicies-Defaults.inf
    [Unicode]
    Unicode=yes
    [System Access]
    MinimumPasswordAge = 0
    MaximumPasswordAge = 42
    MinimumPasswordLength = 0
    PasswordComplexity = 0
    PasswordHistorySize = 0
    LockoutBadCount = 0
    RequireLogonToChangePassword = 0
    ForceLogoffWhenHourExpire = 0
    NewAdministratorName = "Administrator"
    NewGuestName = "Guest"
    ClearTextPassword = 0
    LSAAnonymousNameLookup = 0
    EnableAdminAccount = 1
    EnableGuestAccount = 0
    [Event Audit]
    AuditSystemEvents = 0
    AuditLogonEvents = 0
    AuditObjectAccess = 0
    AuditPrivilegeUse = 0
    AuditPolicyChange = 0
    AuditAccountManage = 0
    AuditProcessTracking = 0
    AuditDSAccess = 0
    AuditAccountLogon = 0
    [Registry Values]
    MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole\SecurityLevel=4,0
    MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Setup\RecoveryConsole\SetCommand=4,0
    MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\CachedLogonsCount=1,"10"
    MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\ForceUnlockLogon=4,0
    MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\PasswordExpiryWarning=4,5
    MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\ScRemoveOption=1,"0"
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin=4,5
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorUser=4,3
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\DontDisplayLastUserName=4,0
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableInstallerDetection=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableSecureUIAPaths=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableUIADesktopToggle=4,0
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableVirtualization=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\FilterAdministratorToken=4,0
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\LegalNoticeCaption=1,""
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\LegalNoticeText=7,
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\PromptOnSecureDesktop=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\ScForceOption=4,0
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\ShutdownWithoutLogon=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\UndockWithoutLogon=4,1
    MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\ValidateAdminCodeSignatures=4,0
    MACHINE\Software\Policies\Microsoft\Windows\Safer\CodeIdentifiers\AuthenticodeEnabled=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\AuditBaseObjects=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\CrashOnAuditFail=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\DisableDomainCreds=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\EveryoneIncludesAnonymous=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy\Enabled=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\ForceGuest=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\FullPrivilegeAuditing=3,0
    MACHINE\System\CurrentControlSet\Control\Lsa\LimitBlankPasswordUse=4,1
    MACHINE\System\CurrentControlSet\Control\Lsa\MSV1_0\NTLMMinClientSec=4,536870912
    MACHINE\System\CurrentControlSet\Control\Lsa\MSV1_0\NTLMMinServerSec=4,536870912
    MACHINE\System\CurrentControlSet\Control\Lsa\NoLMHash=4,1
    MACHINE\System\CurrentControlSet\Control\Lsa\RestrictAnonymous=4,0
    MACHINE\System\CurrentControlSet\Control\Lsa\RestrictAnonymousSAM=4,1
    MACHINE\System\CurrentControlSet\Control\Print\Providers\LanMan Print Services\Servers\AddPrinterDrivers=4,0
    MACHINE\System\CurrentControlSet\Control\SecurePipeServers\Winreg\AllowedExactPaths\Machine=7,System\CurrentControlSet\Control\ProductOptions,System\CurrentControlSet\Control\Server Applications,Software\Microsoft\Windows NT\CurrentVersion
    MACHINE\System\CurrentControlSet\Control\SecurePipeServers\Winreg\AllowedPaths\Machine=7,System\CurrentControlSet\Control\Print\Printers,System\CurrentControlSet\Services\Eventlog,Software\Microsoft\OLAP Server,Software\Microsoft\Windows NT\CurrentVersion\Print,Software\Microsoft\Windows NT\CurrentVersion\Windows,System\CurrentControlSet\Control\ContentIndex,System\CurrentControlSet\Control\Terminal Server,System\CurrentControlSet\Control\Terminal Server\UserConfig,System\CurrentControlSet\Control\Terminal Server\DefaultUserConfiguration,Software\Microsoft\Windows NT\CurrentVersion\Perflib,System\CurrentControlSet\Services\SysmonLog
    MACHINE\System\CurrentControlSet\Control\Session Manager\Kernel\ObCaseInsensitive=4,1
    MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management\ClearPageFileAtShutdown=4,0
    MACHINE\System\CurrentControlSet\Control\Session Manager\ProtectionMode=4,1
    MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\optional=7,Posix
    MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\AutoDisconnect=4,15
    MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\EnableForcedLogOff=4,1
    MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\EnableSecuritySignature=4,0
    MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\NullSessionPipes=7,
    MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\RequireSecuritySignature=4,0
    MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters\RestrictNullSessAccess=4,1
    MACHINE\System\CurrentControlSet\Services\LanmanWorkstation\Parameters\EnablePlainTextPassword=4,0
    MACHINE\System\CurrentControlSet\Services\LanmanWorkstation\Parameters\EnableSecuritySignature=4,1
    MACHINE\System\CurrentControlSet\Services\LanmanWorkstation\Parameters\RequireSecuritySignature=4,0
    MACHINE\System\CurrentControlSet\Services\LDAP\LDAPClientIntegrity=4,1
    MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters\DisablePasswordChange=4,0
    MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters\MaximumPasswordAge=4,30
    MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters\RequireSignOrSeal=4,1
    MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters\RequireStrongKey=4,1
    MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters\SealSecureChannel=4,1
    MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters\SignSecureChannel=4,1
    [Privilege Rights]
    SeNetworkLogonRight = *S-1-1-0,*S-1-5-32-544,*S-1-5-32-545,*S-1-5-32-551
    SeBackupPrivilege = *S-1-5-32-544,*S-1-5-32-551
    SeChangeNotifyPrivilege = *S-1-1-0,*S-1-5-19,*S-1-5-20,*S-1-5-32-544,*S-1-5-32-545,*S-1-5-32-551
    SeSystemtimePrivilege = *S-1-5-19,*S-1-5-32-544
    SeCreatePagefilePrivilege = *S-1-5-32-544
    SeDebugPrivilege = *S-1-5-32-544
    SeRemoteShutdownPrivilege = *S-1-5-32-544
    SeAuditPrivilege = *S-1-5-19,*S-1-5-20
    SeIncreaseQuotaPrivilege = *S-1-5-19,*S-1-5-20,*S-1-5-32-544
    SeIncreaseBasePriorityPrivilege = *S-1-5-32-544
    SeLoadDriverPrivilege = *S-1-5-32-544
    SeBatchLogonRight = *S-1-5-32-544,*S-1-5-32-551,*S-1-5-32-559
    SeServiceLogonRight = *S-1-5-80-0
    SeInteractiveLogonRight = Guest,*S-1-5-32-544,*S-1-5-32-545,*S-1-5-32-551
    SeSecurityPrivilege = *S-1-5-32-544
    SeSystemEnvironmentPrivilege = *S-1-5-32-544
    SeProfileSingleProcessPrivilege = *S-1-5-32-544
    SeSystemProfilePrivilege = *S-1-5-32-544,*S-1-5-80-3139157870-2983391045-3678747466-658725712-1809340420
    SeAssignPrimaryTokenPrivilege = *S-1-5-19,*S-1-5-20
    SeRestorePrivilege = *S-1-5-32-544,*S-1-5-32-551
    SeShutdownPrivilege = *S-1-5-32-544,*S-1-5-32-545,*S-1-5-32-551
    SeTakeOwnershipPrivilege = *S-1-5-32-544
    SeDenyNetworkLogonRight = Guest
    SeDenyBatchLogonRight =
    SeDenyInteractiveLogonRight = Guest
    SeUndockPrivilege = *S-1-5-32-544,*S-1-5-32-545
    SeManageVolumePrivilege = *S-1-5-32-544
    SeRemoteInteractiveLogonRight = *S-1-5-32-544,*S-1-5-32-555
    SeImpersonatePrivilege = *S-1-5-19,*S-1-5-20,*S-1-5-32-544,*S-1-5-6
    SeCreateGlobalPrivilege = *S-1-5-19,*S-1-5-20,*S-1-5-32-544,*S-1-5-6
    SeIncreaseWorkingSetPrivilege = *S-1-5-32-545
    SeTimeZonePrivilege = *S-1-5-19,*S-1-5-32-544,*S-1-5-32-545
    SeCreateSymbolicLinkPrivilege = *S-1-5-32-544
    [Version]
    signature="$CHICAGO$"
    Revision=1
    Thanks to Darren Mar-Elia for leading me in the right direction with this.
    Good luck!

  • What is the plugin used for jsp/servlet development , deployment in eclipse

    what is the plugin used for jsp/servlet development , deployment in eclipse?
    can some body tell me what are the other plugins to be used in enterprise java developement
    is eclipse would be a best choice j2ee application development?
    thanks

    what is the plugin used for jsp/servlet development ,
    deployment in eclipse?There are several J2EE plugins I think. One is Lomboz.
    can some body tell me what are the other plugins to
    be used in enterprise java developementPfft...
    1) Might depend on what you're doing. J2EE is not just JSP, you know?
    2) Why do you ask about Eclipse IDE at Sun's Java Programming forum?
    3) Do you really want me to list the 5000 plug-ins someone might use for J2EE-related development?
    4) Open fucking Google and search yourself
    is eclipse would be a best choice j2ee application
    development?IMO: no. Simply because you have to look for J2EE plugins. I'm too lazy for that. Though it has other benefits that might outweigh the plug-in-searching issue.

  • Problems trying to "hot-deploy" class files in iPlanet. Want to deploy a compiled class (i.e. servlet, jsp) without having to bounce the server. Known issue in iPlanet? How can I get around?

    Currently iPlanet is not allowing us to hot deploy a modified class file(i.e., servlet) as it advertises. It doesn't seem to have a problem with jsp's however. But everytime we modify a servlet(say in an emergency), and wish to deploy, we still have to bounce the KJS. We would like to avoid this if possible. How? I heard this might be a known issue in iPlanet.

    I apologize but this is a clarification of this problem. We are having a problem dynamically reloading java classes that are referenced by jsp's and servlets. The problem DOES NOT exist when trying to reload jsps or servlets themselves. We would like to reload these classes without having to restart the processes. Any thoughts would be helpful. Thanks.

  • Problems loading Servlet in WAR deployment

    I'm deploying a servlet using a war file. I am able to deploy the war under
              both WebLogic 6.0 sp2 and WebLogic 6.1 beta. However, when I try to access
              the servlet from a browser I get the following error:
              [java] <Aug 7, 2001 2:49:13 PM CDT> <Error> <HTTP>
              <[WebAppServletContext(1
              287677,Alert-weblogic60,/Alert-weblogic60)] Error loading servlet:
              'AlertEventLi
              stenerServlet'
              [java] java.lang.NoClassDefFoundError: org/apache/log4j/Category
              [java] at
              com.agea.alert.servlet.AlertEventListenerServlet.<init>(Alert
              EventListenerServlet.java:25)
              [java] at java.lang.Class.newInstance0(Native Method)
              [java] at java.lang.Class.newInstance(Class.java:237)
              [java] at
              weblogic.servlet.internal.ServletStubImpl.createServlet(Servl
              etStubImpl.java:641)
              [java] at
              weblogic.servlet.internal.ServletStubImpl.createInstances(Ser
              vletStubImpl.java:619)
              [java] at
              weblogic.servlet.internal.ServletStubImpl.prepareServlet(Serv
              letStubImpl.java:564)
              [java] at
              weblogic.servlet.internal.ServletStubImpl.getServlet(ServletS
              tubImpl.java:344)
              [java] at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servl
              etStubImpl.java:240)
              [java] at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servl
              etStubImpl.java:200)
              [java] at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(
              WebAppServletContext.java:2279)
              [java] at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletR
              equestImpl.java:1923)
              [java] at
              weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              [java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              [java] >
              Obviously the problem is that the servlet can't load the
              org.apache.log4j.Category class. However, I have included the log4j.jar
              file (which contains the org.apache.log4j.Category class) in the war under
              WEB-INF/lib. Why isn't the classloader picking it up?
              Thanks for the help,
              Tim
              

    Did you make sure that:
              org/apache/log4j/Category
              is in the server's classpath?
              "Timothy O'Hara" <[email protected]> wrote in message
              news:[email protected]...
              > I'm deploying a servlet using a war file. I am able to deploy the war
              under
              > both WebLogic 6.0 sp2 and WebLogic 6.1 beta. However, when I try to
              access
              > the servlet from a browser I get the following error:
              >
              > [java] <Aug 7, 2001 2:49:13 PM CDT> <Error> <HTTP>
              > <[WebAppServletContext(1
              > 287677,Alert-weblogic60,/Alert-weblogic60)] Error loading servlet:
              > 'AlertEventLi
              > stenerServlet'
              > [java] java.lang.NoClassDefFoundError: org/apache/log4j/Category
              > [java] at
              > com.agea.alert.servlet.AlertEventListenerServlet.<init>(Alert
              > EventListenerServlet.java:25)
              > [java] at java.lang.Class.newInstance0(Native Method)
              > [java] at java.lang.Class.newInstance(Class.java:237)
              > [java] at
              > weblogic.servlet.internal.ServletStubImpl.createServlet(Servl
              > etStubImpl.java:641)
              > [java] at
              > weblogic.servlet.internal.ServletStubImpl.createInstances(Ser
              > vletStubImpl.java:619)
              > [java] at
              > weblogic.servlet.internal.ServletStubImpl.prepareServlet(Serv
              > letStubImpl.java:564)
              > [java] at
              > weblogic.servlet.internal.ServletStubImpl.getServlet(ServletS
              > tubImpl.java:344)
              > [java] at
              > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servl
              > etStubImpl.java:240)
              > [java] at
              > weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servl
              > etStubImpl.java:200)
              > [java] at
              > weblogic.servlet.internal.WebAppServletContext.invokeServlet(
              > WebAppServletContext.java:2279)
              > [java] at
              > weblogic.servlet.internal.ServletRequestImpl.execute(ServletR
              > equestImpl.java:1923)
              > [java] at
              > weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              >
              > [java] at
              weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              > [java] >
              >
              > Obviously the problem is that the servlet can't load the
              > org.apache.log4j.Category class. However, I have included the log4j.jar
              > file (which contains the org.apache.log4j.Category class) in the war under
              > WEB-INF/lib. Why isn't the classloader picking it up?
              >
              > Thanks for the help,
              > Tim
              >
              >
              

  • JSP and Servlet compilation problem

    I am getting strange errors whilst compiling this simple-tag class for JSP. I know I need to install the Java Servlet API.
    I have been to the sun website and downloaded something called:
    JavaTM Technology & Web Services
    Java Web Services Developer Pack Download
    It was an .exe program, it found my installation of j2se (or jdk).
    Is there anything else I need to do? Or have I downloaded the wrong file?
    Here is the class:
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class SimpleTag extends javac.seervlet.jsp.tagext.TagSupport
    public int doStartTag() throws JspExcption
         try
    pageContext.getOut().print("Welcome to my Web site.");
    catch (Exception e)
    throw new JspTagExcpetion(e.getMessage() );
    return SKIP_BODY;
    Here is the errors:
    public class SimpleTag extends javac.seervlet.jsp.tagext.TagSupport
    ^
    SimpleTag.java:6: cannot resolve symbol
    symbol : class JspExcption
    location: class SimpleTag
    public int doStartTag() throws JspExcption
    ^
    SimpleTag.java:10: cannot resolve symbol
    symbol : variable pageContext
    location: class SimpleTag
    pageContext.getOut().print("Welcome to my Web site.");
    ^
    SimpleTag.java:14: cannot resolve symbol
    symbol : class JspTagExcpetion
    location: class SimpleTag
    throw new JspTagExcpetion(e.getMessage() );
    ^
    SimpleTag.java:16: cannot resolve symbol
    symbol : variable SKIP_BODY
    location: class SimpleTag
    return SKIP_BODY;
    ^
    7 errors

    Okay I have made the changes but still gives me the same error message for servlets.
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class SimpleTag extends javax.servlet.jsp.tagext.TagSupport
    public int doStartTag() throws JspException
         try
    pageContext.getOut().print("Welcome to my Web site.");
    catch (Exception e)
    throw new JspTagException(e.getMessage() );
    return SKIP_BODY;
    Still get the same errors:
    public class SimpleTag extends javax.servlet.jsp.tagext.TagSupp
    ^
    SimpleTag.java:6: cannot resolve symbol
    symbol : class JspException
    location: class SimpleTag
    public int doStartTag() throws JspException
    ^
    SimpleTag.java:10: cannot resolve symbol
    symbol : variable pageContext
    location: class SimpleTag
    pageContext.getOut().print("Welcome to my Web site."
    ^
    SimpleTag.java:14: cannot resolve symbol
    symbol : class JspTagException
    location: class SimpleTag
    throw new JspTagException(e.getMessage() );
    ^
    SimpleTag.java:16: cannot resolve symbol
    symbol : variable SKIP_BODY
    location: class SimpleTag
    return SKIP_BODY;
    ^
    7 errors

  • Servlet Compile problem

    I am trying to compile a java servlet in a Win2000 prof
    My home drive is d:\, because I have another drive c:\, that has Win95.
    I recently downloaded JDK1.3.1_02 and J2EE1.3.1. I followed the instructions carefully. My env are
    J2EE_HOME=d:\j2sdkee1.3.1
    JAVA_HOME=d:\jdk1.3.1_02
    PATH=D:\WINNT\system32;D:\WINNT;D:\WINNT\System32\Wbem;d:\jdk1.3.1_02\bin;d:\j2sdkee1.3.1\bin;d:\j2sdkee1.3.1\lib;
    (I am aware that lib is not required here in the PATH)
    I am able to compile a simple java program. However I am not able to compile the following servlet program. I am getting the error
    package javax.servlet does not exist
    import javax.servlet.*;
    and few more errors(which is basically related to the non-availability of the package)
    Please help me and thanks for your time.
    The complete source code is
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class Courses extends HttpServlet {
         public void doPost(HttpServletRequest req, HttpServletResponse resp)
              throws ServletException, java.io.IOException {
    resp.setContentType("text/html");
    java.io.PrintWriter out = resp.getWriter();
    out.println("<html><head>");
    out.println("<title> Trident </Title></head>");
    String values[];
    values = req.getParameterValues("Name");
    String name = " ";
    if (values != null) {
    name = values[0];
    else {
    name = "Friend";
    out.println("<b> Dear " + name+",here are the course details </b>");
         out.println("</html>");
         out.flush();

    I am trying to compile a java servlet in a Win2000 prof using jdk 1.4.0 and I got the same message - javax.servlet does not exist.
    I have apache tomat 4.0 installed on my machine and my classpath is
    .;d:\jtest;c:\Program_Files\Apache_Tomcat_4.0\common\lib\servlet.jar;c:\s2jdk1.4.0_01\bin;
    I compile the servlet program in d:\jtest\HelloServlet.java:
    javac -classpath c:\program_files\apache_tomcat4.0\common\lib\servlet.jar HelloServlet.java
    I am not sure why I got the javax.servlet does not exist message.
    Can you help?
    Thanks.

Maybe you are looking for