You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "HR (JIRA)" <ji...@apache.org> on 2008/02/12 19:45:39 UTC

[jira] Created: (STR-3133) javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)

javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
-------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: STR-3133
                 URL: https://issues.apache.org/struts/browse/STR-3133
             Project: Struts 1
          Issue Type: Temp
    Affects Versions: 1.3.8
         Environment: Resin 3.1.3 + Java 5 + Struts 1.3.8
            Reporter: HR


Recently I have upgraded from Struts 1.1 to Struts 1.3.8. I get the following exception during server-startup.( when I run Resin 3.1.3 -with out internet access).

My Server starts successfully without any Struts issues if I've internet access.

I checked for all the DTDs/XSDs & TLD files which have 'java.sun.com' as part of the URI.

Currently I have the following TLD/DTD files  presentunder  \resin-pro-3.1.3\webapps\<my-app>\WEB-INF\tld

    permittedTaglibs.tld
    fn.tld
    validator-rules_1_1.dtd
    x-1_0-rt.tld
    struts-bean.tld
    yoshida.tld
    web-app_2_3.dtd
    c.tld
    SUN_MICR.SF
    x-1_0.tld
    fmt.tld
    struts-nested.tld
    struts-config_1_0.dtd
    tiles-config_1_1.dtd
    c-1_0.tld
    sql-1_0-rt.tld
    fmt-1_0-rt.tld
    struts-html.tld
    struts-logic.tld
    taglibs-session.tld
    struts-html-el.tld
    x.tld
    tiles-config.dtd
    web-app_2_2.dtd
    struts-template.tld
    SUN_MICR.RSA
    sql.tld
    struts-form.tld
    taglibs-request.tld
    struts.tld
    scriptfree.tld
    validation_1_1.dtd
    struts-bean-el.tld
    c-1_0-rt.tld
    taglibs-log.tld
    struts-logic-el.tld
    pack.properties
    x-rt.tld
    struts-tiles.tld
    fmt-1_0.tld
    struts-config_1_1.dtd
    sql-1_0.tld
    MANIFEST.MF
    web-jsptaglibrary_2_0.xsd
    web-jsptaglibrary_1_1.dtd
    web-jsptaglibrary_1_2.dtd

I would like to know, which DTD/TLD/XSD file is causing ActionServlet-init to throw the following error.  Recently while googling... I read somewhere that the following 

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

has to be replaced  with SYSTEM etc?? 

I

Appreciate your help in getting rid of this exception.

Error Logs:


