WAR installed - TransportError
15 posts
• Page 1 of 1
WAR installed - TransportError
Hello all,
I'm experiencing some trouble in getting a WAR to work.
The WAR is from https://www.activetree.com/.
The goal: being able to print PDF files silently (without user interaction) from a web page.
The trail WAR can be downloaded (after registration) for free (trail).
Deployment:
- web application (under the default web site)
- Application pool runs with credentials that have full control on the file system folder for the WAR.
web.config:
Navigation to a test URL
Results in an error:
The zoo error log shows:
All help would be appreciated
I really have no clue how to troubleshoot or resolve this issue
I'm experiencing some trouble in getting a WAR to work.
The WAR is from https://www.activetree.com/.
The goal: being able to print PDF files silently (without user interaction) from a web page.
The trail WAR can be downloaded (after registration) for free (trail).
Deployment:
- web application (under the default web site)
- Application pool runs with credentials that have full control on the file system folder for the WAR.
web.config:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<heliconZoo>
<application name="jetty.project" >
<environmentVariables>
<add name="WAR_FILE" value="smartjprint_browser_2.5_05_trial.war" />
</environmentVariables>
</application>
</heliconZoo>
<handlers>
<add name="jetty.project#x86" scriptProcessor="java.jetty"
path="*" verb="*" modules="HeliconZoo_x86"
preCondition="bitness32" resourceType="Unspecified"
requireAccess="Script" />
<add name="jetty.project#x64" scriptProcessor="java.jetty"
path="*" verb="*" modules="HeliconZoo_x64"
preCondition="bitness64" resourceType="Unspecified"
requireAccess="Script" />
</handlers>
</system.webServer>
</configuration>
Navigation to a test URL
- Code: Select all
https://localhost/SilentPrint/view_pdf.asp?DOCUMENT=[http://www.activetree.com/silent_print_pdf_from_browser/demo/sample_pdf/sample1.pdf]
Results in an error:
- Code: Select all
Helicon Zoo module has caught up an error. Please see the details below.
Worker Status
Windows error
The operation completed successfully. (ERROR CODE: 0)
Internal module error
message: Can't connect to a child process. type: ZooException file: TcpTransport.cpp line: 109 version: 1.1.56.262
STDERR
Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
The zoo error log shows:
- Code: Select all
TransportError: Can't connect to a child process.
All help would be appreciated
I really have no clue how to troubleshoot or resolve this issue
Re: WAR installed - TransportError
Some more info:
- installed "Java hosting package" following the guide at http://www.helicontech.com/articles/deploying-java-servlet-applications-on-windows-with-iis/
- first error when navigating to the test url was a 404 from jetty. This was fixed after installing JDK 6 (and a reboot).
- installed "Java hosting package" following the guide at http://www.helicontech.com/articles/deploying-java-servlet-applications-on-windows-with-iis/
- first error when navigating to the test url was a 404 from jetty. This was fixed after installing JDK 6 (and a reboot).
Re: WAR installed - TransportError
Hello!
Thank you for feedback!
We currently work on new implementation of IIS & Java integration. This work requires some time and we will try to fix your issue in this new version as well.
Please stay tuned.
Thank you for feedback!
We currently work on new implementation of IIS & Java integration. This work requires some time and we will try to fix your issue in this new version as well.
Please stay tuned.
- stinklyonion
- Posts: 9
- Joined: 10 Oct 2012, 00:15
Re: WAR installed - TransportError
Does it matter where do you actually get your WAR. I am always getting 404 error.
Re: WAR installed - TransportError
New versions of Helicon Zoo Module and Java Hosting Packages are available in beta feed now. Since these changes are significant, we made these versions available through beta feed for now.
These new versions should resolve current issues with Java applications.
Installation instructions:
1. Run Web Platform Installer and click Options.
2. Remove current Helicon Zoo feed (http://www.helicontech.com/zoo/feed/)
3. Add Helicon Zoo beta feed (http://www.helicontech.com/zoo/feed-beta/)
4. Install Java Hosting Package - your current installations will be upgraded. You need to install Oracle JDK first, as Oracle prohibit direct downloading of Java packages so it can't be included into repository.
Please report your results here.
These new versions should resolve current issues with Java applications.
Installation instructions:
1. Run Web Platform Installer and click Options.
2. Remove current Helicon Zoo feed (http://www.helicontech.com/zoo/feed/)
3. Add Helicon Zoo beta feed (http://www.helicontech.com/zoo/feed-beta/)
4. Install Java Hosting Package - your current installations will be upgraded. You need to install Oracle JDK first, as Oracle prohibit direct downloading of Java packages so it can't be included into repository.
Please report your results here.
Re: WAR installed - TransportError
Hi everybody:
I tested the Heliocon Zoo beta to prove the java servelt whit iis, before, with the previous version i had the same error that jjeferson user. Now, the iss don´t show me this error, but now show me:
"500 Error"
Helicon Zoo module has caught up an error. Please see the details below.
Windows error
The system cannot find the path specified. (ERROR CODE: 3)
Internal module error
message: Can't open '%JDK_HOME%\bin\java.exe' file
type: ZooException
file: WinApi.cpp
line: 334 version: 1.2.59.273
For more details, i installed the JDK from Heliocon Zoo, and registered it in the "Path" of windows, also install the futures like .NET Framework 3.5, ASP.NET over iis. I use a example with .war extension, it contains jsp files. Therefore i don´t have idea for this error if i have installed all the necessary.
I tested the Heliocon Zoo beta to prove the java servelt whit iis, before, with the previous version i had the same error that jjeferson user. Now, the iss don´t show me this error, but now show me:
"500 Error"
Helicon Zoo module has caught up an error. Please see the details below.
Windows error
The system cannot find the path specified. (ERROR CODE: 3)
Internal module error
message: Can't open '%JDK_HOME%\bin\java.exe' file
type: ZooException
file: WinApi.cpp
line: 334 version: 1.2.59.273
For more details, i installed the JDK from Heliocon Zoo, and registered it in the "Path" of windows, also install the futures like .NET Framework 3.5, ASP.NET over iis. I use a example with .war extension, it contains jsp files. Therefore i don´t have idea for this error if i have installed all the necessary.
Re: WAR installed - TransportError
Hello!
You must do iisreset in order for new variables to get into IIS process after installation. We will overcome this requirement in next version of Helicon Zoo Module.
You must do iisreset in order for new variables to get into IIS process after installation. We will overcome this requirement in next version of Helicon Zoo Module.
Re: WAR installed - TransportError
Hi again !!
Thanks for your answer, is the same do the iisreset after all instalations components?
And sorry for my ignorance, but, can i use .jar files with this aplication? because i try it, and i dont had success
Thanks for your answer, is the same do the iisreset after all instalations components?
And sorry for my ignorance, but, can i use .jar files with this aplication? because i try it, and i dont had success
Re: WAR installed - TransportError
Hello.
No, only Java Hosting Package installation requires iisreset. We will include it into installation process so you don't need to call it manually anymore.
Sorry, forgot to mention, you need to use different engine for jsp/jar files. The engine name is "java.appdir" and it defines web site as a directory with Java files.
The "java.jetty" engine is currently only for single WAR file web sites.
Here is an example of web.config:
After that you can put JSP/JAR files and WEB_INF filder directly into the web site root.
Notice the commented out CONTEXTS_DIR variable. This variable can be used to specify directory with additional Jetty contexts, so you can create more contexts and load multiple WAR files or other applications within a single web site.
No, only Java Hosting Package installation requires iisreset. We will include it into installation process so you don't need to call it manually anymore.
Sorry, forgot to mention, you need to use different engine for jsp/jar files. The engine name is "java.appdir" and it defines web site as a directory with Java files.
The "java.jetty" engine is currently only for single WAR file web sites.
Here is an example of web.config:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<heliconZoo>
<application name="java.project">
<environmentVariables>
<add name="CONTEXT_PATH" value="%APPL_VIRTUAL_PATH%/" />
<!-- <add name="CONTEXTS_DIR" value="%APPL_PHYSICAL_PATH%/contexts" /> -->
<add name="ERROR_LOG_DIR" value="logs" />
</environmentVariables>
</application>
</heliconZoo>
<handlers>
<add name="java.project#x86" scriptProcessor="java.appdir" path="*" verb="*"
modules="HeliconZoo_x86" preCondition="bitness32" resourceType="Unspecified" requireAccess="Script" />
<add name="java.project#x64" scriptProcessor="java.appdir" path="*" verb="*"
modules="HeliconZoo_x64" preCondition="bitness64" resourceType="Unspecified" requireAccess="Script" />
</handlers>
</system.webServer>
</configuration>
After that you can put JSP/JAR files and WEB_INF filder directly into the web site root.
Notice the commented out CONTEXTS_DIR variable. This variable can be used to specify directory with additional Jetty contexts, so you can create more contexts and load multiple WAR files or other applications within a single web site.
- jjefferson
- Posts: 4
- Joined: 11 Oct 2012, 03:08
Re: WAR installed - TransportError
I updated to the beta version and I now receive this
HTTP ERROR: 503
Problem accessing /directory. Reason:
Service Unavailable
--------------------------------------------------------------------------------
Powered by Jetty://
Below is my web.config file:
Any ideas what could be causing this?
The only thing I haven't done at this point since installing java jdk and the beta version is reboot the server.
HTTP ERROR: 503
Problem accessing /directory. Reason:
Service Unavailable
--------------------------------------------------------------------------------
Powered by Jetty://
Below is my web.config file:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<heliconZoo>
<application name="jetty.project">
<environmentVariables>
<!-- Uncomment line below if you want to set contexts directory -->
<!-- <add name="CONTEXTS_DIR" value="%APPL_VIRTUAL_PATH%" /> -->
<!-- Optional variables: -->
<add name="CONTEXT_PATH" value="/directory" />
<!-- <add name="WAR_EXTRACT_PATH" value="%APPL_PHYSICAL_PATH%" /> -->
<!-- A WAR file or start directory to run -->
<add name="WAR_FILE" value="warfile.war" />
</environmentVariables>
</application>
</heliconZoo>
<handlers>
<add name="jetty.project#x86" scriptProcessor="java.jetty" path="*" verb="*" modules="HeliconZoo_x86" preCondition="bitness32" resourceType="Unspecified" requireAccess="Script" />
<add name="jetty.project#x64" scriptProcessor="java.jetty" path="*" verb="*" modules="HeliconZoo_x64" preCondition="bitness64" resourceType="Unspecified" requireAccess="Script" />
</handlers>
<defaultDocument>
<files>
<add value="index.jsp" />
</files>
</defaultDocument>
</system.webServer>
</configuration>
Any ideas what could be causing this?
The only thing I haven't done at this point since installing java jdk and the beta version is reboot the server.
Re: WAR installed - TransportError
You need to set your WAR file. Check the line in the web.config:
<!-- A WAR file or start directory to run -->
<add name="WAR_FILE" value="warfile.war" />
This need to be set to your real WAR file name.
<!-- A WAR file or start directory to run -->
<add name="WAR_FILE" value="warfile.war" />
This need to be set to your real WAR file name.
- jjefferson
- Posts: 4
- Joined: 11 Oct 2012, 03:08
Re: WAR installed - TransportError
I do have the correct war file referenced here. I just was masking it with fake name in this post
- jjefferson
- Posts: 4
- Joined: 11 Oct 2012, 03:08
Re: WAR installed - TransportError
I had forgot to give proper permission to the application directory. all works now.
Re: WAR installed - TransportError
This is one of the commens error which peoples face in daily usage. Thanks for helping me in fixing this issue. Best Waist Trainer
- civicshop4fun
- Posts: 1
- Joined: 25 Jan 2018, 06:46
- Location: United Kingdom
Re: WAR installed - TransportError
This is one of the commas issues which peoples facing everyday.
Thanks for helping me in fixing this issue. Regardless by http://shop4fun.online
Thanks for helping me in fixing this issue. Regardless by http://shop4fun.online
15 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests