DefaultWebApp on WLS6.2 SP1
Hi, Everyone:
Could you tell me how to depoly my Web Application (.war) as DefaultWebApp on
WLS6.2 SP1?
i did it through admin server. but it doesn't work. any tricks?
thanks
hansen
Thanks, Kumar, Ramlawi.
i should say: weblogic console. sorry for the confusion. i
don't have a clear idea of admin server. i think the
http://localhost:7001/console is based on admin server. looks
like it is not right.
Ramlawi, i tried the way you told, but still not work.
my question is:
i have a war, called skylos.war. it has a structure as:
/common/login.jsp.
i want to access the jsp through:
http://localhost:7001/common/login.jsp.
NOT:
http://localhost:7001/skylos/common/login.jsp
(skylos is my webApp name)
thanks
hansen
"RAMLAWI Mona (LB Soft)" <[email protected]> wrote:
><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
><html>
>u have to go to <i>YourServer</i>>>Configuration>>HTTP and set it as
>the
>DefaultWebApp
><p>Kumar Allamraju wrote:
><blockquote TYPE=CITE>you can set a defaultwebapp via console.
><br>How did you set it in admin server?
><p>hansen wrote:
><blockquote TYPE=CITE>Hi, Everyone:
><p>Could you tell me how to depoly my Web Application (.war) as DefaultWebApp
>on
><br>WLS6.2 SP1?
><p>i did it through admin server. but it doesn't work. any tricks?
><p>thanks
><p>hansen</blockquote>
></blockquote>
></html>
>
Similar Messages
-
Question on WLS6.1 SP1 Caching Realm
Hi,
I am trying to use caching realm with defaultRDBMSRealmForCloudscape on
WLS6.1 SP1(Windows 2000). I can create user/password and login. The problem
is if I shutdown/restart the server, the previously created user account is
gone. Why is the user info not written into the cloudscape database?
Thanks,
XindongHi Xindong,
Maybe you could try altering the example realm code to see what's actually
happening.
/samples/examples/security/rdbmsrealm/RDBMSRealm.java
in newUser you can see that delegate.newUser is called with (username,
credential) -- you could put a println in here to see if this is being called
for certain...
then in RDBMSDelegate.java find
public User newUser(name, password)
and print something out here too. This will help you to get more info to debug
the problem.
You can see that in RDBMSDelegate.newUser what is actually happening is
insert into users values (?, ?)
where ? ? are the two values passed in from RBDMSRealm
Try checking to make sure the correct values are being passed around and that
this call is really being executed on your database.
Cheers,
Joe Jerry
Xindong wrote:
Hi Jerry,
1. When I create user/password from the console, obviously the change is not
written to CloudScape database even though I clicked on the link"The Change
you have made must be saved to the realm implementation".
2. I can't access CloudScape database while WLS server is running. If I stop
WLS server and then do:
select * from users;
It does not show the user/password I just created.
3. I do see the username that I just entered through the WebLogic server's
console. But if I restart WLS server, the user I created previously is gone.
Thanks,
Xindong
"Jerry" <[email protected]> wrote in message
news:[email protected]...
Hi Xindong,
Are you certain that when you create user/password from the console thatthe
changes are going to the Cloudscape database?
While WebLogic is still running, can you do
select * from users;
on your cloudscape database? Do you see the username that you justentered
through the WebLogic server's console?
Xindong wrote:
Hi,
I am trying to use caching realm with defaultRDBMSRealmForCloudscape on
WLS6.1 SP1(Windows 2000). I can create user/password and login. The
problem
is if I shutdown/restart the server, the previously created user accountis
gone. Why is the user info not written into the cloudscape database?
Thanks,
Xindong -
Apache Plugin in linux for WLS6.0 sp1 and (?sp2?)
This message is a little long,
The following message is arranged in 4 parts where:
1. Conclusion and Sugestions.
2. Tests Environment
3. Simple plugin environment
4. Virtual Hosting with apache
Any comment and help will be welcome
Conclusion
The plug-in has not been tested and documented and therefore does not
work in the described environment. The plugin parameter needs to be :
1. Syntaxly rewieved. The parameters not starting with
WebLogic.... (like PathTrim, PathPrepend, ConnectTimeoutSecs,
ConnectRetrySecs, Debug, DebugConfigInfo, StatPath, ErrorPage,
HungServerRecoverSecs, Idempotent, CookieName,
DefaultFileName, MaxPostSize, MatchExpression, FileCaching,
SecureProxy, TrustedCAFile, RequireSSLHostMatch,
SSLHostMatchOID) are confusing and couyld be bug/problem
generators when adding other non BEA modules in apache. I
would suggest to have all the parameter starting with a common
root like WebLogic or Wls or something else deterministic
2. Better documented. The module parameters in Apache need to
get an action perimeter. For example the "LoadModule
weblogic_module" and "AddModule mod_weblogic.c" need to be
declared one time at the server level. But there no
indication for the others plugin parameters if they are
limited inside the sublocation where declared, i.e
<VirtualHost>, <location> <file>.....
3. Documented with configuration examples: The apache plugin is
interlinked with what is declared in the WLS server. I would
sugest to provide some examples on this matter. I.e how to
relate the Apache virtual hosting with or without the virtual
hosting in wls.
Test Environment
The tests described below has been done with the following system
environment.
Operating System:
RedHat 7.0 + glibc updates + network uodates, kernel level 2.2.17-14
RedHat 7.1 + updates, kernel 2.4.2-2
Java Level:
On the RedHat 7.0 system the default Java JVM provided in the BEA
distribution
On the RedHat 7.1 system the Sun JDK 1.3.1 for Linux
Apache: 1.3.19
DNS: one system called cordoba.paris.inetpc.com with 3 cnames added
(w1cordoba, w2cordoba, w3cordoba)
The Weblogic installtion is coming from a single reference system.
This system runs under RedHat 6.2 + latest update levels. The WebLogic
tree directory has been deployed in both systems and the JVM set in the
proper manner. Despite the well known problem with the default webapp
Wls 6.0 works fine and as expected. Default ports are used (7001).
The apache environment works fine too. In a single apache environment
and with the virtual hosting supporting the 3 cnames (w1cordoba,
w2cordoba, w3cordoba)
In both systems the behavior and and problems are equal.
Simple plugin environment
A single default web app runs under wls6.0. calling the wls60 thru the
URI: "http://cordoba:7001" works fines and the Welcome.html default page
is properly displayed. Similar tests have been done with a jsp page and
works fine too.
The httpd.conf file has been set has described in the documentation and
as follow:
LoadModule weblogic_module modules/mod_wl.so
WebLogicHost cordoba
WebLogicPort 7001
Debug ON
DebugConfigInfo ON
<location /wls>
SetHandler weblogic-handler
PathTrin /wls
</location>
Problem 1: When requesting the page using the URI: "http://cordoba/wls"
the answer from the couple apache/plugin is:
-1- In the netscape location entry fileld we get in return:
"http://cordoba/Welcome.html"
-2- The response from apache is "NOT FOUND The requested URL
/Welcome.html was not found on this server."
-3- When requesting the page using the URI: "http://cordoba:7001" the
return is properly rendered, and the Netscape Location entry field
gets: "http://cordoba:7001/Welcome.html"
-4- wlproxy.log contains:
Sun Jun 3 16:34:19 2001
================New Request: [GET /wls HTTP/1.0] =================
Sun Jun 3 16:34:19 2001 The request string is '/wls'
Sun Jun 3 16:34:19 2001 INFO: SSL is not configured
Sun Jun 3 16:34:19 2001 Now trying whatever is on the list;
ci->canUseSrvrList = 1
Sun Jun 3 16:34:19 2001 INFO: New NON-SSL URL
Sun Jun 3 16:34:19 2001 general list: trying connect to 'cordoba'/7001
Sun Jun 3 16:34:19 2001 Connected to cordoba:7001
Sun Jun 3 16:34:19 2001 INFO: sysSend 343
Sun Jun 3 16:34:19 2001 INFO: Reader::fill(): first=0 last=0
toRead=4096
Sun Jun 3 16:34:19 2001 parsed all headers OK
Sun Jun 3 16:34:19 2001 INFO: Reader::fill(): first=0 last=0
toRead=4096
Sun Jun 3 16:34:19 2001 INFO: Reader::fill(): first=0 last=0
toRead=4096
Sun Jun 3 16:34:19 2001 r->status=302 returning 0
Sun Jun 3 16:36:08 2001
================New Request: [GET /wls HTTP/1.0] =================
Sun Jun 3 16:36:08 2001 The request string is '/wls'
Sun Jun 3 16:36:08 2001 INFO: SSL is not configured
Sun Jun 3 16:36:08 2001 Now trying whatever is on the list;
ci->canUseSrvrList = 1
Sun Jun 3 16:36:08 2001 INFO: New NON-SSL URL
Sun Jun 3 16:36:08 2001 general list: trying connect to 'cordoba'/7001
Sun Jun 3 16:36:08 2001 Connected to cordoba:7001
Sun Jun 3 16:36:08 2001 INFO: sysSend 343
Sun Jun 3 16:36:08 2001 INFO: Reader::fill(): first=0 last=0
toRead=4096
Sun Jun 3 16:36:08 2001 parsed all headers OK
Sun Jun 3 16:36:08 2001 r->status=302 returning 0
Virtual Hosting with Apache
These tests aim to validate a production environment where an entry cell
of apache servers will serve static pages and route dynamic requests to
a set of WebLogic servers. From the Apache/Httpd point of view the
dispatch is done first at a virtual host level and then for each virtual
server, each different location will be served by one or multiple
weblogic servers. A try with Apache virtual hosts in where a reroute by
location or a full reroute has done the same results than stated in
"Simple plugin environment".
[att1.html]Hi
I am trying to configure the following pattern:
->https->apache->SSL->weblogic
using the apache plugin that you provided from the distribution.
There is no way to let it work.
the apache site trying to connect to weblogic is a virtual host, follows the config
file.
Checking the DEbugDebug config monitor it I discover that SecureProxy it is OFF
istead of ON and checking the debug file I've got this message:
INFO: ssl is not activated..
It means that despite of SecureProxy set to ON, it is still working in clear.
I have the same behaviour using 6.0, SP1, SP2 and 6.1
(If there more documentation about it in 6.1, please let me know where!)
Please, anyone can send me documentation about it or help me???
# <-- Start XXXXX Virtual Host
<VirtualHost XXXXXX>
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateKeyFile XXXX
SSLCertificateFile XXXXX
<Location />
AddHandler weblogic-handler .jsp
</Location>
<IfModule mod_weblogic.c>
SecureProxy ON
RequireSSLHostMatch false
TrustedCAFile /ssl/certs/ca.pem
Debug ALL
DebugConfigInfo ON
WebLogicHost XXXXX
WebLogicPort XXXXX
ErrorPage /pm/private/frame_044_error_500.htm
MatchExpression *.jsp
</IfModule>
</VirtualHost>
# <-- End XXXXX Virtual Host
"Jong Lee" <[email protected]> wrote:
>
1. Syntaxly rewieved.
Worth considering for the next major release.
2. Better documented.
Yes, 6.1 release is doing a much better job of documentation!
The module parameters in Apache need to
get an action perimeter. For example the "LoadModule
weblogic_module" and "AddModule mod_weblogic.c" need to be
declared one time at the server level. If apxs is used to update the module, end user should not need
to worry about adding/changing these two lines.
But there no
indication for the others plugin parameters if they are
limited inside the sublocation where declared, i.e
<VirtualHost>, <location> <file>.....
3. Documented with configuration examples: The apache plugin
is
interlinked with what is declared in the WLS server. I would
sugest to provide some examples on this matter. I.e how to
relate the Apache virtual hosting with or without the virtual
hosting in wls.
Again, better on 6.1 docs.
Problem 1: When requesting the page using the URI: "http://cordoba/wls"
the answer from the couple apache/plugin is:
-1- In the netscape location entry fileld we get in return:
"http://cordoba/Welcome.html"
"DefaultFileName Welcome.html" should be used in your httpd.conf
-2- The response from apache is "NOT FOUND The requested URL
/Welcome.html was not found on this server."
-3- When requesting the page using the URI: "http://cordoba:7001" the
return is properly rendered, and the Netscape Location entry field
gets: "http://cordoba:7001/Welcome.html"
-4- wlproxy.log contains:on 6.1, if relative URI is used in sendRedirect(), PathTrim and
PathPrepend should be taken care automatically. i.e:
in httpd.conf:
PathTrim /weblogic
PathPrepend /abc
in a jsp page:
response.sendRedirect("HelloWorld.jsp");
The plugin and wls will be smart enough to set Location header
to the following:
Location: http://apache_host:apache_port/weblogic/HelloWorld.jsp
Then the plugin will trim the /weblogic and prepend /abc to it
i.e:
http://wls_host:wls_port/abc/HelloWorld.jsp
Virtual Hosting with Apache
These tests aim to validate a production environment where an entrycell
of apache servers will serve static pages and route dynamic requests
to
a set of WebLogic servers. From the Apache/Httpd point of view the
dispatch is done first at a virtual host level and then for each virtual
server, each different location will be served by one or multiple
weblogic servers. A try with Apache virtual hosts in where a reroute
by
location or a full reroute has done the same results than stated in
"Simple plugin environment".Absolutely. in 6.1 you can specify different weblogic hosts per
vhost. Even you can use MatchExresspion or <Location> to define
different parameters per mime type and path:
i.e:
MatchExpression *.jsp WebLogicHost=www.bea.com|WebLogicPort=7001|DefaultFileName=/Welcome.html
MatchExpression *.html WebLogicCluster=weblogic1:7001,weblogic2:7002|Debug=ALL
<Location /weblogic>
WebLogicHost thankyou.com
</Location>
Where Location takes the precedence.
Anyway, 6.1 apache plugin should be a much better modules.
We also support apache2.0(beta) in 6.1. Unfortunately,
the apache2.0 binaries were unable to be included in the 6.1
beta installer. There might be a separate down-load for that.
Thank you for your great suggestions/comments.
thanks
Jong -
NSAPI [iPlanet 6.0SP1] for WLS6.1 SP1
Hi,
I am trying to integrate iPlanet WebServer 6.0 SP1 with Weblogic6.1 SP1 but am
not able to get it up and running. I followed the documentation and able to get
the ststic HTML pages but am not able to get the JSP's and Servlets to work. Here
are the steps I followed, can anyone help me out.
Thanks in advance
Ravi
1. Copy “proxy36.dll” located in the “<weblogic_home>/bin”
directory to “<Netscape_Home>/Servers/Plugins/” directory.
2. Modify “Magnus.conf” file.
Add following two lines at the top of the file after the comments.
>Init fn="load-modules" funcs="wl-proxy,wl-init"\ shlib="C:/Netscape/Server4/plugins/proxy36.dll"
Init fn="wl-init"
3.Modify “obj.conf” file. Add the following lines
<Object name="weblogic" ppath="*/weblogic/*">
Service fn="wl-proxy" WebLogicHost=<IPAddress of WLS Server>WebLogicPort="Port#"
PathTrim="/weblogic"
</Object>
4.Apply changes and Stop/Start the iPlanet Server.
6.Create subfolder called “my_apps” under “<NETSCAPE_HOME>/docs/”.
Move the contents of the “<WEBLOGIC_HOME>/public-html/my_apps” folder
to this folder.
7.Modify “myapps.properties” located in “<WEBLOGIC_HOME>/MyDomain/myappsproperties”
and modify the “web_server_url” and “web_server_ip” to
indicate the URL of the webserver
web_server_url=http://<iPlanetHostname>:port/weblogic/
web_server_ip= http://<iPlanetHostname>:port
8. Restart WebLogic Server
9. Restart iPlanet Enterprise ServerHi,
My previous request might have been misleading, i found that it is not just images that don't work but all the resources deployed in apache with the webconnector to iplanet do not work if there is a query string attached to it.
for eg., http://<host>/home/index.html?user=username does not work either.
Thanks
Prashanth Sukumaran. -
WLS6.0 sp1 and MS Active Directory
Hi,
Is it possible to configure WLS' LDAP security realm to use MS' Active
Directory to authenticate users? A quick yes or no would be appreciated -
I'll worry about the finer details of how later!!
Regards
Laura AllenCustom realm of course with the weblogic....ldaprealmv2.LDAPRealm
implementation class.
We did not use Kerberos authentication - just the plain password
authentication in "cleartext". Our servers are inside a secure data center -
no encryption required. That's why we did not need jdk1.4.
"Marc Carrion" <[email protected]> wrote in message
news:[email protected]...
>
Are you telling that you configured the ldap realm of WL to use activedirectory?
or you used your custom realm?
To use the authentication with Kerberos you need to use GSS-API and it'snot
included in jdk1.3 neither in jaas, that's why I needed to use jdk1.4
Can you explain how did you do that?
Thanks,
Marc
"Roy Cornell" <[email protected]> wrote:
Hi Laura:
No, BEA did not confirm the compatibility. We did our own investigation
and
found that the two systems work well together. One of the highlights
of the
research was the fact that the configuration of the WLS custom realm
for
Active Directory was more similar to Netscape Directory or Open LDAP
than to
the MS Site Server.
I am attaching the sample settings for the LDAP realm:
server.host=<some-ip-or-name>
server.principal=CN=wlsadmin001,OU=WLSMEMBERS1,DC=company,DC=com
user.filter=(&(cn=%u)(objectclass=user))
user.dn=OU=WLSMEMBERS1,DC=company,DC=com
group.filter=(&(cn=%g)(objectclass=group))
group.dn=OU=WLSGROUPS1,DC=company,DC=com
membership.filter=(&(member=%M)(objectclass=group))
We used the AD for authenticating the users and for authorizing the EJB
methods. AD contained the users and their security roles and the
deployment
descriptiors of the EJB's contained the permissions for the security
roles.
We ran repeated tests and were more or less satisfied.
Regards
P.S.
we used WLS 6.1 Jdk 1.3
----- Original Message -----
Sent: Tuesday, September 18, 2001 5:40 AM
Subject: WLS6.0 and Active Directory
Forgive me contacting you directly, but did you recieve a reply fromBEA
as
to whether WLS supports interaction with Active Driectory? And wereyou
attempting to use Active Directory just for user authentication? Anyinfo
on how WLS and Active Directory interact would be appreciated!
Regards
Laura Allen
The information in this e-mail and any attached files is confidential.It
is intended solely for the use of the addressee. Any unauthorised
disclosure or use is prohibited. If you are not the intended
recipient
of
the message, please notify the sender immediately and do not disclosethe
contents to any other person, use it for any purpose, or store or copythe
information in any medium. The views of the author may not necessarily
reflect those of the Company.
"Laura Allen" <[email protected]> wrote in message
news:[email protected]...
Hi,
Is it possible to configure WLS' LDAP security realm to use MS' Active
Directory to authenticate users? A quick yes or no would be
appreciated
I'll worry about the finer details of how later!!
Regards
Laura Allen -
Hi, Everyone:
Could you tell me how to depoly my Web Application (.war) as DefaultWebApp on
WLS6.2 SP1?
i did it through admin server. but it doesn't work. any tricks?
thanks
hansen
Hi, Everyone:
Could you tell me how to depoly my Web Application (.war) as DefaultWebApp on
WLS6.2 SP1?
i did it through admin server. but it doesn't work. any tricks?
thanks
hansen
-
Creating a ConnectionPool in WLS6.1
HI all,
i am desperately trying to create a ConnectionPool in WLS6.1 sp1 because i need
it for my Entity
EJBs.
in my machine i have installed Oracle 8.0.5...
i got many errors (Drivers not found) so i decided to use Cloudscape.
the pool is created successfully, but since i am using the Cloudscape that comes
with WLS, when i deploy my
EJBs i receive the errro 'Table not found' (obviously).
so, can anyone tell me how can i download a 'good' copy of cloudscape and then
use it with WLS6.1??
has anyone ever tried that??
thanx and regards
marcoHI all,
i am desperately trying to create a ConnectionPool in WLS6.1 sp1 because i need
it for my Entity
EJBs.
in my machine i have installed Oracle 8.0.5...
i got many errors (Drivers not found) so i decided to use Cloudscape.
the pool is created successfully, but since i am using the Cloudscape that comes
with WLS, when i deploy my
EJBs i receive the errro 'Table not found' (obviously).
so, can anyone tell me how can i download a 'good' copy of cloudscape and then
use it with WLS6.1??
has anyone ever tried that??
thanx and regards
marco -
ShutDown problem in wls6.0
Hi
we are using wls6.0 sp1 on a unix machine. when trying to stop the server by the command
java weblogic.Admin -url <url> -username system -password <password> SHUTDOWN
we get the following exception even if the server is running, and are not able to stop the server from a different session.
Exception in thread "main" java.lang.ClassCastException: Expected RemoteException, RuntimeException, or Error but received: 'class java.rmi.ConnectException'
at weblogic.common.T3Client.sendRecv(T3Client.java:724)
at weblogic.common.AdminServicesImpl.shut(AdminServicesImpl.java:97)
at weblogic.Admin.main(Admin.java:425)
Can anyone give a pointer to the problem.
Thanx
AmitGenerally use kill -9 against the pid.
Peace,
Cameron Purdy
Tangosol Inc.
Tangosol Coherence: Clustered Coherent Cache for J2EE
Information at http://www.tangosol.com/
"Amit Chopra" <[email protected]> wrote in message
news:3c3b22b6$[email protected]..
Hi
we are using wls6.0 sp1 on a unix machine. when trying to stop the serverby the command
java weblogic.Admin -url <url> -username system -password <password>SHUTDOWN
>
we get the following exception even if the server is running, and are notable to stop the server from a different session.
>
Exception in thread "main" java.lang.ClassCastException: ExpectedRemoteException, RuntimeException, or Error but received: 'class
java.rmi.ConnectException'
at weblogic.common.T3Client.sendRecv(T3Client.java:724)
atweblogic.common.AdminServicesImpl.shut(AdminServicesImpl.java:97)
at weblogic.Admin.main(Admin.java:425)
Can anyone give a pointer to the problem.
Thanx
Amit -
Does wls6.1 sp1 support dynamic LDAP groups?
Thanks,
Jeff CabuhatHi,
For Dynamic groups you can make your custom realm. that should solve
your problem. we have done smthg similer.
Hope it helps..!!
-aseem
Jeff Cabuhat wrote:
Does wls6.1 sp1 support dynamic LDAP groups?
Thanks,
Jeff Cabuhat -
Downloading problems in wls6.0
Hi all,
I'm having problems downloading wls 6.0. I've done a http download and even
though the file size is 45mb, I get only 8Mb after 30 minutes of downloading.
THen when I double click on the executable weblogic600sp1_win it just zips through
and nothing happenss. I look at the windows NT server task manager and there is
a process in memory weblogic600sp1_ Then it stays there for ages and nothing happens..
I would really like to check out the latest features of wls6.0. Any help would
be gratefully accepted..
Thanks in advance,
Surlu.Generally use kill -9 against the pid.
Peace,
Cameron Purdy
Tangosol Inc.
Tangosol Coherence: Clustered Coherent Cache for J2EE
Information at http://www.tangosol.com/
"Amit Chopra" <[email protected]> wrote in message
news:3c3b22b6$[email protected]..
Hi
we are using wls6.0 sp1 on a unix machine. when trying to stop the serverby the command
java weblogic.Admin -url <url> -username system -password <password>SHUTDOWN
>
we get the following exception even if the server is running, and are notable to stop the server from a different session.
>
Exception in thread "main" java.lang.ClassCastException: ExpectedRemoteException, RuntimeException, or Error but received: 'class
java.rmi.ConnectException'
at weblogic.common.T3Client.sendRecv(T3Client.java:724)
atweblogic.common.AdminServicesImpl.shut(AdminServicesImpl.java:97)
at weblogic.Admin.main(Admin.java:425)
Can anyone give a pointer to the problem.
Thanx
Amit -
[WLS6.1 sp1]
[Solaris Sparc]
After the wls run some times, it sometimes can't find the ejb's home
interface. It means, i can't find the home in the JNDI tree. But if restart,
no error. WHY?????
And, i doubt the stable of wls. so many 'Out of memory' and 'no stack
trace', who can direct me to right wayNone error message at deployment. At runtime, it shows
[BusiAcctFeeEjb][getAcctBalance]ERROR]:javax.naming.NameNotFoundException:
Unable to resolve oss.demo.balance.PreAcctHome. Resolved:
'oss.demo.balance'
Unresolved:'PreAcctHome' ; remaining name
''javax.naming.NameNotFoundException: Unable to resolve
oss.demo.balance.PreAcctHome. Resolved: 'oss.demo.balance'
Unresolved:'PreAcctHome' ; remaining name ''
<<no stack trace available>>
If restart, none change, all ok!
"Rob Woollen" <[email protected]> ??????:[email protected]..
airwing wrote:
Thanks Rob.
After the wls run some times, it sometimes can't find the ejb's
home
interface. It means, i can't find the home in the JNDI tree. Butif
restart,
no error. WHY?????this occured when I run ant again to deploy my bean. It said 'can'tlookup
demo.test.TestHome'.I don't understand. Does this error occur during deployment, or does
the
client throw the exception? Can you show me the actual error message or
stack trace?
-- Rob
And when I display the jndi tree in wls console, only demo.test , no
TestHome. everything ok when
I restart server
"Rob Woollen" <[email protected]> ??????:[email protected]..
airwing wrote:
[WLS6.1 sp1]
[Solaris Sparc]
After the wls run some times, it sometimes can't find the ejb's
home
interface. It means, i can't find the home in the JNDI tree. Butif
restart,
no error. WHY?????You'll have to provide some more information for us to help you
debug
this.
And, i doubt the stable of wls. so many 'Out of memory' and 'no
stack
trace', who can direct me to right wayOutOfMemory indicates that you've exhausted the JVM's heap. Perhapsyou
need
to increase the size.
The no stack trace error message generally indicates that you have a
RemoteException which had a server-side stack trace. You can turn
the
InstrumentStackTraces option on to see them.
-- Rob -
Hi
I installed WLS6.0 SP1 to NT4 SP6. Console doesn't start when I'm logged to
our domain. Dr. Watson reports application error in beaexec2.exe. When I'm
logged in as a local administrator console works fine. What's wrong?
SeppoI am having the same Problem.Can anyone give some suggestions
-
XML namespace (xmlsn attribute)
Hi to all,
I have a problem, when i build a XML documento in PL/SQL, using xmldom class, i want to set xmlns only in root node.
This is my code:
doc xmldom.DOMDocument;
main_node xmldom.DOMNode;
root_node xmldom.DOMNode;
root_elmt xmldom.DOMElement;
root_elmt_attributato xmldom.DOMElement;
BEGIN
doc := xmldom.newDOMDocument;
main_node := xmldom.makeNode(doc);
root_elmt := xmldom.createElement(doc, 'elencoClienti');
root_node := xmldom.appendChild(main_node, xmldom.makeNode(root_elmt));
xmldom.setAttribute(root_elmt, 'xmlns', 'indirizzo_namespace');
Then i add more than one node to root node, and finally i find in all level-one-parent of a root this attribute
xmlns=""
output example:
<?xml version="1.0" encoding="UTF-8"?>
<elencoClienti xmlns="indirizzo_namespace">
<elenco_pratiche xmlns="">
<rdl>
<id>122</id>
<tipo>PRDL</tipo>
<tran_comm>RDR</tran_comm>
<tipo_lav>TEST</tipo_lav>
<via>Maria Pia</via>
<codice_presa>5003241303200</codice_presa>
<data_protocollo>01/07/2000</data_protocollo>
</rdl>
</elenco_pratiche>
<esito_ricerca xmlns="">
<esito>OKEL</esito>
</esito_ricerca>
</elencoClienti>
both elenco_pratiche and esito_ricerca nodes have attribute xmlns="".
How can i remove that?
Thanks in advance
TeoI would suggest you try applying SP2. There were a few fixes in that SP that
addressed different issues related to getParameter().
Hope that helps.
Shridhar
Navin Garg wrote:
I am using a WLS6.1 sp1 server. I send a request with a parameter having an
xml value say param1=<x y='' /> to a servlet from a java client.
In the servlet when I try to retrieve the value of param1 from the request I
get a null value. The same thing works fine with WLS5.1
Any ideas?
tim -
JNDI NameNotFoundException on ctx.lookup in WLS 6.1
Hi dear all
When deploying several entity beans in WLS 6.1 we always get a
NameNotFoundException on the ctx.lookup for each bean. The JNDI name is
defined (for every bean) in the IDE and also available in the WLS console
(i.e. also in the deployment descriptor).
Calling the ctx.lookup on the JNDI name for a DataSource defined in WLS does
not raise an NameNotFoundException but a ClassCastException on the following
"narrow" method (a DataSource object is not a bean --> so the WLS/VM runtime
environment works right).
Obviously, the JNDI names for the beans can not be determined/found
correctly because of a deployment/version problem?!
We're using JBuilder 5.0 and WLS 6.1SP1 on NT 4.0 (might be a/the problem?).
Thx in advance
MarkusThe java:comp/env namespace is specific to each individual component (i.e.,
every component can potentially see a different set of objects with different
names and/or the same objects with different names). For an EJB reference
lookup, I believe that we automatically bind it under java:comp/env/ejb so if
you specify the name of the ejb-ref as MyBeanHome in the ejb-jar.xml file, then
the EJB whose deployment descriptor contains this ejb-ref entry can look up that
referenced bean's home at java:comp/env/ejb/MyBeanHome. When you specify the
JNDI name under which a bean will be deployed, we do not automatically make that
bean home available to other beans in their respective java:comp/env/ejb
namespaces (though they are accessible via the global JNDI name used to register
the bean). To get this, you must create the ejb-ref entries and their
corresponding ejb-reference-description entries in the deployment descriptors.
Hope this helps,
Robert
Programit wrote:
Ditto. I'm experiencing the same problem.
I've spent a great deal of time working with this stuff. I believe Weblogic
is lacking in their support here. It's obvious that something isn't working
correctly, because everything was working fine before I installed WLS6.1
with SP1. In fact, I have two systems running right now: The code and
deployment descriptors are exactly the same. The System works fine in
WLS6.1. The System does NOT work in WLS6.1 SP1 becuase of these damn Naming
issues.
We've deployed with the BEA RDBMS Security Realm -- without modification.
Other than that, everything else is pretty standard. The JNDI tree on the
Weblogic console doesn't work either. It says it can resolve "comp"!!!!
"kefah Seyed" <[email protected]> wrote in message
news:[email protected]...> Hi Markus
I send this message because I have the same
problem with JNDI. My envirronment is the
same : I'm under nt 4.0 with weblogic 6.1
but I use Together 5.5 and I tried to deploy manually the EJB.
But it's always the same error.
I tried under WebSphere and with a name
like "java:comp/env/ejb-name" it work.
So I tried all I could if you have a solution now please send me amessage. -
SAX Parser throws NullPointerException
Hi.
I'm using WLS6.1 SP1 built-in XML SAX parser. The code is like,
SAXParserFactory factory = SAXParserFactory.newInstance();
XMLReader parser = factory.newSAXParser().getXMLReader();
// Add a error handler
eh = new MyErrorHandler();
parser.setErrorHandler(eh);
parser.setContentHandler(this);
// Enable namespace
parser.setFeature("http://xml.org/sax/features/namespaces", true);
// Enable validation
parser.setFeature("http://xml.org/sax/features/validation", false);
parser.parse(new InputSource(in));
The NullPointerException is thrown at -
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:965)
after the end element of (</eb:MessageHeader>) before the start element of <SOAP-ENV:Header>.
The XML file is attached.
=====================================
However, I tried to parse this document on xerces parser 131.
It worked fine.
=====================================
Did I miss any thing? It seems like a bug to me.
Thanks!
[header.xml]SAX should mask the fact that some content is specified inside of a CDATA section.. It is just characters.
The safest way to process characters is to setup a StringBuffer or equivalent in the startElement method. There is a variation of the StringBuffer append method that has the same three parameters (char[], int, int) as the characters signature. The characters method may be called many times before you are given all of the content of the string. How it decides when to call you depends on the parser and is subject to change over time. But, if you accumulate the contents in each call of characters and do the toString() in the endElement method you are going to get the right content. Lots of people over the last year or so that I've been involved in this forum have had other ways they thought were better than this, but most of them have eventually tried and accepted this way because it works and their "better" way did not.
It looks like you got the content for the CDATA section (Please refer...).I'm not sure what your problem is.
Dave Patterson
Maybe you are looking for
-
Apple DVI to ADC Adapter - DID NOT WORK !!!!
I have a PowerMac G4 Model M5183 and I wanted to connect it to a 20" Apple Cinema Display that I got. Because the display output on the computer is different than the monitor, I bought the Apple DVI to ADC Adapter that everyone talks about on the sup
-
Display output based on oldest date
I am developing picking list report. I have fetched the data into final internal table consisting of the fields material number, batchno, shelf life expr date, pick qty, actual qty and bin number based on some conditions from different tables. Now,
-
Webdynpro for ABAP - Interactive Form property 'Enabled'
Hi All, I have developed a webdynpro and created a Interactiveform in main view. In Property if i check Enabled the form is not displaying in the output. If I uncheck it 'The form is not interactive (means user input not allowed)'. How can i make the
-
Cannot edit track info in itunes
I just downloaded iTunes v. 10.6.3.25 I connected my iPhone to my computer and let iTunes see that it's there. If I try to go in under devices to my music library that is on the phone NOT in the library on the computer and try to right click, get inf
-
New outlook not working in safari
Hi all, I have multiple Macs. Once Hotmail changed over to Outlook, my Safari opens outlook (hotmail) but it is all messed up. I contacted MS Help and they said they can fix it for a fee. I said it ain't a Safari problem, it is a MS problem. C