Console.war as default web application...
Hi,
I tried to add the console.war as my default web application for my Admin
server, but when restarting the server it complained with the following
error:
The WebLogic Server did not start up properly.
"Exception raised: weblogic.management.configuration.ConfigurationException:
undefined mbean reference:
mydomain:Name=console,Server=myserver,Type=WebAppComponent"
And the server does not start at all - I had to manually update the
config.xml to remove the console.war as a default web application...
Does anybody knows if this is a bug? Does it happens only with the
console.war? or there are any other scenarios that it can happen as well?
Thanks,
Marcelo.
It's 6.1 - I want to set up it as default on my Admin server instance, which
is running as a Admin server only... Not critical, but...
Thanks,
Marcelo
"Kumar Allamraju" <[email protected]> wrote in message
news:[email protected]..
Is this problem with 6.0 or 6.1?
BTW, why do you want configure console.war as default webapp?
Marcelo Caldas wrote:
Hi,
I tried to add the console.war as my default web application for my
Admin
server, but when restarting the server it complained with the following
error:
The WebLogic Server did not start up properly.
"Exception raised:weblogic.management.configuration.ConfigurationException:
undefined mbean reference:
mydomain:Name=console,Server=myserver,Type=WebAppComponent"
And the server does not start at all - I had to manually update the
config.xml to remove the console.war as a default web application...
Does anybody knows if this is a bug? Does it happens only with the
console.war? or there are any other scenarios that it can happen aswell?
>>
Thanks,
Marcelo.
Similar Messages
-
Default Web Application is not visible in Weblogic Console
We are using Weblogic 5.1.0 SP7
We moved our Application from the Implicitly Defined Default Web
Application which is configurated by the
weblogic properties to a Web Application. Because we don't want to
change any URL in our Application, we
decided to deploy it as Explicitly Defined Default Web Application.
By this we recordniced that the weblogic.httpd.defaultWebApp property
worked not that way descibed in the
Weblogic Documentation. You have to write the path to the WebApp not the
name!
So we have the following Entry in the weblogic.properties:
weblogic.httpd.defaultWebApp=i:/if_home2/web
This works fine. The Server starts and serves the WebApp the way we
expected. But wenn we start the Weblogic
Console the WebApp ist not visible in the "myserver/HTTP/Servlet web
applications" folder. This one is empty
now! Previously the "General" Entry for the Implicitly Defined Default
Web Application was shown here, which
showed our Servlets and JSP's and their hit count and parameters.
So there is no chance to monitor the Servlets and JSP's of the default
Web Application.
I tried to deploy our WebApp a secound time with
weblogic.httpd.webApp.OurApp=i:/if_home2/web
but this create a second independent WebApp. OurApp is shown in the
Weblogic Console but it does not monitor
the hits to the default WebApp. So this is not a solution!
Any idea to make the default Web Application visible in the Weblogic
Console?
in my development environment i checked in site collection feature, it isn't available in site collection feature but still i am getting those web parts in web part gallery while adding it on page.
Also, in Production environment, feature is available in /templates/features folder after deployment, but not available in web part gallery while adding it on page.
I tried with uploading .webpart file which is available in /templates/features production environment as i mentioned, is running for one web part. Not for second web part and giving me security error.
As, uploading .webpart file is not feasible solution, please tell me how could i do that with .wsp file?
please tell me what could be another workaround.
-
Default Web Application ist not visible in WebLogic Console
We are using Weblogic 5.1.0 SP7
We moved our Application from the Implicitly Defined Default Web
Application which is configurated by the weblogic properties to a Web
Application. Because we don't want to change any URL in our Application,
we decided to deploy it as Explicitly Defined Default Web Application.
By this we recordniced that the weblogic.httpd.defaultWebApp property
worked not that way descibed in the Weblogic Documentation. You have to
write the path to the WebApp not the name!
So we have the following Entry in the weblogic.properties:
weblogic.httpd.defaultWebApp=i:/if_home2/web
This works fine. The Server starts and serves the WebApp the way we
expected. But wenn we start the Weblogic Console the WebApp ist not
visible in the "myserver/HTTP/Servlet web applications" folder. This one
is empty now! Previously the "General" Entry for the Implicitly Defined
Default Web Application was shown here, which showed our Servlets and
JSP's and their hit count and parameters.
So there is no chance to monitor the Servlets and JSP's of the default
Web Application.
I tried to deploy our WebApp a secound time with
weblogic.httpd.webApp.OurApp=i:/if_home2/web
but this create a second independent WebApp. OurApp is shown in the
Weblogic Console but it does not monitor the hits to the default WebApp.
So this is not a solution!
Any idea to make the default Web Application visible in the Weblogic
Console?
Hello Nadar,
Tell me how are you starting server in the cluster, through nodemanager or commnadline.
Kuldeep -
Precompilation of JSPs for default web application
Hello,
Once in a while I need to redeploy my "Default" web application. I would like to have its all JSPs precompiled, so that it was immediatly available after redeployment.
However, if I try to redeploy my web application (.war file) under, let's say, "DefaultWebApp" root context, using the administration console, with the "Precompile JSPs" option enabled, it does compile all JSPs, but ONLY those deployed under the "DefaultWebApp" root context.
However, If I access a url like "http://somehost/SomeResource.jsp" (a file that belongs to that default web application"), I can see (due to a pause) that my JSPs have not been compiled under the root context.
Is there any way to precompile JSPs for my default web applications?
Sincerely,
Sergei Batiuk.Hello,
Once in a while I need to redeploy my "Default" web application. I would like to have its all JSPs precompiled, so that it was immediatly available after redeployment.
However, if I try to redeploy my web application (.war file) under, let's say, "DefaultWebApp" root context, using the administration console, with the "Precompile JSPs" option enabled, it does compile all JSPs, but ONLY those deployed under the "DefaultWebApp" root context.
However, If I access a url like "http://somehost/SomeResource.jsp" (a file that belongs to that default web application"), I can see (due to a pause) that my JSPs have not been compiled under the root context.
Is there any way to precompile JSPs for my default web applications?
Sincerely,
Sergei Batiuk. -
Default Web Application - new bug in SP1?
Just rebuilding everything from scratch to test out SP1. Have noticed
that the admin console now always seems to report only "(none)" in the
Default Web Application drop-down, even if other web apps are deployed
to the server. Editing the config.xml directly detours the problem, in
that the default app can be set and used, but the admin console still
says "(none)".
Lots of other good things fixed in SP1 though!
ChrisWhat you can do if you may shutdown the server is to replace the
console.war from WLS6.0SP1 with that from WLS6.0, do the mods and put
the new back in place. If you may stop the server, this is I think the
easiest sollution.
Regards,
Merg
"Rich " <[email protected]> wrote in message
news:3ad33260$[email protected]..
>
Is there a fix for this issue, or a work around? I am having adifficult time
getting the web application to show up...and be accessible in abrowser.
>
Thanks.
Chris Palmer <[email protected]> wrote:
Just rebuilding everything from scratch to test out SP1. Have noticed
that the admin console now always seems to report only "(none)" in
the
Default Web Application drop-down, even if other web apps aredeployed
to the server. Editing the config.xml directly detours the problem,in
that the default app can be set and used, but the admin console still
says "(none)".
Lots of other good things fixed in SP1 though!
Chris -
Configuring Default Web Application w/ WLS6.0 SP2
I have 2 Machines with no shared file system.
I have identical directory structures on both:
/usr/local/weblogic/config/qadomain/applications/DefaultWebApp
I have 2 Servers within the cluster:
ServerA and ServerB within ClusterA
I have 1 DefaultWebApp that I have Chosen ClusterA
When starting ServerA I receive and error:
<Error deploying application DefaultWebApp: ServerB not deployed on ServerA>
Can someone tell me the what's missing in this configuration?
You should add it to config.xml by yourself, should be something like:
<Server AdministrationPort="0"
ListenPort="8001" Name="testServer">
<Log FileName="config/mydomain/logs/weblogic-testServer.log"
Name="testServer"/>
<WebServer DefaultWebApp="WebApp_testServer"
LogFileName="config/mydomain/logs/access-testServer.log"
Name="testServer"/>
<KernelDebug Name="testServer"/>
<SSL Name="testServer"/>
<ServerDebug Name="testServer"/>
</Server>
Good luck.
"Ton Bode" <[email protected]> wrote in message
news:[email protected]..
Sorry, wrong group, and it seems to be a bug in the WLS 6.0 sp1 and sp2
versions
"Ton Bode" <[email protected]> wrote in message
news:3b5ec3e3$[email protected]..
I am running WLS6.0 sp2 on Win2K.
When I try to select a Default Web Application (selecting myserver,
Configuration, HTTP, Default Web Application) there is no Application
that
I
can select. I suppose at least the DefaultWebApp_myserver should be
available. This WebApp is deployed and targeted to myserver. But also
Console and Certificate should be available. What do I need to do inorder
to select a Web Application as default?
Ton Bode -
Unable to force logout of Default Web Application
Thi is a repost : still having the problem ... any ideas ?
Original Post ........................................
........................................................ I am having a problemlogging out....I can not log out. Using WLS 6.0sp1 using form based authentication
with a custom RDMBS Realm. I believe this functionality was working but now that
the application has been set up as the default web application logout no longer
works ?
In our application we have a logout link that points to a jsp page that does the
following:
<% if (session != null) session.invalidate(); session = null; %>
Note, this is the last jsp to be executed on the page. I looked at the compiled
servlet and it doesn not appear that anything is being done that would reinitialize
the session ...
Here is the try-catch of the compiled jsp servlet .. try { // error page try block
out.print("...");
if (session != null) session.invalidate();
session = null;
out.print("...."); .... }
catch (Exception __ee) {
while (out != null && out != originalOut) out = pageContext.popBody(); pageContext.handlePageException(_ee);
After this page is returned, the user can still access protected content, any
ideas ????
Is there a method in Weblogic security package to deauthenticate a user to force
re authentication ?
I just double checked it and lo and behold the session is actually being invalidated
because the users session data is gone, however they are still able to access
protected resources. Does this mean that weblogic is not using session to maintain
authenicated flag ? Or does this mean that the call to pageContext.popBody() is
creating a new session ? Or does this mean that weblogic has a bug ? Or does this
mean that I don't know what I'm doing ?
Bea, please provide a complete response, I have seen this type of post many times
on this board, can we solve this problem once and for all.
Thank you kindly,
Mark LeskI checked this angle. They are able to see protected content.
However, bea has finally acknowledged the problem. It exists when you are using
multiple web applications with single sign-on.
The problem has supposedly been fixed in a rolling patch available for SP2 of
WebLogic 6.0. Three new methods have been added that provide the ability to log
users out.
Hip Hip Hooray !!!!
See this link : http://commerce.bea.com/downloads/wls_patches.jsp
The new logout methods are described in the associated readme.
Thanks
- Mark
"mblumrich" <[email protected]> wrote:
potentially a silly question.... but are you sure the users are not simply
looking at pages that are in the web browser's cache? Are they able to
look
at privileged content that they haven't seen before?
cheers,
Markus
"Mark Lesk" <[email protected]> wrote in message
news:[email protected]...
Thi is a repost : still having the problem ... any ideas ?
Original Post ........................................
........................................................ I am having
a
problem
logging out....I can not log out. Using WLS 6.0sp1 using form basedauthentication
with a custom RDMBS Realm. I believe this functionality was workingbut
now that
the application has been set up as the default web application logoutno
longer
works ?
In our application we have a logout link that points to a jsp pagethat
does the
following:
<% if (session != null) session.invalidate(); session = null; %>
Note, this is the last jsp to be executed on the page. I looked atthe
compiled
servlet and it doesn not appear that anything is being done that wouldreinitialize
the session ...
Here is the try-catch of the compiled jsp servlet .. try { // errorpage
try block
out.print("...");
if (session != null) session.invalidate();
session = null;
out.print("...."); .... }
catch (Exception __ee)
while (out != null && out != _originalOut) out = pageContext.popBody();pageContext.handlePageException(__ee);
After this page is returned, the user can still access protected content,any
ideas ????
Is there a method in Weblogic security package to deauthenticate auser to
force
re authentication ?
I just double checked it and lo and behold the session is actuallybeing
invalidated
because the users session data is gone, however they are still ableto
access
protected resources. Does this mean that weblogic is not using sessionto
maintain
authenicated flag ? Or does this mean that the call topageContext.popBody() is
creating a new session ? Or does this mean that weblogic has a bug? Or
does this
mean that I don't know what I'm doing ?
Bea, please provide a complete response, I have seen this type of postmany times
on this board, can we solve this problem once and for all.
Thank you kindly,
Mark Lesk -
Unable to logout of Default Web Application
Thi is a repost : still having the problem ... any ideas ?
Original Post ........................................
........................................................I am having a problem logging out....I can not log out. Using WLS 6.0sp1 using
form based authentication with a custom RDMBS Realm. I believe this functionality
was working but now that the application has been set up as the default web application
logout no longer works ?
In our application we have a logout link that points to a jsp page that does the
following:
<% if (session != null) session.invalidate(); session = null; %>
Note, this is the last jsp to be executed on the page. I looked at the compiled
servlet and it doesn not appear that anything is being done that would reinitialize
the session ...
Here is the try-catch of the compiled jsp servlet .. try { // error page try block
out.print("...");
if (session != null) session.invalidate();
session = null;
out.print("...."); .... }
catch (Exception __ee) {
while (out != null && out != originalOut) out = pageContext.popBody(); pageContext.handlePageException(_ee);
After this page is returned, the user can still access protected content, any
ideas ????
Is there a method in Weblogic security package to deauthenticate a user to force
re authentication ?
I just double checked it and lo and behold the session is actually being invalidated
because the users session data is gone, however they are still able to access
protected resources. Does this mean that weblogic is not using session to maintain
authenicated flag ? Or does this mean that the call to pageContext.popBody() is
creating a new session ? Or does this mean that weblogic has a bug ? Or does this
mean that I don't know what I'm doing ?
Bea, please provide a complete response, I have seen this type of post many times
on this board, can we solve this problem once and for all.
Thank you kindly,
Mark LeskThi is a repost : still having the problem ... any ideas ?
Original Post ........................................
........................................................I am having a problem logging out....I can not log out. Using WLS 6.0sp1 using
form based authentication with a custom RDMBS Realm. I believe this functionality
was working but now that the application has been set up as the default web application
logout no longer works ?
In our application we have a logout link that points to a jsp page that does the
following:
<% if (session != null) session.invalidate(); session = null; %>
Note, this is the last jsp to be executed on the page. I looked at the compiled
servlet and it doesn not appear that anything is being done that would reinitialize
the session ...
Here is the try-catch of the compiled jsp servlet .. try { // error page try block
out.print("...");
if (session != null) session.invalidate();
session = null;
out.print("...."); .... }
catch (Exception __ee) {
while (out != null && out != originalOut) out = pageContext.popBody(); pageContext.handlePageException(_ee);
After this page is returned, the user can still access protected content, any
ideas ????
Is there a method in Weblogic security package to deauthenticate a user to force
re authentication ?
I just double checked it and lo and behold the session is actually being invalidated
because the users session data is gone, however they are still able to access
protected resources. Does this mean that weblogic is not using session to maintain
authenicated flag ? Or does this mean that the call to pageContext.popBody() is
creating a new session ? Or does this mean that weblogic has a bug ? Or does this
mean that I don't know what I'm doing ?
Bea, please provide a complete response, I have seen this type of post many times
on this board, can we solve this problem once and for all.
Thank you kindly,
Mark Lesk -
Associating Default Web Application with Virtual Host
Hi
We are trying to run several virtual hosts on the same managed server. However, each of those virtual hosts (e.g. bob.mydomain.com, john.mydomain.com) will need to have a different default web application (the rest of the deployed web applications will be the same between hosts). We tried to create default web applications with <context-root> in weblogic.xml set to / (also tried "") - however when attempting to deploy 2nd default web app an error message comes up:
Context path '/""' is already in use
So, it appears that we can't associate a default web application with a virtual host. Any ideas on how to solve it?
Our Environment:
Weblogic version: 10.3 TP, Windows
Many thanks
JasonIs your webapp targetted to the correct virtual-host during deployment?It could be possible that your webapp is targetted to the default web-server instead of the virtual-host causing this error. Can you validate this from your config file?
You can also configure default webapps for virtual hosts by setting the default-web-app-context-root element of virtual-host element in your config file -
Hi friends.... I'm new to java....
according to my little knowledge creating a war file is optional,
but i don't know if we directly deployed web application like servlet application in the web server(ex: webapps in TOMCAT)
what problems may get if my computer system not in the network and what problems may get if my computer system in the network....i know we must create a war file for appropriate application if the server is in remote place....
please reply.....thank youIsn't it easier to deploy one file than it is to deploy dozens, hundreds, even thousands?
-
How to create a war file of web application
Hi Techies
How to create a war file of the web application?
And plz tell me the utilities used for it.hi,
To compress a 'abc' web application into a "Web Archive" file named abc.war, follow the steps below:
1> Open a command prompt and cd to the application's dir:
<TOMCAT_HOME>\webapps\abc
2> Use the java archive command 'jar' to bundle up your application:
jar -cvf abc.war *
3> Move this to any other server and work with it!! :)
-- Abdel Raoof Olakara
http://olakara.googlepages.com -
Error instantiating web-application:Application named 'javasso' is in stopp
Hi,
I am getting the following error while logging to Oracle Application Console.
"Error instantiating web-application:Application named 'javasso' is in stopped"
Environment details are as under:
SOA suite: 10.1.3.1
Oracle Database: 11.1.0
I started getting this error after doing the following steps. Earlier everything was working fine.
1. Created a connection pool and Datasource in JDBC resources under administration on 10g DB which worked fine.
2. Attempted creating a connection pool on 11g DB which said connectiion successful when testing connetion. But once finalised and then again tried testing it gave an error saying " Invalid user name/password ".
3. Since I know the username and password were correct, I tried changing 'ORCL' in the URL with the tns alias ORCL_421.
4. Since I changed the URL, i was prompted to restart the defaults.
5. Once I clicked on restart, after long time the browser still showed the timer rotating. So I refreshed the browser and it showed the application server was up.
6. I went to check the JDBC resources and all the CONNECTION POOLs and DataSources are vanished.
7. I logged out and then when i am trying to login again, I am getting the above error.
8. I tried launching ESB and got the similar error but this time for esb "Application named 'esb-dt' is in stopped state."
I am not sure why this is happening. AScontrol.log has the following error stack:
[EMUI_14_42_51_/console/logoff] ERROR em.console doGet.303 - java.lang.IllegalStateException: Response has already been committed
java.lang.IllegalStateException: Response has already been committed
at com.evermind.server.http.EvermindHttpServletResponse.resetBuffer(EvermindHttpServletResponse.java:1854)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:249)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
at oracle.sysman.emSDK.svlt.PageHandler.render(PageHandler.java:796)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:398)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:436)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Appreciate if anyone can help resolve this issue.
Thanks and Regards
ATCheck your server.xml. You need a line like:<application auto-start="false" name="staging-load" path="c:\staging-load.ear"/>
-
Multiple Web Applications WLS 7.0
Hi,
I am trying to configure multiple web applications on the same WL 7.0 server and
am having trouble doing the following.
I would like to be able to use the following URLS:
Application #1:
http://myserver/st/aems - where st/aems maps to the path X:\SimpleTrade2\AEMS\ui\source\htdocs
Application #2:
http://myserver/st/acms - where st/aems maps to the path X:\SimpleTrade2\ACMS\ui\source\htdocs
Root - Default web application - This would be left empty with the idea that our
company could sell our web applications and we would deploy them on someone elses
WLS and we would not conflict in any way.
The problem with the above is that when I look at the DTD and try and configure
config.xml in the following way:
<Application Deployed="true" Name="AEMS"
Path="X:\SimpleTrade2\AEMS\ui\source\htdocs" TwoPhase="true">
<WebAppComponent DeploymentOrder="2000" Name="aems"
Targets="simpletradeserver" URI="st/aems"/>
WLS blows up on startup because it tries to POST-Pend the URI to the path... If
I change it to:
<Application Deployed="true" Name="AEMS"
Path="X:\SimpleTrade2\AEMS\ui\source" TwoPhase="true">
<WebAppComponent DeploymentOrder="2000" Name="aems"
Targets="simpletradeserver" URI="htdocs"/>
This will work but then my URL is not what I want it becomes http://myserver/htdocs
Is there anyway around this or a way to get what I want?
Another piece of information, I am developing in Exploded directory format when
we deploy it will be as an ear.
Thanks in advance for any ideas!!!
-Jerry RodgersThanks for the info Christian.
I thought I would pass along a bit more inforation for others who might be trying
to do something similar. In case they run across this message.
I did determine that if you are using a .WAR file the name attribute of the xml
node WebAppComponent will allow you to create a different context path than the
URI. I did not test to see if it allowed you to use a name like "st/aems" I am
sure "st.aems" would work or any name that may be different than the URI. The
weird thinhg is that when using the EXPLODED DIRECTORY format the URI is the name
of the folder under the path and the name property appears to be ignored no matter
what you change it to you can only get to your web app using the URI.
Hope this helps someone who comes after me and is looking for the same thing,
maybe they won't spend 6 hours on it like I did ;>
-Jerry
"Christian Plenagl" <[email protected]> wrote:
>
Hi,
this is not possible.
The URI field contains the directory name of the WebApplication, which
normally
is the same name as the directory where you put the webapplication in.
Christian Plenagl
Developer Relations Engineer
BEA Support
"Jerry Rodgers" <[email protected]> wrote:
Hi,
I am trying to configure multiple web applications on the same WL 7.0
server and
am having trouble doing the following.
I would like to be able to use the following URLS:
Application #1:
http://myserver/st/aems - where st/aems maps to the path X:\SimpleTrade2\AEMS\ui\source\htdocs
Application #2:
http://myserver/st/acms - where st/aems maps to the path X:\SimpleTrade2\ACMS\ui\source\htdocs
Root - Default web application - This would be left empty with the idea
that our
company could sell our web applications and we would deploy them onsomeone
elses
WLS and we would not conflict in any way.
The problem with the above is that when I look at the DTD and try and
configure
config.xml in the following way:
<Application Deployed="true" Name="AEMS"
Path="X:\SimpleTrade2\AEMS\ui\source\htdocs" TwoPhase="true">
<WebAppComponent DeploymentOrder="2000" Name="aems"
Targets="simpletradeserver" URI="st/aems"/>
WLS blows up on startup because it tries to POST-Pend the URI to the
path... If
I change it to:
<Application Deployed="true" Name="AEMS"
Path="X:\SimpleTrade2\AEMS\ui\source" TwoPhase="true">
<WebAppComponent DeploymentOrder="2000" Name="aems"
Targets="simpletradeserver" URI="htdocs"/>
This will work but then my URL is not what I want it becomes http://myserver/htdocs
Is there anyway around this or a way to get what I want?
Another piece of information, I am developing in Exploded directoryformat
when
we deploy it will be as an ear.
Thanks in advance for any ideas!!!
-Jerry Rodgers -
Dynamic deployed web application doesnt' work in managed server
Hi:
Can anyone tell me what I have done wrong:
1. I create a new web application DYNAMICALLY (i.e. copy directory to
applications directory)
2. I assigned one of the managed server as target for the new
application
3. Restart managed server
4. Try to access the new application in managed server, and get error
message:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is
given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the
client, the status code 403 (Forbidden) can be used instead. The 410 (Gone)
status code SHOULD be used if the server knows, through some internally
configurable mechanism, that an old resource is permanently unavailable and
has no forwarding address.
Any ideas?
Thanks in advance.
AlexSee my answer to your last post. The short answer is that the HttpClusterServlet is
likely to be the problem and not the cluster. You can try one of the web server plugins
or a hardware load balancer as a temporary workaround. You should file a case with
support too...
Manu Kar wrote:
> Hai All!
>
> Here is my problem ! I started Admin Server and Managed server in a same machine.
> I deployed HttpClusterServlet in web.xml of Managed server. When i started servers
> they start fine and says Clustering started.... But when i tried to Access index.jsp
> that is in Managed Server default web application ..Nothing happens. It neither
> throws exception nor shows the desired page.. Seems to be Browser hang and server
> hang. At this stage i am unable to access Admin console also.(I can access before
> i tried index.jsp of managed server).. It seems to be Hang Allover..
>
> Pls suggest me how to come out of this hanging...
>
> Rgds
> Manohar
-
Server Hangs when I tried to Access web Application that deployed in Managed Server
Hai All!
Here is my problem ! I started Admin Server and Managed server in a same machine.
I deployed HttpClusterServlet in web.xml of Managed server. When i started servers
they start fine and says Clustering started.... But when i tried to Access index.jsp
that is in Managed Server default web application ..Nothing happens. It neither
throws exception nor shows the desired page.. Seems to be Browser hang and server
hang. At this stage i am unable to access Admin console also.(I can access before
i tried index.jsp of managed server).. It seems to be Hang Allover..
Pls suggest me how to come out of this hanging...
Rgds
Manohar
See my answer to your last post. The short answer is that the HttpClusterServlet is
likely to be the problem and not the cluster. You can try one of the web server plugins
or a hardware load balancer as a temporary workaround. You should file a case with
support too...
Manu Kar wrote:
> Hai All!
>
> Here is my problem ! I started Admin Server and Managed server in a same machine.
> I deployed HttpClusterServlet in web.xml of Managed server. When i started servers
> they start fine and says Clustering started.... But when i tried to Access index.jsp
> that is in Managed Server default web application ..Nothing happens. It neither
> throws exception nor shows the desired page.. Seems to be Browser hang and server
> hang. At this stage i am unable to access Admin console also.(I can access before
> i tried index.jsp of managed server).. It seems to be Hang Allover..
>
> Pls suggest me how to come out of this hanging...
>
> Rgds
> Manohar
Maybe you are looking for
-
I have Photoshop CS3 (Adobe Camera Raw plug-in 4.6.0.30) and Adobe Bridge CS5.1 (Came with Illustrator CS5 Academic Edition) on a Mac with OS X 10.6.8. I'm trying to change my editing practices to take advantage of Camera Raw. I try to open it in Bri
-
On the accessibility of polygonal annotations
For background information, please refer to the thread "Unique Highlighting Elements in Form Fields" in the Acrobat Scripting forum. We all know well that interactive fields can be readily accessed and manipulated from JavaScript: textFiled1.hidden =
-
Install Pacman on non-arch system
Heya. I'm running a server that's hosting an arch repo, but the server itself isn't running arch. I was wonderin' if it was possible to install basic commands like repo-add and pacman, so I can manage the repo from the server, instead of having to ma
-
Hi all, how do I fix the App Store cannot verify a secure connection with the App Store. in mountain lion tried safari reset, changing the MTU nothing works at this time. I am using a IMac ML 10.8.2 Would like some help please. Gee
-
Hi, My dad just got an iMac. He's loving it...iPhoto and iTunes have made him like tackling computers again. However he called to tell me that he can't get his printer a canon i860 to print borderless prints or anything besides 8X10. I told him that