[06:00:12.609] javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com
[06:00:12.609]  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
[06:00:12.609]  at javax.servlet.GenericServlet.init(GenericServlet.java:70)
[06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:789)
[06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:716)
[06:00:12.609]  at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150)
[06:00:12.609]  at com.caucho.server.webapp.WebApp.start(WebApp.java:1800)
[06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
[06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
[06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
[06:00:12.609]  at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:675)
[06:00:12.609]  at com.caucho.server.host.Host.start(Host.java:437)
[06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
[06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
[06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
[06:00:12.609]  at com.caucho.server.host.HostContainer.start(HostContainer.java:479)
[06:00:12.609]  at com.caucho.server.cluster.Server.start(Server.java:1151)
[06:00:12.609]  at com.caucho.server.cluster.Cluster.startServer(Cluster.java:719)
[06:00:12.609]  at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:455)
[06:00:12.609]  at com.caucho.server.resin.Resin.start(Resin.java:694)
[06:00:12.609]  at com.caucho.server.resin.Resin.initMain(Resin.java:1114)
[06:00:12.609]  at com.caucho.server.resin.Resin.main(Resin.java:1316)

Thanks!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (STR-3133) javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)

Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43191#action_43191 ] 

Dave Newton commented on STR-3133:
----------------------------------

Please ask questions on the struts-user list; JIRA is for bug reports.

> javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: STR-3133
>                 URL: https://issues.apache.org/struts/browse/STR-3133
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Apps
>    Affects Versions: 1.3.8
>         Environment: Resin 3.1.3 + Java 5 + Struts 1.3.8
>            Reporter: HR
>
> Recently I have upgraded from Struts 1.1 to Struts 1.3.8. I get the following exception during server-startup.( when I run Resin 3.1.3 -with out internet access).
> My Server starts successfully without any Struts issues if I've internet access.
> I checked for all the DTDs/XSDs & TLD files which have 'java.sun.com' as part of the URI.
> Currently I have the following TLD/DTD files  presentunder  \resin-pro-3.1.3\webapps\<my-app>\WEB-INF\tld
>     permittedTaglibs.tld
>     fn.tld
>     validator-rules_1_1.dtd
>     x-1_0-rt.tld
>     struts-bean.tld
>     yoshida.tld
>     web-app_2_3.dtd
>     c.tld
>     SUN_MICR.SF
>     x-1_0.tld
>     fmt.tld
>     struts-nested.tld
>     struts-config_1_0.dtd
>     tiles-config_1_1.dtd
>     c-1_0.tld
>     sql-1_0-rt.tld
>     fmt-1_0-rt.tld
>     struts-html.tld
>     struts-logic.tld
>     taglibs-session.tld
>     struts-html-el.tld
>     x.tld
>     tiles-config.dtd
>     web-app_2_2.dtd
>     struts-template.tld
>     SUN_MICR.RSA
>     sql.tld
>     struts-form.tld
>     taglibs-request.tld
>     struts.tld
>     scriptfree.tld
>     validation_1_1.dtd
>     struts-bean-el.tld
>     c-1_0-rt.tld
>     taglibs-log.tld
>     struts-logic-el.tld
>     pack.properties
>     x-rt.tld
>     struts-tiles.tld
>     fmt-1_0.tld
>     struts-config_1_1.dtd
>     sql-1_0.tld
>     MANIFEST.MF
>     web-jsptaglibrary_2_0.xsd
>     web-jsptaglibrary_1_1.dtd
>     web-jsptaglibrary_1_2.dtd
> I would like to know, which DTD/TLD/XSD file is causing ActionServlet-init to throw the following error.  Recently while googling... I read somewhere that the following 
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
> has to be replaced  with SYSTEM etc?? 
> I
> Appreciate your help in getting rid of this exception.
> Error Logs:
> [06:00:12.609] javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com
> [06:00:12.609]  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> [06:00:12.609]  at javax.servlet.GenericServlet.init(GenericServlet.java:70)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:789)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:716)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150)
> [06:00:12.609]  at com.caucho.server.webapp.WebApp.start(WebApp.java:1800)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:675)
> [06:00:12.609]  at com.caucho.server.host.Host.start(Host.java:437)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.host.HostContainer.start(HostContainer.java:479)
> [06:00:12.609]  at com.caucho.server.cluster.Server.start(Server.java:1151)
> [06:00:12.609]  at com.caucho.server.cluster.Cluster.startServer(Cluster.java:719)
> [06:00:12.609]  at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:455)
> [06:00:12.609]  at com.caucho.server.resin.Resin.start(Resin.java:694)
> [06:00:12.609]  at com.caucho.server.resin.Resin.initMain(Resin.java:1114)
> [06:00:12.609]  at com.caucho.server.resin.Resin.main(Resin.java:1316)
> Thanks!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (STR-3133) javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)

Posted by "HR (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

HR reassigned STR-3133:
-----------------------

    Assignee: Scott Farquhar

> javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: STR-3133
>                 URL: https://issues.apache.org/struts/browse/STR-3133
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Apps
>    Affects Versions: 1.3.8
>         Environment: Resin 3.1.3 + Java 5 + Struts 1.3.8
>            Reporter: HR
>            Assignee: Scott Farquhar
>
> Recently I have upgraded from Struts 1.1 to Struts 1.3.8. I get the following exception during server-startup.( when I run Resin 3.1.3 -with out internet access).
> My Server starts successfully without any Struts issues if I've internet access.
> I checked for all the DTDs/XSDs & TLD files which have 'java.sun.com' as part of the URI.
> Currently I have the following TLD/DTD files  presentunder  \resin-pro-3.1.3\webapps\<my-app>\WEB-INF\tld
>     permittedTaglibs.tld
>     fn.tld
>     validator-rules_1_1.dtd
>     x-1_0-rt.tld
>     struts-bean.tld
>     yoshida.tld
>     web-app_2_3.dtd
>     c.tld
>     SUN_MICR.SF
>     x-1_0.tld
>     fmt.tld
>     struts-nested.tld
>     struts-config_1_0.dtd
>     tiles-config_1_1.dtd
>     c-1_0.tld
>     sql-1_0-rt.tld
>     fmt-1_0-rt.tld
>     struts-html.tld
>     struts-logic.tld
>     taglibs-session.tld
>     struts-html-el.tld
>     x.tld
>     tiles-config.dtd
>     web-app_2_2.dtd
>     struts-template.tld
>     SUN_MICR.RSA
>     sql.tld
>     struts-form.tld
>     taglibs-request.tld
>     struts.tld
>     scriptfree.tld
>     validation_1_1.dtd
>     struts-bean-el.tld
>     c-1_0-rt.tld
>     taglibs-log.tld
>     struts-logic-el.tld
>     pack.properties
>     x-rt.tld
>     struts-tiles.tld
>     fmt-1_0.tld
>     struts-config_1_1.dtd
>     sql-1_0.tld
>     MANIFEST.MF
>     web-jsptaglibrary_2_0.xsd
>     web-jsptaglibrary_1_1.dtd
>     web-jsptaglibrary_1_2.dtd
> I would like to know, which DTD/TLD/XSD file is causing ActionServlet-init to throw the following error.  Recently while googling... I read somewhere that the following 
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
> has to be replaced  with SYSTEM etc?? 
> I
> Appreciate your help in getting rid of this exception.
> Error Logs:
> [06:00:12.609] javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com
> [06:00:12.609]  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> [06:00:12.609]  at javax.servlet.GenericServlet.init(GenericServlet.java:70)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:789)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:716)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150)
> [06:00:12.609]  at com.caucho.server.webapp.WebApp.start(WebApp.java:1800)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:675)
> [06:00:12.609]  at com.caucho.server.host.Host.start(Host.java:437)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.host.HostContainer.start(HostContainer.java:479)
> [06:00:12.609]  at com.caucho.server.cluster.Server.start(Server.java:1151)
> [06:00:12.609]  at com.caucho.server.cluster.Cluster.startServer(Cluster.java:719)
> [06:00:12.609]  at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:455)
> [06:00:12.609]  at com.caucho.server.resin.Resin.start(Resin.java:694)
> [06:00:12.609]  at com.caucho.server.resin.Resin.initMain(Resin.java:1114)
> [06:00:12.609]  at com.caucho.server.resin.Resin.main(Resin.java:1316)
> Thanks!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (STR-3133) javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)

Posted by "HR (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

HR reassigned STR-3133:
-----------------------

    Assignee: Mark Woon  (was: Scott Farquhar)

> javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: STR-3133
>                 URL: https://issues.apache.org/struts/browse/STR-3133
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Apps
>    Affects Versions: 1.3.8
>         Environment: Resin 3.1.3 + Java 5 + Struts 1.3.8
>            Reporter: HR
>            Assignee: Mark Woon
>
> Recently I have upgraded from Struts 1.1 to Struts 1.3.8. I get the following exception during server-startup.( when I run Resin 3.1.3 -with out internet access).
> My Server starts successfully without any Struts issues if I've internet access.
> I checked for all the DTDs/XSDs & TLD files which have 'java.sun.com' as part of the URI.
> Currently I have the following TLD/DTD files  presentunder  \resin-pro-3.1.3\webapps\<my-app>\WEB-INF\tld
>     permittedTaglibs.tld
>     fn.tld
>     validator-rules_1_1.dtd
>     x-1_0-rt.tld
>     struts-bean.tld
>     yoshida.tld
>     web-app_2_3.dtd
>     c.tld
>     SUN_MICR.SF
>     x-1_0.tld
>     fmt.tld
>     struts-nested.tld
>     struts-config_1_0.dtd
>     tiles-config_1_1.dtd
>     c-1_0.tld
>     sql-1_0-rt.tld
>     fmt-1_0-rt.tld
>     struts-html.tld
>     struts-logic.tld
>     taglibs-session.tld
>     struts-html-el.tld
>     x.tld
>     tiles-config.dtd
>     web-app_2_2.dtd
>     struts-template.tld
>     SUN_MICR.RSA
>     sql.tld
>     struts-form.tld
>     taglibs-request.tld
>     struts.tld
>     scriptfree.tld
>     validation_1_1.dtd
>     struts-bean-el.tld
>     c-1_0-rt.tld
>     taglibs-log.tld
>     struts-logic-el.tld
>     pack.properties
>     x-rt.tld
>     struts-tiles.tld
>     fmt-1_0.tld
>     struts-config_1_1.dtd
>     sql-1_0.tld
>     MANIFEST.MF
>     web-jsptaglibrary_2_0.xsd
>     web-jsptaglibrary_1_1.dtd
>     web-jsptaglibrary_1_2.dtd
> I would like to know, which DTD/TLD/XSD file is causing ActionServlet-init to throw the following error.  Recently while googling... I read somewhere that the following 
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
> has to be replaced  with SYSTEM etc?? 
> I
> Appreciate your help in getting rid of this exception.
> Error Logs:
> [06:00:12.609] javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com
> [06:00:12.609]  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> [06:00:12.609]  at javax.servlet.GenericServlet.init(GenericServlet.java:70)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:789)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:716)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150)
> [06:00:12.609]  at com.caucho.server.webapp.WebApp.start(WebApp.java:1800)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:675)
> [06:00:12.609]  at com.caucho.server.host.Host.start(Host.java:437)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.host.HostContainer.start(HostContainer.java:479)
> [06:00:12.609]  at com.caucho.server.cluster.Server.start(Server.java:1151)
> [06:00:12.609]  at com.caucho.server.cluster.Cluster.startServer(Cluster.java:719)
> [06:00:12.609]  at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:455)
> [06:00:12.609]  at com.caucho.server.resin.Resin.start(Resin.java:694)
> [06:00:12.609]  at com.caucho.server.resin.Resin.initMain(Resin.java:1114)
> [06:00:12.609]  at com.caucho.server.resin.Resin.main(Resin.java:1316)
> Thanks!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (STR-3133) javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)

Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Newton closed STR-3133.
----------------------------

    Resolution: Not A Problem

Please stop randomly assigning people.

Closing issue; ask your question on the struts-user mailing list.

> javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: STR-3133
>                 URL: https://issues.apache.org/struts/browse/STR-3133
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Apps
>    Affects Versions: 1.3.8
>         Environment: Resin 3.1.3 + Java 5 + Struts 1.3.8
>            Reporter: HR
>            Assignee: Mark Woon
>
> Recently I have upgraded from Struts 1.1 to Struts 1.3.8. I get the following exception during server-startup.( when I run Resin 3.1.3 -with out internet access).
> My Server starts successfully without any Struts issues if I've internet access.
> I checked for all the DTDs/XSDs & TLD files which have 'java.sun.com' as part of the URI.
> Currently I have the following TLD/DTD files  presentunder  \resin-pro-3.1.3\webapps\<my-app>\WEB-INF\tld
>     permittedTaglibs.tld
>     fn.tld
>     validator-rules_1_1.dtd
>     x-1_0-rt.tld
>     struts-bean.tld
>     yoshida.tld
>     web-app_2_3.dtd
>     c.tld
>     SUN_MICR.SF
>     x-1_0.tld
>     fmt.tld
>     struts-nested.tld
>     struts-config_1_0.dtd
>     tiles-config_1_1.dtd
>     c-1_0.tld
>     sql-1_0-rt.tld
>     fmt-1_0-rt.tld
>     struts-html.tld
>     struts-logic.tld
>     taglibs-session.tld
>     struts-html-el.tld
>     x.tld
>     tiles-config.dtd
>     web-app_2_2.dtd
>     struts-template.tld
>     SUN_MICR.RSA
>     sql.tld
>     struts-form.tld
>     taglibs-request.tld
>     struts.tld
>     scriptfree.tld
>     validation_1_1.dtd
>     struts-bean-el.tld
>     c-1_0-rt.tld
>     taglibs-log.tld
>     struts-logic-el.tld
>     pack.properties
>     x-rt.tld
>     struts-tiles.tld
>     fmt-1_0.tld
>     struts-config_1_1.dtd
>     sql-1_0.tld
>     MANIFEST.MF
>     web-jsptaglibrary_2_0.xsd
>     web-jsptaglibrary_1_1.dtd
>     web-jsptaglibrary_1_2.dtd
> I would like to know, which DTD/TLD/XSD file is causing ActionServlet-init to throw the following error.  Recently while googling... I read somewhere that the following 
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
> has to be replaced  with SYSTEM etc?? 
> I
> Appreciate your help in getting rid of this exception.
> Error Logs:
> [06:00:12.609] javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com
> [06:00:12.609]  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> [06:00:12.609]  at javax.servlet.GenericServlet.init(GenericServlet.java:70)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:789)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:716)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150)
> [06:00:12.609]  at com.caucho.server.webapp.WebApp.start(WebApp.java:1800)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:675)
> [06:00:12.609]  at com.caucho.server.host.Host.start(Host.java:437)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.host.HostContainer.start(HostContainer.java:479)
> [06:00:12.609]  at com.caucho.server.cluster.Server.start(Server.java:1151)
> [06:00:12.609]  at com.caucho.server.cluster.Cluster.startServer(Cluster.java:719)
> [06:00:12.609]  at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:455)
> [06:00:12.609]  at com.caucho.server.resin.Resin.start(Resin.java:694)
> [06:00:12.609]  at com.caucho.server.resin.Resin.initMain(Resin.java:1114)
> [06:00:12.609]  at com.caucho.server.resin.Resin.main(Resin.java:1316)
> Thanks!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STR-3133) javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)

