Web app .war problem
I have a war file with the following structure
index.jsp
WEB-INF/web.xml
WEB-INF/classes (all my servlets here)
WEB-INF/lib (all my application jar files)
The web.xml just defines all the servlets as follows
=================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
<web-app>
<servlet>
<servlet-name> HtmlServlet </servlet-name>
<servlet-class> <PKG PATH>.HtmlServlet </servlet-class>
</servlet>
<servlet>
<servlet-name> ChartServlet </servlet-name>
<servlet-class> <PKG PATH>.ChartServlet </servlet-class>
</servlet>
<servlet-mapping>
<servlet-name> HtmlServlet </servlet-name>
<url-pattern> /HtmlServlet </url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name> ChartServlet </servlet-name>
<url-pattern> /ChartServlet </url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
=======================================
WHen I run my application, the index.jsp starts compiling
and throws an error
java.lang.NoClassDefFoundError: org/omg/CORBA/ORB
This class is in one of the jar files in my WEB-INF/lib folder.
What am I missing? Do I have to declare something in my web.xml file or do I need to put that in weblogic.xml? Currently I dont
have any weblogic.xml file.
Thanks,
Bharat Nagwani
This is the standard way as I understand it also. This works on other app
servers. We are having this same problem, any resolution yet?
"bharat nagwani" <[email protected]> wrote in message
news:3a727270$[email protected]..
>
Yes, the class file is in a jar file. Isn't supposed
to see all the jar files in the war files. That is
standard structure for war files.
Thanks,
Bharat
"Jeff Ward" <[email protected]> wrote:
Is the class in a .jar or a .zip? WL can't see the .zip files inside of
the lib.
-Jeff Ward
"bharat nagwani" <[email protected]> wrote:
I have a war file with the following structure
index.jsp
WEB-INF/web.xml
WEB-INF/classes (all my servlets here)
WEB-INF/lib (all my application jar files)
The web.xml just defines all the servlets as follows
=================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
<web-app>
<servlet>
<servlet-name> HtmlServlet </servlet-name>
<servlet-class> <PKG PATH>.HtmlServlet </servlet-class>
</servlet>
<servlet>
<servlet-name> ChartServlet </servlet-name>
<servlet-class> <PKG PATH>.ChartServlet </servlet-class>
</servlet>
<servlet-mapping>
<servlet-name> HtmlServlet </servlet-name>
<url-pattern> /HtmlServlet </url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name> ChartServlet </servlet-name>
<url-pattern> /ChartServlet </url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
=======================================
WHen I run my application, the index.jsp starts compiling
and throws an error
java.lang.NoClassDefFoundError: org/omg/CORBA/ORB
This class is in one of the jar files in my WEB-INF/lib folder.
What am I missing? Do I have to declare something in my web.xml file or
do I need to put that in weblogic.xml? Currently I dont
have any weblogic.xml file.
Thanks,
Bharat Nagwani
Similar Messages
-
Error auto-deploying a Web App (.WAR file)
Hello,
Weblogic 6.1 throws a FileNotFoundException about 10% of the time for me when
auto-deploying a Web app. Has anyone else run into this? I searched the newsgroups
but didn't come up with anything, so I thought I'd start here.
My build/deploy cycle is managed by an Ant build file that creates a WAR file
of my web application and then drops it into $WL_HOME/config/mydomain/applications.
Occasionally when I do this, I get the error shown below. Originally I was building
the WAR file right in the ../applications directory, so I thought that might be
an issue. So, I started building the WAR file in a staging directory and copying
it into ../applications. No luck. Next, I tried deleting the original WAR file
from ../applications, and THEN copying the new one over from the staging directory.
Still fails occasionally.
Let's see. This is Weblogic 6.1 on Win2K. The only other thing is that my dev/build/staging
environment is on a network share, and it's from there that I'm copying the WAR
file to my local machine (where WL is running).
If someone has seen and/or knows what is up with this, great. If not, it's not
a show-stopper.
Thanks!
Cheers,
David
========================================================
<Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException opening application
mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
java.io.FileNotFoundException: error in opening zip file
at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
at weblogic.management.mbeans.custom.Application.load(Application.java:387)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy8.load(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)Michael,
This is a problem with 6.1 SP2 also -- a very annoying error. Without auto deploy
working properly, developers are spending alot of time waiting for WebLogic to restart.
HELP!!! we need this fixed.
I see the EXACT same stack trace (ERROR).
Tom Markel
Sr. Java Engineer
Michael Young <[email protected]> wrote:
Hi.
This may be a known issue that was addressed in sp2. If you are not already
at that sp level I suggest you upgrade.
Regards,
Michael
David Ventimiglia wrote:
Hello,
Weblogic 6.1 throws a FileNotFoundException about 10% of the time forme when
auto-deploying a Web app. Has anyone else run into this? I searchedthe newsgroups
but didn't come up with anything, so I thought I'd start here.
My build/deploy cycle is managed by an Ant build file that creates a WARfile
of my web application and then drops it into $WL_HOME/config/mydomain/applications.
Occasionally when I do this, I get the error shown below. OriginallyI was building
the WAR file right in the ../applications directory, so I thought thatmight be
an issue. So, I started building the WAR file in a staging directoryand copying
it into ../applications. No luck. Next, I tried deleting the originalWAR file
from ../applications, and THEN copying the new one over from the stagingdirectory.
Still fails occasionally.
Let's see. This is Weblogic 6.1 on Win2K. The only other thing is thatmy dev/build/staging
environment is on a network share, and it's from there that I'm copyingthe WAR
file to my local machine (where WL is running).
If someone has seen and/or knows what is up with this, great. If not,it's not
a show-stopper.
Thanks!
Cheers,
David
========================================================
<Apr 8, 2002 9:05:00 AM PDT> <Error> <Management> <IOException openingapplication
mydomain:Name=private-banking,Type=Application, loading from path .\config\mydomain\applications\private-banking.war
java.io.FileNotFoundException: error in opening zip file
at weblogic.management.mbeans.custom.Application.findType(Application.java:1833)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:444)
at weblogic.management.mbeans.custom.Application.load(Application.java:387)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy8.load(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:840)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1050)--
Michael Young
Developer Relations Engineer
BEA Support -
On a trial site, set up new web app, set up custom fields (yes, I saved each field). All fields visible in the box to left of screen.
However, when I go to move a field up or down in the list, the entire list of custom fields disappears. They are deleted from the web app.
I've not seen this before and wonder if others are having similar problems?What browser do you see this happening in?
-
Is it possible to import an existing Struts web app WAR file into Workshop?
I browse the documents and tried using the workshop with no avail trying to import
an existing Struts WAR file. If someone know of a way doing this, I would really
appreciate a pointer or so. If this is not possible, please let me know so I will
not end up pulling out all my hair....
TIAExport the OMF from an audio app like ProTools or Logic as a stereo pair AIFF, then use that with your video. Chop it up if you need to checkerboard.
Of course this will only work if the audio is very simple - overlapping audio will mess you up. If you can figure out the audio app part, you can split up your OMF into separate tracks.
But then if you can't get it into an audio app, you're a bit hosed. -
Help.jsp web app war file (how to exclude resources)
Hi, I am making a jsp/JSF application and now wanted to deploy it on a glassfish server. this is the first time i am deploying so am still learning it as i go.
I wanted to clear out something before i go ahead.
My application has tons of resuorce files (mainly huge Picture and videos) which are roughly the size of 1-2 GB. I do not want to add them to my WAR file. is it possible to exclude the resources from the war file?
How difficult would it be for me to to then link the resources folder to the deployed application?
I am running against time. i need to clear the above out to make a decision.thyscorpion wrote:
My application has tons of resuorce files (mainly huge Picture and videos) which are roughly the size of 1-2 GB. I do not want to add them to my WAR file. is it possible to exclude the resources from the war file?Yes.
How difficult would it be for me to to then link the resources folder to the deployed application?Create a servlet which access them by aforeknown file system path, reads the stream from the file and writes it to the response.
You may find this servlet example useful: [http://balusc.blogspot.com/2007/04/imageservlet.html] (specific for images). -
Can't deploy web app with resource: New source location
I can't deploy a web app (.war) if I already have a resource (.rar) deployed, weblogic
7.0 reports
weblogic.management.ManagementException: New source location, C:\projects\j2ee\dev\ra\dist\rware.war,
cannot be deployed to configured application, rware. Application source is at
C:\projects\j2ee\dev\ra\dist.
at weblogic.management.deploy.DeployerRuntime.validatePath(DeployerRuntime.java:786)
at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:319)
at weblogic.management.deploy.DeployerRuntime.access$0(DeployerRuntime.java:282)
at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:947)
The resource works ok, and the web app does not use or reference
the resource (it's a simple servlet that just displays a message), so why is there
an interdependence?
Thanks! We'll follow up on this.
>
>I discovered the cause - the .war and .rar both had the same
>filename root, i.e. myFilename.war and myFilename.rar. I
>solved the problem by changing the .war to myFilenameWeb.war.
>
>And yes, this is with WLS 7.0.
>
>"Deb June" <[email protected]> wrote:
>>
>>Hi Glen,
>>
>>Could you please describe the steps that you took to get this?
>>
>>Thanks!
>>
>>P.S. For others looking at this - it looks like this is using WLS 7.0.
>>
>>>
>>>I can't deploy a web app (.war) if I already have a resource (.rar)
>>deployed,
>>>weblogic
>>>7.0 reports
>>>
>>>weblogic.management.ManagementException: New source location, C:\projects\j2ee\dev\ra\dist\rware.war,
>>>cannot be deployed to configured application, rware. Application source
>>>is at
>>>C:\projects\j2ee\dev\ra\dist.
>>> at weblogic.management.deploy.DeployerRuntime.validatePath(DeployerRuntime.java:786)
>>> at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:319)
>>> at weblogic.management.deploy.DeployerRuntime.access$0(DeployerRuntime.java:282)
>>> at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:947)
>>>
>>>The resource works ok, and the web app does not use or reference
>>>the resource (it's a simple servlet that just displays a message),
>so
>>>why is there
>>>an interdependence?
>>
>
-
Possible to have two login configs in same web app?
Sorry for not having tried this first, my server and webapp are in a state
of flux at this moment, but I wanted to see what the consensus is out there,
not just whether I can or cannot make something work quickly.
If I have two types of things that might be called in my Web App (WAR) in
different ways (eg, browser accessing via HTTP by users that want to login
via pretty forms, and SOAP clients that may access functionality through the
same servlets (but with alternate Servlet Path Info after the servlet name
in the URL)), is there ANY way I can have multiple login configs, each tied
to a different security constraint within that web app?
In other words, with a servlet of /frazzleblitz and security constraints
like:
<security-constraint>
<web-resource-collection>
<web-resource-name>Foo</web-resource-name>
<url-pattern>/frazzleblitz/doFooBar</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>FoobarBrowserUsers</role-name>
</auth-constraint>
</security-constraint>
and the SOAP constraint (for all users of incoming SOAP requests):
<security-constraint>
<web-resource-collection>
<web-resource-name>Foo</web-resource-name>
<url-pattern>/frazzleblitz/doFooBar</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>FoobarBrowserUsers</role-name>
</auth-constraint>
</security-constraint>
where my frazzleblitz controller knows whether the incoming request is
browser vs SOAP based by the path info after the servlet name
Can I associate the first security constraint with a FORM based login
config, and the second security constraint with a BASIC AUTH login config
since I could in theory require SOAP clients to send in credentials in a
HTTP BasicAuth header, but I can't expect a SOAP client to be HTTP
Redirected to a login form and then to enter the right credentials into a
user type form and then be redirected back to an app...
Seems to me the J2EE Security spec is really lacking in the area of
programmatic authentication (allowing my SOAP code to get credentials out of
the request envelope and call an API to login myself). Yeah, WebLogic has
the ServletAuthentication weak() API, but these apps need to be J2EE
compliant and work across J2EE servers... Anybody know of any improvements
coming in the J2EE security space to address such functionality needs?
Thanks in advance
MikeSorry, hit send accidentally before finishing the second security
constraint - I've fixed it up below to reflect what I meant...
"Mike" <[email protected]> wrote in message
news:[email protected]...
Sorry for not having tried this first, my server and webapp are in a state
of flux at this moment, but I wanted to see what the consensus is outthere,
not just whether I can or cannot make something work quickly.
If I have two types of things that might be called in my Web App (WAR) in
different ways (eg, browser accessing via HTTP by users that want to login
via pretty forms, and SOAP clients that may access functionality throughthe
same servlets (but with alternate Servlet Path Info after the servlet name
in the URL)), is there ANY way I can have multiple login configs, eachtied
to a different security constraint within that web app?
In other words, with a servlet of /frazzleblitz and security constraints
like:
<security-constraint>
<web-resource-collection>
<web-resource-name>Foo</web-resource-name>
<url-pattern>/frazzleblitz/doFooBar</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>FoobarBrowserUsers</role-name>
</auth-constraint>
</security-constraint>
and the SOAP constraint (for all users of incoming SOAP requests):
<security-constraint>
<web-resource-collection>
<web-resource-name>Bar</web-resource-name>
<url-pattern>/frazzleblitz/doSOAPRequest</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>SOAPUsers</role-name>
</auth-constraint>
</security-constraint>
where my frazzleblitz controller knows whether the incoming request is
browser vs SOAP based by the path info after the servlet name
Can I associate the first security constraint with a FORM based login
config, and the second security constraint with a BASIC AUTH login config
since I could in theory require SOAP clients to send in credentials in a
HTTP BasicAuth header, but I can't expect a SOAP client to be HTTP
Redirected to a login form and then to enter the right credentials into a
user type form and then be redirected back to an app...
Seems to me the J2EE Security spec is really lacking in the area of
programmatic authentication (allowing my SOAP code to get credentials outof
the request envelope and call an API to login myself). Yeah, WebLogic has
the ServletAuthentication weak() API, but these apps need to be J2EE
compliant and work across J2EE servers... Anybody know of anyimprovements
coming in the J2EE security space to address such functionality needs?
Thanks in advance
Mike -
Hello All,
I have an ear file containing a war for a web app and a jar for an ejb. I am trying to instantiate the EJB in my web app (war file). My question is how does the web app know about the interfaces from the EJB:
I want to call the local interface from the bean. For example in the client:
Context initialContext = new InitialContext();
AccountHome accountHome = (AccountHome)
initialContext.lookup(�java:comp/env/ejb/accounts�);
How does the client know about the AccountHome Interface. Do I actually have to have a package in my webapp that defines the interface AccountHome?The interfaces have to be in the classpath, of course. JAR them up and put them in the WEB-INF/lib.
Access them using JNDI:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html
% -
Sessions across Web Applications (WARs)
I've heard that you can't share session information (http session) across web applications or war files in the j2ee framework. However, I haven't seen any proof of this? I'm struggling to find information telling that I can't do this. Can someone elaborate a bit?
Thanks.Hi !
It is TOTALLY WRONG that someone wrote here that a
separate JVM is started for each web-app! No way. Run
any appserver and do a 'ps -ef|grep java' and I bet
you will see only one forever :-). Correct
Steve, it is the classloader hierarchy in all
appservers that prevents you from sharing sessions (i
would say classes loaded by various web-apps). There
is something called a web-app / WAR classloader, which
is 4th in the hierarchy of JVm classloader hierarchy.
Since all your web-app loaded classes are loaded by
this classloader and since each web-app has a "peer"
classloader at same level for its own web-app, you
will never be able to share across web-apps. Incorrect, just because you can have separate classloaders for separate web applications does not mean that those web applications cannot share instances.
It is also possible to have classes which are globally available to ALL web applications which are loaded as part of the servlet container. Tomcat versions 4+ have a common area where classes can be made available. These classes are not loaded within the Web Application classloader at all.
Not only that but it is possible to configure web application contexts such that they can also share things like sessions. This feature is definitely part of the Apache Tomcat release and as this is taken by Sun to be the Reference Implementation of the Servlet Container I would assume that is also part of the J2EE Standard as well.
YOu can always use the DB stuff that other genltmen
has already suggested. -
Seek advices on simple web app
weblogic11g, RDBMS11gr2
skills: PLSQL, and limited in J2EE programming.
I am a DBA for the cust app. I'd like to create a simple web app for our help desk to run a couple of queries against the app's database, and execute a couple of the statements to resolve the issues if found from the queries.
I'd like to deploy the web app war the WL without not requiring additional resources such as named JDBC data sources or JMS queues.
Please advise me what minimum do I have to have to make this simple web app.Hi,
The below URL should help you
http://docs.oracle.com/cd/E18476_01/doc.220/e18479/deploy.htm
Thanks & Regards,
Murali.
============= -
Re: Problem loading web app on 6.0
Charlie,
Thanks for your advice; however, my problem still persists, and is baffling as ever. I've
completely blown away my /kiko directory and copied config.xml.FROM_INSTALLER to config.xml in
hopes of reverting back to a clean install; however like I originally stated, if I try to start my
server with this supposedly "virgin" server, I still get the following error:
Jan 18, 2001 2:54:31 PM PST> <Error> <HTTP> <[HTTP myserver] Error parsing descriptor in Web
appplication "./config/mydomain/applications/DefaultWebApp_myserver"
org.xml.sax.SAXParseException: File "file:///MTI/home/gchuang/weblogic/wlserver6.0/web.xml" not
found.
at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1014)
at
weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.ja
va:512)
at weblogic.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:304)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:899)
What's going on???? /DefaultWebApp_myserver existed from installation, and I did NOT touch, but now
is made inoperable as well? I've blown away the suspect directory, /kiko, and yet... Anything short
of re-installing, how do I get Weblogic to work again?
Gene Chuang
Join Kiko.com!
"Charlie Crook" <[email protected]> wrote in message news:[email protected]...
> Are your web.xml & weblogic.xml files within the applications's WEB-INF
> directory? The WEB-INF must be directly below the application's
> irectory - kiko\WEB-INF in your case - and not kiko\html\WEB-INF.
>
>
>
> "Gene Chuang" <[email protected]> wrote in message
> news:[email protected]...
> > I did a clean install of 6.0 and was able to run startWeblogic.sh and get
> /console.
> >
> > I became bold and tried copying my web app into /applications directory;
> This web app is an
> > expanded directory, and looks like the following:
> >
> > applications/kiko/
> > applications/kiko/html/
> > applications/kiko/html/WEB-INF/web.xml, weblogic.xml
> > applications/kiko/html/bunch of .jsps and subdirs with .jsps
> >
> > So when I made the kiko symlink onto /applications, I noticed in the
> weblogic log that this web app
> > has been detected; when I try to hit /html/index.jsp, I get a bunch of
> class cast exception (which
> > I expected because I did not modify startWeblogic.sh's CLASSPATH to
> include my stuff yet...)
> >
> > The problem starts when I kill the server and restart again; here's what
> I get from the log:
> >
> > ####<Jan 18, 2001 12:12:03 PM PST> <Info> <HTTP> <fortran.kikolb.com>
> <myserver> <main> <system> <>
> > <101053> <[HTTP myserver] Loadin
> > g web app: html>
> > ####<Jan 18, 2001 12:12:03 PM PST> <Info> <HTTP> <fortran.kikolb.com>
> <myserver> <main> <system> <>
> > <101060> <[HTTP myserver] Loadin
> > g html from directory: ./config/mydomain/applications/kiko/html>
> > ####<Jan 18, 2001 12:12:03 PM PST> <Error> <HTTP> <fortran.kikolb.com>
> <myserver> <main> <system> <>
> > <101063> <[HTTP myserver] Error
> > parsing descriptor in Web appplication
> "./config/mydomain/applications/kiko/html">
> > org.xml.sax.SAXParseException: File
> "file:///MTI/home/gchuang/weblogic/wlserver6.0/web.xml" not
> > found.
> > at
> weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1014)
> > at
> >
> weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument
> (DefaultEntityHandler.ja
> > va:512)
> > at
> weblogic.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:304
> )
> > at
> weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:899)
> > at
> weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
> va:123)
> > at
> javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:171)
> >
> > I have no idea why WL is trying to find web.xml in WL_HOME; but I figured
> since this only started
> > when I tried installing my web app, I'll get rid of it. I deleted the
> /applications/kiko/ symlink
> > and tried restarting WL. Now I get this:
> >
> > ####<Jan 18, 2001 12:19:52 PM PST> <Info> <HTTP> <fortran.kikolb.com>
> <myserver> <main> <system> <>
> > <101053> <[HTTP myserver] Loadin
> > g web app: DefaultWebApp_myserver>
> > ####<Jan 18, 2001 12:19:52 PM PST> <Info> <HTTP> <fortran.kikolb.com>
> <myserver> <main> <system> <>
> > <101060> <[HTTP myserver] Loadin
> > g DefaultWebApp_myserver from directory:
> ./config/mydomain/applications/DefaultWebApp_myserver>
> > ####<Jan 18, 2001 12:19:52 PM PST> <Error> <HTTP> <fortran.kikolb.com>
> <myserver> <main> <system> <>
> > <101063> <[HTTP myserver] Error
> > parsing descriptor in Web appplication
> "./config/mydomain/applications/DefaultWebApp_myserver">
> > org.xml.sax.SAXParseException: File
> "file:///MTI/home/gchuang/weblogic/wlserver6.0/web.xml" not
> > found.
> > at
> weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1014)
> > at
> >
> weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument
> (DefaultEntityHandler.ja
> > va:512)
> > at
> weblogic.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:304
> )
> > at
> weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:899)
> > at
> weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
> va:123)
> > at
> javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:171)
> >
> > What's going on? Did my install of a web app permanently kill my Weblogic
> install? I can't get it
> > to start anymore!
> >
> > --
> > Gene Chuang
> > Join Kiko.com!
> >
> >
>
>
the symlink, /applications/kiko, is gone; I blew it away... so now the /applications directory
looks like this:
/applications/DefaultWebApp_myserver/
/applications/certificate.war
/applications/console.war
Gene Chuang
Join Kiko.com!
"Dimitri Rakitine" <[email protected]> wrote in message news:[email protected]...
> Can it be that something was (and still is) wrong with the links you created?
>
> In weblogic.developer.interest.servlet Gene Chuang <[email protected]> wrote:
> > Charlie,
>
> > Thanks for your advice; however, my problem still persists, and is baffling as ever. I've
> > completely blown away my /kiko directory and copied config.xml.FROM_INSTALLER to config.xml in
> > hopes of reverting back to a clean install; however like I originally stated, if I try to start
my
> > server with this supposedly "virgin" server, I still get the following error:
>
> > Jan 18, 2001 2:54:31 PM PST> <Error> <HTTP> <[HTTP myserver] Error parsing descriptor in Web
> > appplication "./config/mydomain/applications/DefaultWebApp_myserver"
> > org.xml.sax.SAXParseException: File "file:///MTI/home/gchuang/weblogic/wlserver6.0/web.xml" not
> > found.
> > at weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1014)
> > at
> >
weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.ja
> > va:512)
> > at weblogic.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:304)
> > at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:899)
>
> > What's going on???? /DefaultWebApp_myserver existed from installation, and I did NOT touch, but
now
> > is made inoperable as well? I've blown away the suspect directory, /kiko, and yet... Anything
short
> > of re-installing, how do I get Weblogic to work again?
>
> > --
> > Gene Chuang
> > Join Kiko.com!
>
> > "Charlie Crook" <[email protected]> wrote in message news:[email protected]...
> >> Are your web.xml & weblogic.xml files within the applications's WEB-INF
> >> directory? The WEB-INF must be directly below the application's
> >> irectory - kiko\WEB-INF in your case - and not kiko\html\WEB-INF.
> >>
> >>
> >>
> >> "Gene Chuang" <[email protected]> wrote in message
> >> news:[email protected]...
> >> > I did a clean install of 6.0 and was able to run startWeblogic.sh and get
> >> /console.
> >> >
> >> > I became bold and tried copying my web app into /applications directory;
> >> This web app is an
> >> > expanded directory, and looks like the following:
> >> >
> >> > applications/kiko/
> >> > applications/kiko/html/
> >> > applications/kiko/html/WEB-INF/web.xml, weblogic.xml
> >> > applications/kiko/html/bunch of .jsps and subdirs with .jsps
> >> >
> >> > So when I made the kiko symlink onto /applications, I noticed in the
> >> weblogic log that this web app
> >> > has been detected; when I try to hit /html/index.jsp, I get a bunch of
> >> class cast exception (which
> >> > I expected because I did not modify startWeblogic.sh's CLASSPATH to
> >> include my stuff yet...)
> >> >
> >> > The problem starts when I kill the server and restart again; here's what
> >> I get from the log:
> >> >
> >> > ####<Jan 18, 2001 12:12:03 PM PST> <Info> <HTTP> <fortran.kikolb.com>
> >> <myserver> <main> <system> <>
> >> > <101053> <[HTTP myserver] Loadin
> >> > g web app: html>
> >> > ####<Jan 18, 2001 12:12:03 PM PST> <Info> <HTTP> <fortran.kikolb.com>
> >> <myserver> <main> <system> <>
> >> > <101060> <[HTTP myserver] Loadin
> >> > g html from directory: ./config/mydomain/applications/kiko/html>
> >> > ####<Jan 18, 2001 12:12:03 PM PST> <Error> <HTTP> <fortran.kikolb.com>
> >> <myserver> <main> <system> <>
> >> > <101063> <[HTTP myserver] Error
> >> > parsing descriptor in Web appplication
> >> "./config/mydomain/applications/kiko/html">
> >> > org.xml.sax.SAXParseException: File
> >> "file:///MTI/home/gchuang/weblogic/wlserver6.0/web.xml" not
> >> > found.
> >> > at
> >> weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1014)
> >> > at
> >> >
> >> weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument
> >> (DefaultEntityHandler.ja
> >> > va:512)
> >> > at
> >> weblogic.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:304
> >> )
> >> > at
> >> weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:899)
> >> > at
> >> weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
> >> va:123)
> >> > at
> >> javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:171)
> >> >
> >> > I have no idea why WL is trying to find web.xml in WL_HOME; but I figured
> >> since this only started
> >> > when I tried installing my web app, I'll get rid of it. I deleted the
> >> /applications/kiko/ symlink
> >> > and tried restarting WL. Now I get this:
> >> >
> >> > ####<Jan 18, 2001 12:19:52 PM PST> <Info> <HTTP> <fortran.kikolb.com>
> >> <myserver> <main> <system> <>
> >> > <101053> <[HTTP myserver] Loadin
> >> > g web app: DefaultWebApp_myserver>
> >> > ####<Jan 18, 2001 12:19:52 PM PST> <Info> <HTTP> <fortran.kikolb.com>
> >> <myserver> <main> <system> <>
> >> > <101060> <[HTTP myserver] Loadin
> >> > g DefaultWebApp_myserver from directory:
> >> ./config/mydomain/applications/DefaultWebApp_myserver>
> >> > ####<Jan 18, 2001 12:19:52 PM PST> <Error> <HTTP> <fortran.kikolb.com>
> >> <myserver> <main> <system> <>
> >> > <101063> <[HTTP myserver] Error
> >> > parsing descriptor in Web appplication
> >> "./config/mydomain/applications/DefaultWebApp_myserver">
> >> > org.xml.sax.SAXParseException: File
> >> "file:///MTI/home/gchuang/weblogic/wlserver6.0/web.xml" not
> >> > found.
> >> > at
> >> weblogic.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1014)
> >> > at
> >> >
> >> weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument
> >> (DefaultEntityHandler.ja
> >> > va:512)
> >> > at
> >> weblogic.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:304
> >> )
> >> > at
> >> weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:899)
> >> > at
> >> weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.ja
> >> va:123)
> >> > at
> >> javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:171)
> >> >
> >> > What's going on? Did my install of a web app permanently kill my Weblogic
> >> install? I can't get it
> >> > to start anymore!
> >> >
> >> > --
> >> > Gene Chuang
> >> > Join Kiko.com!
> >> >
> >> >
> >>
> >>
>
>
>
> --
> Dimitri
-
We're running 6.0sp2 on both AIX and RedHat. Deploying or redeploying
a web app to the managed server fails, works fine on the Admin server.
War's work fine in the 'applications' dir. The browser fails with a
404 on the managed server, with the following error in the log:
####<Aug 9, 2001 4:58:45 PM GMT> <Error> <J2EE> <szuinet5> <ect2>
<ExecuteThread: '11'
for queue: 'default'> <system> <> <160001> <Error deploying application
DefaultWebApp
ect2: Cannot deploy WebAppServletContext(4320491,DefaultWebAppect2) on
ect2 because
WebAppServletContext(2930053,DefaultWebApp_ect2) is already registered
for path >
Are we missing the point here? Or, is this a known bug? Also, we are
not in a position to jump onto v6.1 at this time.
Thanks in advance.Hi,
Yes..it's a bug. I had the same problem and it has been reported to support
but no indication if it's fixed.
Rgds,
E-Wan
ppower wrote:
We're running 6.0sp2 on both AIX and RedHat. Deploying or redeploying
a web app to the managed server fails, works fine on the Admin server.
War's work fine in the 'applications' dir. The browser fails with a
404 on the managed server, with the following error in the log:
####<Aug 9, 2001 4:58:45 PM GMT> <Error> <J2EE> <szuinet5> <ect2>
<ExecuteThread: '11'
for queue: 'default'> <system> <> <160001> <Error deploying application
DefaultWebApp
ect2: Cannot deploy WebAppServletContext(4320491,DefaultWebAppect2) on
ect2 because
WebAppServletContext(2930053,DefaultWebApp_ect2) is already registered
for path >
Are we missing the point here? Or, is this a known bug? Also, we are
not in a position to jump onto v6.1 at this time.
Thanks in advance. -
Office Web Apps Server 2013 - Word Web App - Problem with Tab space
Hello We have Office Web Apps Server 2013 running with SharePoint 2013. Users Editing a Word document with Office Web Apps, can't use "Tabs", any Word document with Tabs; the tabs are replaced with a single space.
Has anyone noticed this? Is this a bug?
-thanks
thomas
-TomYes, currently the Word Web App does not support
Tab Keyboard shortcut for editing document content .
For more information, you can have a look at
the article:
http://office.microsoft.com/en-us/office-online-help/keyboard-shortcuts-in-word-online-HA010378332.aspx?CTT=5&origin=HA010380212
http://social.technet.microsoft.com/Forums/en-US/3f5978d3-67a1-4c8c-981f-32493d72610b/office-web-apps-server-2013-word-web-app-problem-with-tab-space?forum=sharepointgeneral -
Hello
I had configured Office Web Apps for SharePoint 2013 which was working fine for about 2 months until this morning.
The error message I get for WORD, PDF and Excel files is:
The ULS logs on the WFE give me this:
WOPI (CheckFile) Proof Data: AccessToken Hash '1572676699' [1054 bytes], URL
01/08/2014 11:01:58.01* w3wp.exe (0x1368) 0x09B4 SharePoint Foundation
WOPI afk59 Monitorable
WOPI agxqc Medium WOPI Signature verification
attempt failed with public key 01/08/2014
11:01:58.01 w3wp.exe (0x1368) 0x09B4 SharePoint Foundation
WOPI agxqc Medium WOPI
Signature verification attempt failed with public key
01/08/2014 11:01:58.01 w3wp.exe (0x1368) 0x09B4 SharePoint Foundation
WOPI agxqb Medium WOPI
Signature verification attempt failed - no public key e75ead18-af27-4d44-ba50-b38b408011e8
01/08/2014 11:01:58.01 w3wp.exe (0x1368) 0x09B4 SharePoint Foundation
WOPI ahdzz Monitorable WOPI
Proof: All WOPI Signature verification attempts failed e75ead18-af27-4d44-ba50-b38b408011e8
01/08/2014 11:01:58.01 w3wp.exe (0x1368) 0x09B4 SharePoint Foundation
WOPI ag7pj Unexpected WOPI
(CheckFile) - Invalid Proof Signature for file Letterhead Template.docx url: http://site.contoso.com/_vti_bin/wopi.ashx/files/9c5d0d7077aa43e9a9538c02deb57580?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOi
The ULS Logs on my Office Web Apps server gives me this:
Error message from host: Verifying signature failed, host correlation: d197d187-ef9d-42f6-ae4f-c4b8199c1078
WOPICheckFile,WACSERVER FileNotFound
WOPI CheckFile: Catch-All Failure [exception:Microsoft.Office.Web.Common.EnvironmentAdapters.FileUnknownException: WOPI 404
Any idea what may have caused this issue all of a sudden?
Thank you.
YoshiHi Waqas
Thanks for your help with this. I had a look at both posts, the URL works fine from the WAC server and I am not using a System account to test docs.
Also, this is a production site that is accessible over the Internet, so we are using https therefore the WOPIZone is external-https.
Issue #3 in the above blog link does not reflect the same error I see on my servers.
I also had a look at the information in this link: http://technet.microsoft.com/en-us/library/ff431687.aspx#oauth
Problem: You receive a "Sorry, there was a problem and we can't open this document" error when you try to view an Office document in Office Web Apps.
If you added domains to the Allow List by using the
New-OfficeWebAppsHost cmdlet, make sure you’re accessing Office Web Apps from a host domain that’s in the Allow List. To view the host domains in the Allow List, on the Office Web Apps Server open the Windows PowerShell prompt as an administrator and run
the Get-OfficeWebAppsHost cmdlet. To add a domain to the Allow List, use the
New-OfficeWebAppsHost cmdlet.
I have not added any domains to the Allow list so this did not help either. Should I add the domain?
Any further help with this is much appreciated.
Thanks again.
Yoshi -
Issue with office web apps sorry, there was a problem and we can't open this document.
Hi All,
i am having issue when trying to open the word file using office web apps farm. i have multi-tier farm (2 wfe, 2 apps and 2 owa). is that something wrong with certificate or the way AAM configured. Can anyone give me some direction please?Hi,
According to your description, my understanding is that you failed to open the word file using office web app.
Please open the word file using office web app in other SharePoint sites and test whether this issue occurs. Also, please test whether all words have this issue.
Please reset IIS on the OWA server.
Please disconnect the SharePoint Farm from Office Web Apps and reconnect it. Then check the WOPIZone and TMG server.
Please created certificate for your PC and update mappings of IP addresses.
Some useful posts for your reference:
https://social.technet.microsoft.com/Forums/office/en-US/fdbf2198-5a62-422a-9015-a65599eabeb5/office-web-apps-2013-sorry-there-was-a-problem-and-we-cant-open-this-document-if-this-happens?forum=sharepointadmin
https://social.technet.microsoft.com/Forums/office/en-US/154e9673-8227-4913-9f2a-97677e4c5314/sorry-there-was-a-problem-and-we-cant-open-that-document?forum=sharepointadminprevious
http://sharepoint.stackexchange.com/questions/66013/a-problem-with-a-websites-security-certificate-for-apps
Best Regards,
Dean Wang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
Maybe you are looking for
-
My Swf is not playing correctly in my document?
I have a flash website I am working on. On a seperate flash document I created a nice picture slideshow for my website where you can click on the image and it will take you to the next availible image. Then at the end on the last picture you click on
-
iphoto wont open,keep getting Alert:The photo IMG_3515.jpg could not be opened,because the original item cannot be found. It opened fine two days ago. Any suggestions? iPhoto 9.3.2
-
Crystal 2008 can't "see" my tables but Version XI can.
I bought 2008 and tried to connect through ODBC to a progress databse. The tables that have names which include a dash "-" will not run. I tried version XI and it works fine with my same ODBC connection (.dsn) what can I do to correct this? I bought
-
Want to know abt jsp-precompile option
Hi, if i passed jsp-precompile=true then what will happen? what situation we have to send that parameter... what is the exact functionality of jsp-precompile option.... In our application we are having 200 jsp files. in our application, once the user
-
Cannot connect using FaceTime on my IMAC with an iPhone 5
Cannot connect using FaceTime on my IMAC with an iPhone 5.