This content has been marked as final.
Show 6 replies
-
1. Re: Error while parsing the Tag Library Descriptor
Jay SenSharma MiddlewareMagic Mar 25, 2010 4:01 PM (in response to 629607)Hi Murugan,
Can u please post the complete stackTrace ...I Doubt that somewhere in your stackTrace you may find..."FileNotFoundException" error as well...Please confirm.
.
Thanks
Jay SenSharma -
2. Re: Error while parsing the Tag Library Descriptor
629607 Mar 25, 2010 5:21 PM (in response to Jay SenSharma MiddlewareMagic)Thanks Jay for the response.
Here is the complete error stack
####<Mar 25, 2010 11:18:54 AM EDT> <Warning> <HTTP> <MAL0700739> <AdminServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1269530334500> <BEA-101196> <[efc]: Error while parsing the Tag Library Descriptor at "C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\tmp\_WL_user\efc\ru63o8\war\WEB-INF\lib\spring-webmvc.jar!/META-INF/spring.tld".
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[2,134]
Message: Tried all: '1' addresses, but could not connect over HTTP to server: 'java.sun.com', port: '80'
at com.sun.xml.stream.XMLReaderImpl.next(XMLReaderImpl.java:545)
at weblogic.servlet.internal.TldCacheHelper$TldIOHelper.parseXML(TldCacheHelper.java:132)
at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:380)
at weblogic.servlet.internal.TldCacheHelper.parseTagLibraries(TldCacheHelper.java:65)
at weblogic.servlet.internal.War.getTagInfo(War.java:889)
at weblogic.servlet.internal.WebAppServletContext$ServletContextWebAppHelper.getTldInfo(WebAppServletContext.java:3708)
at weblogic.servlet.internal.WebAppServletContext$ServletContextWebAppHelper.getTagLibListeners(WebAppServletContext.java:3681)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:104)
at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:71)
at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1781)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1136)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:924)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:356)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:43)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Thanks
Murugan. -
3. Re: Error while parsing the Tag Library Descriptor
Jay SenSharma MiddlewareMagic Mar 25, 2010 6:10 PM (in response to 629607)Hi,
This usually happens because of firewall restrictions...you need to use the following flags ...in your Servers's startScript (JAVA_OPTIONS) to by pass the the request through proxy..
(WINDOWS) set JAVA_OPTIONS= %JAVA_OPTIONS% *-Dhttp.proxyHost=HostName -Dhttp.proxyPort=9999*
(UNIX Based OS) JAVA_OPTIONS= ${JAVA_OPTIONS} *-Dhttp.proxyHost=HostName -Dhttp.proxyPort=9999*
Here "HostName" will be your Proxy Hostname which you use to interact to the World behind the Firewall...similarly... "proxyPort" is the port of your Proxy ...
Usually we can see these settings in our InternetExplorer...."Tools"--->"Internet Options"--->"Connections"(Tab)---->"LAN Setting"
Or better we can confirm these values for "proxyHostName" & "proxyPort" from the N/w administrators of your organization.
Better first Test with this simple program.... then apply the Settings on the Server.
----------------------------------------------------------------------------------------
import java.net.*;
public ProxyTestClasss
{
public piblic static void main(String ar[]) throws Exception
{
////// System.setProperty("http.proxyHost", "yourProxyHost");
/////System.setProperty("http.proxyPort", "7676"); //your ProxyPort
URL url = new URL("http://java.sun.com:80"); //Try to accesss this URL with & without proxy settings...
}
}
.
.
See which one you are able to access....and working...(Run this program from the same machine where your Server is was running with issue)
javac -d . ProxyTestClass.java
Observation-1). java ProxyTestClass
Observation-2). java -Dhttp.proxyHost=HostName -Dhttp.proxyPort=9999 ProxyTestClass
.
.
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) -
4. Re: Error while parsing the Tag Library Descriptor
629607 Mar 25, 2010 7:36 PM (in response to Jay SenSharma MiddlewareMagic)Hi Jay,
That fixed the issue. Thank you !!!
Murugan. -
5. Re: Error while parsing the Tag Library Descriptor
Jay SenSharma MiddlewareMagic Mar 29, 2010 7:16 AM (in response to 629607)Plz Mark the thread as answered...It helps others to quickly review the Answered threads. -
6. Re: Error while parsing the Tag Library Descriptor
629607 Mar 29, 2010 12:33 PM (in response to Jay SenSharma MiddlewareMagic)Thanks.. Marked the thread as answered.
Murugan.