Posted by "HR (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

HR updated STR-3133:
--------------------

          Flags: [Important]
    Component/s: Apps

> javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: STR-3133
>                 URL: https://issues.apache.org/struts/browse/STR-3133
>             Project: Struts 1
>          Issue Type: Temp
>          Components: Apps
>    Affects Versions: 1.3.8
>         Environment: Resin 3.1.3 + Java 5 + Struts 1.3.8
>            Reporter: HR
>
> Recently I have upgraded from Struts 1.1 to Struts 1.3.8. I get the following exception during server-startup.( when I run Resin 3.1.3 -with out internet access).
> My Server starts successfully without any Struts issues if I've internet access.
> I checked for all the DTDs/XSDs & TLD files which have 'java.sun.com' as part of the URI.
> Currently I have the following TLD/DTD files  presentunder  \resin-pro-3.1.3\webapps\<my-app>\WEB-INF\tld
>     permittedTaglibs.tld
>     fn.tld
>     validator-rules_1_1.dtd
>     x-1_0-rt.tld
>     struts-bean.tld
>     yoshida.tld
>     web-app_2_3.dtd
>     c.tld
>     SUN_MICR.SF
>     x-1_0.tld
>     fmt.tld
>     struts-nested.tld
>     struts-config_1_0.dtd
>     tiles-config_1_1.dtd
>     c-1_0.tld
>     sql-1_0-rt.tld
>     fmt-1_0-rt.tld
>     struts-html.tld
>     struts-logic.tld
>     taglibs-session.tld
>     struts-html-el.tld
>     x.tld
>     tiles-config.dtd
>     web-app_2_2.dtd
>     struts-template.tld
>     SUN_MICR.RSA
>     sql.tld
>     struts-form.tld
>     taglibs-request.tld
>     struts.tld
>     scriptfree.tld
>     validation_1_1.dtd
>     struts-bean-el.tld
>     c-1_0-rt.tld
>     taglibs-log.tld
>     struts-logic-el.tld
>     pack.properties
>     x-rt.tld
>     struts-tiles.tld
>     fmt-1_0.tld
>     struts-config_1_1.dtd
>     sql-1_0.tld
>     MANIFEST.MF
>     web-jsptaglibrary_2_0.xsd
>     web-jsptaglibrary_1_1.dtd
>     web-jsptaglibrary_1_2.dtd
> I would like to know, which DTD/TLD/XSD file is causing ActionServlet-init to throw the following error.  Recently while googling... I read somewhere that the following 
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
> has to be replaced  with SYSTEM etc?? 
> I
> Appreciate your help in getting rid of this exception.
> Error Logs:
> [06:00:12.609] javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com
> [06:00:12.609]  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> [06:00:12.609]  at javax.servlet.GenericServlet.init(GenericServlet.java:70)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:789)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:716)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150)
> [06:00:12.609]  at com.caucho.server.webapp.WebApp.start(WebApp.java:1800)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:675)
> [06:00:12.609]  at com.caucho.server.host.Host.start(Host.java:437)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.host.HostContainer.start(HostContainer.java:479)
> [06:00:12.609]  at com.caucho.server.cluster.Server.start(Server.java:1151)
> [06:00:12.609]  at com.caucho.server.cluster.Cluster.startServer(Cluster.java:719)
> [06:00:12.609]  at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:455)
> [06:00:12.609]  at com.caucho.server.resin.Resin.start(Resin.java:694)
> [06:00:12.609]  at com.caucho.server.resin.Resin.initMain(Resin.java:1114)
> [06:00:12.609]  at com.caucho.server.resin.Resin.main(Resin.java:1316)
> Thanks!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (STR-3133) javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)

