Migration Solutions for ColdFusion Applications to ASP.NET
      
New Atlanta Product Forums Profile | Search | Login | RSS
New Topic Reply   Previous Page  Page: 1   Next Page

Thread: 6.0.0.2_39 ServletExec60.jar compilation error
Created on: 07/23/13 08:34 AM Replies: 2
JoshP


Joined: 07/23/13
Posts: 8
6.0.0.2_39 ServletExec60.jar compilation error
07/23/13 8:34 AM

Hi New Atlanta and other Gurus,

-background-
I am new to my company and was asked to get a SiteMinder Installation working that uses New Atlanta's Servlet Exec. I found that the install was a base and we would need to upgrade as our OS is windows 2008 R2 and Web Server is IIS 7.5

I applied the 6.0.0.2_39 patch (renamed the "ServletExec_Adapter.dll" to "ServletExec_Adapter.original.dll" and copied over the 64 bit adapter update, and moved the following to sub folders denoting the move and copied over the new ones for "ServletExec60.jar" "ServletExecAdmin.jar" and "StopServletExec.class")

After this the default test servlets "DateServlet" and "TestServlet" started functioning.

-problem-

However now, instead of a web server 404 on the jsp i get the following on a basic header dumping page:

Error getting compiled page

error: error reading D:\New Atlanta\ServletExec AS\lib\ServletExec60.jar; cannot read zip file

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:8: error: package com.newatlanta.servletexec does not exist

import com.newatlanta.servletexec.JspFragment;

^

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:9: error: package com.newatlanta.servletexec does not exist

import com.newatlanta.servletexec.JspHttpJspPage;

^

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:10: error: package com.newatlanta.servletexec does not exist

import com.newatlanta.servletexec.JspServlet;

^

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:11: error: package com.newatlanta.servletexec.el does not exist

import com.newatlanta.servletexec.el.FunctionMapperImpl;

^

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:12: error: package com.newatlanta.servletexec does not exist

import com.newatlanta.servletexec.JspFunctionMapperParam;

^

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:13: error: package com.newatlanta.servletexec does not exist

import com.newatlanta.servletexec.JspFileDependencies;

^

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:14: error: package com.newatlanta.servletexec does not exist

import com.newatlanta.servletexec.JspFileDependency;

^

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:20: error: cannot find symbol

public final class _dump_headers_xjsp extends JspHttpJspPage

^

symbol: class JspHttpJspPage

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:22: error: cannot find symbol

private FunctionMapperImpl jsp_na_func_mapper = new FunctionMapperImpl(

^

symbol: class FunctionMapperImpl

location: class _dump_headers_xjsp

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:22: error: cannot find symbol

private FunctionMapperImpl jsp_na_func_mapper = new FunctionMapperImpl(

^

symbol: class FunctionMapperImpl

location: class _dump_headers_xjsp

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:23: error: cannot find symbol

new JspFunctionMapperParam[] {

^

symbol: class JspFunctionMapperParam

location: class _dump_headers_xjsp

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:31: error: method getPageContext in class JspFactory cannot be applied to given types;

PageContext pageContext = na_jsp_factory.getPageContext( this, request, response, "null", true, 8, true );

^

required: Servlet,ServletRequest,ServletResponse,String,boolean,int,boolean

found: _dump_headers_xjsp,HttpServletRequest,HttpServletResponse,String,boolean,int,boolean

reason: actual argument _dump_headers_xjsp cannot be converted to Servlet by method invocation conversion

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:34: error: incompatible types

Object page = this;

^

required: Object

found: _dump_headers_xjsp

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:41: error: package com.newatlanta.servletexec.el does not exist

javax.el.ELContext elContext = new com.newatlanta.servletexec.el.ELContextWrapper(pageContext.getELContext(), jsp_na_func_mapper);

^

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:132: error: cannot find symbol

   e = getServletConfig().getInitParameterNames();

    ^

symbol: method getServletConfig()

location: class _dump_headers_xjsp

D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java:139: error: cannot find symbol

         String val = getServletConfig().getInitParameter(k);

          ^

symbol: method getServletConfig()

location: class _dump_headers_xjsp

Note: D:\New Atlanta\ServletExec AS\se-msf1vstm07s\ServletExecData\default\default-app\pagecompile\_siteminderagent\_redirectjsp\_dump_headers_xjsp.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

17 errors


i know enough about programing to understand that if i fix this "error: error reading D:\New Atlanta\ServletExec AS\lib\ServletExec60.jar; cannot read zip file" the rest should correct as they are probably in the package.

How can I verify I have the right ServletExec60.jar?
What permissions are necessary?

I see it runs as "Local Service" as does the World Wide Web Publishing...any hints would be appreciated
Link | Top | Bottom
JoshP


Joined: 07/23/13
Posts: 8
RE: 6.0.0.2_39 ServletExec60.jar compilation error
07/23/13 10:36 AM

both the working and non working server have identical paths...

NETE_WA_PATH=
D:\CA\webagent\win64\bin;
D:\CA\webagent\win64\bin\thirdparty;
C:\Program Files\Java\jdk1.7.0_09\jre\bin;
C:\Program Files\Java\jdk1.7.0_09\jre\bin\server

PATH=
%NETE_WA_PATH%;
D:\CA\webagent\win32\bin;
D:\CA\webagent\win64\bin;
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
C:\Program Files\Microsoft\Web Platform Installer\;
%systemroot%\System32\WindowsPowerShell\v1.0\;
%systemroot%\System32\WindowsPowerShell\v1.0\
Link | Top | Bottom
JoshP


Joined: 07/23/13
Posts: 8
RE: 6.0.0.2_39 ServletExec60.jar compilation error
07/24/13 9:40 AM

As it turns out, the file size showed something was off. reapplying with the correct sizes has fixed the issue.

good:
ServletExec60.jar - 957 kb
ServletExecAdmin.jar - 412 kb
Link | Top | Bottom

New Post
Please login to post a response.


company media information terms of use privacy policy contact us
This page was dynamically built on the BlueDragon CFML Engine