WebLogic installation support - What resource is the Localizer looking for - wlconfig ant task

This is Interesting: Free IT Magazines  
Home > Archive > WebLogic installation support > May 2006 > What resource is the Localizer looking for - wlconfig ant task





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author What resource is the Localizer looking for - wlconfig ant task
kstotlani@gmail.com

2006-05-02, 7:17 pm

Hi,

I am creating a JDBCConnectionPool using wlconfig ant task from
weblogic. I have weblogic.jar and ant related jars in my classpath.
Somewhere in this task the CommoCommandLineTextFormatter class looks
for a Localizer resource. I am not able to find what resource its
trying to lookup. I am guessing as it doesn't find the resource it
throws this exception. Actually my wlconfig task completes fine but
throws this exception just before actually executing the task. I cannot
take such a script to Production. Please help. The exception is pasted
below.

java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.zip.ZipFile.<init>(ZipFile.java:128)
at
org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
at
org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findNextResource(AntClassLoader.java:126)
at
org.apache.tools.ant.AntClassLoader$ResourceEnumeration.<init>(AntClassLoader.java:88)
at
org.apache.tools.ant.AntClassLoader.findResources(AntClassLoader.java:869)
at java.lang.ClassLoader.getResources(ClassLoader.java:851)
at weblogic.i18ntools.L10nLookup.loadProps(L10nLookup.java:101)
at weblogic.i18ntools.L10nLookup.<init>(L10nLookup.java:166)
at weblogic.i18ntools.L10nLookup.init(L10nLookup.java:132)
at weblogic.i18ntools.L10nLookup.getLocalizer(L10nLookup.java:315)
at
weblogic.management.commo.internal.CommoCommandLineTextFormatter.<init>(CommoCommandLineTextFormatter.java:20)
at weblogic.management.commo.Commo.<clinit>(Commo.java:89)
at
weblogic.ant.taskdefs.management.WLConfig.queryCommoMBeans(WLConfig.java:580)
at
weblogic.ant.taskdefs.management.WLConfig.invokeQueryCommand(WLConfig.java:352)
at
weblogic.ant.taskdefs.management.WLConfig.executeCommands(WLConfig.java:136)
at
weblogic.ant.taskdefs.management.WLConfig.execute(WLConfig.java:105)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com