Posted by "HR (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

HR updated STR-3133:
--------------------

    Issue Type: Bug  (was: Temp)

> javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: STR-3133
>                 URL: https://issues.apache.org/struts/browse/STR-3133
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Apps
>    Affects Versions: 1.3.8
>         Environment: Resin 3.1.3 + Java 5 + Struts 1.3.8
>            Reporter: HR
>
> Recently I have upgraded from Struts 1.1 to Struts 1.3.8. I get the following exception during server-startup.( when I run Resin 3.1.3 -with out internet access).
> My Server starts successfully without any Struts issues if I've internet access.
> I checked for all the DTDs/XSDs & TLD files which have 'java.sun.com' as part of the URI.
> Currently I have the following TLD/DTD files  presentunder  \resin-pro-3.1.3\webapps\<my-app>\WEB-INF\tld
>     permittedTaglibs.tld
>     fn.tld
>     validator-rules_1_1.dtd
>     x-1_0-rt.tld
>     struts-bean.tld
>     yoshida.tld
>     web-app_2_3.dtd
>     c.tld
>     SUN_MICR.SF
>     x-1_0.tld
>     fmt.tld
>     struts-nested.tld
>     struts-config_1_0.dtd
>     tiles-config_1_1.dtd
>     c-1_0.tld
>     sql-1_0-rt.tld
>     fmt-1_0-rt.tld
>     struts-html.tld
>     struts-logic.tld
>     taglibs-session.tld
>     struts-html-el.tld
>     x.tld
>     tiles-config.dtd
>     web-app_2_2.dtd
>     struts-template.tld
>     SUN_MICR.RSA
>     sql.tld
>     struts-form.tld
>     taglibs-request.tld
>     struts.tld
>     scriptfree.tld
>     validation_1_1.dtd
>     struts-bean-el.tld
>     c-1_0-rt.tld
>     taglibs-log.tld
>     struts-logic-el.tld
>     pack.properties
>     x-rt.tld
>     struts-tiles.tld
>     fmt-1_0.tld
>     struts-config_1_1.dtd
>     sql-1_0.tld
>     MANIFEST.MF
>     web-jsptaglibrary_2_0.xsd
>     web-jsptaglibrary_1_1.dtd
>     web-jsptaglibrary_1_2.dtd
> I would like to know, which DTD/TLD/XSD file is causing ActionServlet-init to throw the following error.  Recently while googling... I read somewhere that the following 
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
> has to be replaced  with SYSTEM etc?? 
> I
> Appreciate your help in getting rid of this exception.
> Error Logs:
> [06:00:12.609] javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com
> [06:00:12.609]  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> [06:00:12.609]  at javax.servlet.GenericServlet.init(GenericServlet.java:70)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:789)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:716)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150)
> [06:00:12.609]  at com.caucho.server.webapp.WebApp.start(WebApp.java:1800)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:675)
> [06:00:12.609]  at com.caucho.server.host.Host.start(Host.java:437)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.host.HostContainer.start(HostContainer.java:479)
> [06:00:12.609]  at com.caucho.server.cluster.Server.start(Server.java:1151)
> [06:00:12.609]  at com.caucho.server.cluster.Cluster.startServer(Cluster.java:719)
> [06:00:12.609]  at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:455)
> [06:00:12.609]  at com.caucho.server.resin.Resin.start(Resin.java:694)
> [06:00:12.609]  at com.caucho.server.resin.Resin.initMain(Resin.java:1114)
> [06:00:12.609]  at com.caucho.server.resin.Resin.main(Resin.java:1316)
> Thanks!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (STR-3133) javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)

Posted by "Dave Newton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/STR-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43191#action_43191 ] 

newton_dave edited comment on STR-3133 at 2/12/08 10:54 AM:
------------------------------------------------------------

Please ask questions on the struts-user list; JIRA is for Struts bug reports.

      was (Author: newton_dave):
    Please ask questions on the struts-user list; JIRA is for bug reports.
  
> javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: STR-3133
>                 URL: https://issues.apache.org/struts/browse/STR-3133
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Apps
>    Affects Versions: 1.3.8
>         Environment: Resin 3.1.3 + Java 5 + Struts 1.3.8
>            Reporter: HR
>
> Recently I have upgraded from Struts 1.1 to Struts 1.3.8. I get the following exception during server-startup.( when I run Resin 3.1.3 -with out internet access).
> My Server starts successfully without any Struts issues if I've internet access.
> I checked for all the DTDs/XSDs & TLD files which have 'java.sun.com' as part of the URI.
> Currently I have the following TLD/DTD files  presentunder  \resin-pro-3.1.3\webapps\<my-app>\WEB-INF\tld
>     permittedTaglibs.tld
>     fn.tld
>     validator-rules_1_1.dtd
>     x-1_0-rt.tld
>     struts-bean.tld
>     yoshida.tld
>     web-app_2_3.dtd
>     c.tld
>     SUN_MICR.SF
>     x-1_0.tld
>     fmt.tld
>     struts-nested.tld
>     struts-config_1_0.dtd
>     tiles-config_1_1.dtd
>     c-1_0.tld
>     sql-1_0-rt.tld
>     fmt-1_0-rt.tld
>     struts-html.tld
>     struts-logic.tld
>     taglibs-session.tld
>     struts-html-el.tld
>     x.tld
>     tiles-config.dtd
>     web-app_2_2.dtd
>     struts-template.tld
>     SUN_MICR.RSA
>     sql.tld
>     struts-form.tld
>     taglibs-request.tld
>     struts.tld
>     scriptfree.tld
>     validation_1_1.dtd
>     struts-bean-el.tld
>     c-1_0-rt.tld
>     taglibs-log.tld
>     struts-logic-el.tld
>     pack.properties
>     x-rt.tld
>     struts-tiles.tld
>     fmt-1_0.tld
>     struts-config_1_1.dtd
>     sql-1_0.tld
>     MANIFEST.MF
>     web-jsptaglibrary_2_0.xsd
>     web-jsptaglibrary_1_1.dtd
>     web-jsptaglibrary_1_2.dtd
> I would like to know, which DTD/TLD/XSD file is causing ActionServlet-init to throw the following error.  Recently while googling... I read somewhere that the following 
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
> has to be replaced  with SYSTEM etc?? 
> I
> Appreciate your help in getting rid of this exception.
> Error Logs:
> [06:00:12.609] javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com
> [06:00:12.609]  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> [06:00:12.609]  at javax.servlet.GenericServlet.init(GenericServlet.java:70)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:789)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:716)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150)
> [06:00:12.609]  at com.caucho.server.webapp.WebApp.start(WebApp.java:1800)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:675)
> [06:00:12.609]  at com.caucho.server.host.Host.start(Host.java:437)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.host.HostContainer.start(HostContainer.java:479)
> [06:00:12.609]  at com.caucho.server.cluster.Server.start(Server.java:1151)
> [06:00:12.609]  at com.caucho.server.cluster.Cluster.startServer(Cluster.java:719)
> [06:00:12.609]  at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:455)
> [06:00:12.609]  at com.caucho.server.resin.Resin.start(Resin.java:694)
> [06:00:12.609]  at com.caucho.server.resin.Resin.initMain(Resin.java:1114)
> [06:00:12.609]  at com.caucho.server.resin.Resin.main(Resin.java:1316)
> Thanks!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (STR-3133) javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/STR-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli reassigned STR-3133:
-------------------------------------

    Assignee:     (was: Mark Woon)

Please stop assigning this issue around!!!

> javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: STR-3133
>                 URL: https://issues.apache.org/struts/browse/STR-3133
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Apps
>    Affects Versions: 1.3.8
>         Environment: Resin 3.1.3 + Java 5 + Struts 1.3.8
>            Reporter: HR
>
> Recently I have upgraded from Struts 1.1 to Struts 1.3.8. I get the following exception during server-startup.( when I run Resin 3.1.3 -with out internet access).
> My Server starts successfully without any Struts issues if I've internet access.
> I checked for all the DTDs/XSDs & TLD files which have 'java.sun.com' as part of the URI.
> Currently I have the following TLD/DTD files  presentunder  \resin-pro-3.1.3\webapps\<my-app>\WEB-INF\tld
>     permittedTaglibs.tld
>     fn.tld
>     validator-rules_1_1.dtd
>     x-1_0-rt.tld
>     struts-bean.tld
>     yoshida.tld
>     web-app_2_3.dtd
>     c.tld
>     SUN_MICR.SF
>     x-1_0.tld
>     fmt.tld
>     struts-nested.tld
>     struts-config_1_0.dtd
>     tiles-config_1_1.dtd
>     c-1_0.tld
>     sql-1_0-rt.tld
>     fmt-1_0-rt.tld
>     struts-html.tld
>     struts-logic.tld
>     taglibs-session.tld
>     struts-html-el.tld
>     x.tld
>     tiles-config.dtd
>     web-app_2_2.dtd
>     struts-template.tld
>     SUN_MICR.RSA
>     sql.tld
>     struts-form.tld
>     taglibs-request.tld
>     struts.tld
>     scriptfree.tld
>     validation_1_1.dtd
>     struts-bean-el.tld
>     c-1_0-rt.tld
>     taglibs-log.tld
>     struts-logic-el.tld
>     pack.properties
>     x-rt.tld
>     struts-tiles.tld
>     fmt-1_0.tld
>     struts-config_1_1.dtd
>     sql-1_0.tld
>     MANIFEST.MF
>     web-jsptaglibrary_2_0.xsd
>     web-jsptaglibrary_1_1.dtd
>     web-jsptaglibrary_1_2.dtd
> I would like to know, which DTD/TLD/XSD file is causing ActionServlet-init to throw the following error.  Recently while googling... I read somewhere that the following 
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
> has to be replaced  with SYSTEM etc?? 
> I
> Appreciate your help in getting rid of this exception.
> Error Logs:
> [06:00:12.609] javax.servlet.UnavailableException: java.net.UnknownHostException: java.sun.com
> [06:00:12.609]  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:408)
> [06:00:12.609]  at javax.servlet.GenericServlet.init(GenericServlet.java:70)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServletImpl(ServletConfigImpl.java:789)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:716)
> [06:00:12.609]  at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:150)
> [06:00:12.609]  at com.caucho.server.webapp.WebApp.start(WebApp.java:1800)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:675)
> [06:00:12.609]  at com.caucho.server.host.Host.start(Host.java:437)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:646)
> [06:00:12.609]  at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
> [06:00:12.609]  at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:528)
> [06:00:12.609]  at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:163)
> [06:00:12.609]  at com.caucho.server.host.HostContainer.start(HostContainer.java:479)
> [06:00:12.609]  at com.caucho.server.cluster.Server.start(Server.java:1151)
> [06:00:12.609]  at com.caucho.server.cluster.Cluster.startServer(Cluster.java:719)
> [06:00:12.609]  at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:455)
> [06:00:12.609]  at com.caucho.server.resin.Resin.start(Resin.java:694)
> [06:00:12.609]  at com.caucho.server.resin.Resin.initMain(Resin.java:1114)
> [06:00:12.609]  at com.caucho.server.resin.Resin.main(Resin.java:1316)
> Thanks!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.