Does WebLogic mangle EJB names?
My web app has an EJB named like this in web.xml:
<ejb-ref-name>ejb/MTI/UserManager</ejb-ref-name>
The code tries to look up that EJB using the initialContext.lookup() method,
using the name specified above. This works under Orion 1.5.2, but under
WebLogic 6.1 sp1, it throws this exception:
javax.naming.NameNotFoundException: Unable to resolve
ejb.MTI/UserManager Resolved: '' Unresolved:'ejb' ; remaining name
'MTI/UserManager'
Notice that the first slash is a period in the WebLogic exception message.
Is WebLogic mangling EJB names? What should I do to get my web app to work
under WebLogic?
As an aside, its not a good idea to have your EJB lookups and your JNDI
names the same.
ejb/MTI/UserManager is the correct convention for the ejb-ref-name - which
is what your code is looking up.
Your JNDI name should look something like Application.Component.Version (if
you have to version... otherwise leave it off)
Not that this is the answer to your problem - but when you do this, you will
have a clearer understanding if your lookup in your code is wrong or whether
your JNDI mapping is wrong.
"Eric Hodges" <[email protected]> wrote in message
news:3c6a87fb$[email protected]..
>
"Kumar Allamraju" <[email protected]> wrote in message
news:[email protected]..
Have you defined the corresponding ejb-ref-name & mapped it to
the actual jndi name in weblogic.xml
Refer the following doc
http://e-docs.bea.com/wls/docs61/webapp/web_xml.html#1020090
You mean like this?
<ejb-reference-description>
<ejb-ref-name>ejb/MTI/UserManager</ejb-ref-name>
<jndi-name>ejb/MTI/UserManager</jndi-name>
</ejb-reference-description>
If so, then yes. That's in my weblogic.xml file.
Similar Messages
-
Does Weblogic server 8.1 support "LIMIT and OFFSET" in EJB QL?
hi,
Can any one tell me does 8.1 server support "limit" and "offset" keywords in EJB-QL?
I tried to define a finder method in the workshop with the following syntax:
@ejbgen:finder ejb-ql="SELECT OBJECT(o) from EmpBean OFFSET ?1 LIMIT ?2" generate-on="Local" signature="Collection findEmp(java.lang.Integer st,java.lang.Integer en)"
I get the following error
ERROR: ERROR: Error from ejbc: [EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
ERROR: Query:
EJB Name: EmpBean
Method Name: findEmp
Parameter Types: (java.lang.Integer, java.lang.Integer)
SELECT OBJECT(o) from EmpBean OFFSET =>> 1 <<= LIMIT 2
EJB QL Parser Error.
39: unexpected token: 1
What am I doing wrong?
thanks<p>I could not find any documentation that suggested LIMIT or OFFSET where supported. Some of our developers needed to use limit, in the end all I could suggest was using a dynamic query and setting the maximum number of results see here
.</p>
<p>
Hussein Badakhchani</br>
</p> -
"Could not locate the bean with the ejb-name XYZ in weblogic-ejb-jar.xml
Hi,
Please someone help me on this...
I'm trying to deploy an application on WLS 8.1 SP4
on HPUX IA64 arch. From the ear file WLS is able to
deploy 3 jars but for the last two jars it's throwing
the below error:
Could not locate the bean with the ejb-name xyz in weblogic-ejb-jar.xml
But ejb with name xyz is defined in the the weblogic-ejb-jar.xml file and it's also present in the
META-INF/ejb-jar.xml file.
I have no clue what's going wrong.
Any help is appreciated.
Thanks
Moulioops! Pls ignore my previous mail. It was for a different problem.
FOr the original problem of "couldn ot locate the bean with the ejb-name XZY in weblogic-ejb-jar.xml":
This happens if you don't have the below files defined
for a JAR/EAR file:
weblogic-ejb-jar.xml and weblogic-cmp-rdbms-jar.xml (needed if you have any Datasource mapped)
These two are basic files required for any JAR/EAR file.
If you dont' have it already you can generate them using
$WLS_HOME/bin/startWLBuilder.sh GUI tool bundled along
with WLS (I used 8.1 SP4) to generate these files ! This tool is really helpful.
- Mouli -
How does weblogic render portal skeleton jsps?
Hi,
how does weblogic render shell?
below is my shell file fragment,
<netuix:head/>
<netuix:body>
<netuix:header>
<netuix:jspContent contentUri="/framework/skeletons/header/pageHeader.jsp"/>
</netuix:header>
<netuix:jspContent contentUri="/framework/skeletons/navigation/topMenu.jsp" />
<netuix:jspContent contentUri="/framework/skeletons/navigation/leftMenu.jsp"/>
<netuix:footer>
<netuix:jspContent contentUri="/framework/skeletons/footer/pageFooter.jsp"/>
</netuix:footer>
</netuix:body>
Do all jsp (pageHeader.jsp, topMenu.jsp, leftMenu.jsp, pageFooter.jsp) rendered parallaly or they rendered as per the flow (as they defined in shell)?
If I set any request attribute in head.jsp or pageHeader.jsp, will it be available in topMenu.jsp or leftMenu.jsp?Ellen,
I am not clear about your question.
User A will only see the data which is retrieved based on it's principal
name (I assume you use principal name as an argument to retrieve the data
from DB).
If you are using p13n cache make sure the principal name is part of the key.
Please provide more details if you see that I did not understand your
question.
Regards,
Michael Goldverg
"ellen" <[email protected]> wrote in message
news:3d6e46ef$[email protected]..
>
My application has multiple portlets which need to display very sensitiveuser
data.
These portlets read user principles from session (e.g. <weblogic:getproperty>)
and make calls to an EJB to retrieve data from database and display theseuser
specific data.
I didn't specify any synchronize in my code. My concern is when two useraccess
the portlet at the exact same time, will user A see user B's data?
Any suggestions or general guide lines about synchronize in portal will bevery
helpful.
Thanks,
Ellen
These portlet (.jsp file) -
Problems clustering a Weblogic Stateful EJB 3.0
Hello!
I'm developing a Stateful EJB 3.0 with clustering configuration for weblogic 11G. My client gets a reference to the RemoteInterface, invoke a method and it's working. Then I shutdown the server where the EJB was created and the client reinvoke (using the same reference) a method and get's this error:
javax.ejb.EJBException: Exception waiting for response; nested exception is:
java.io.EOFException: Connection closed by peer; nested exception is: java.io.EOFException: Connection closed by peer
java.io.EOFException: Connection closed by peer
at weblogic.iiop.EndPointImpl.handleCloseConnection(EndPointImpl.java:602)
at weblogic.iiop.EndPointImpl.processMessage(EndPointImpl.java:545)
at weblogic.iiop.EndPointImpl.handleMessage(EndPointImpl.java:500)
at weblogic.iiop.EndPointImpl.dispatch(EndPointImpl.java:324)
at weblogic.iiop.ConnectionManager.dispatch(ConnectionManager.java:126)
at weblogic.iiop.MuxableSocketIIOP.dispatch(MuxableSocketIIOP.java:302)
at weblogic.socket.BaseAbstractMuxableSocket.dispatch(BaseAbstractMuxableSocket.java:298)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:915)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:844)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:335)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
javax.ejb.EJBException: Exception waiting for response; nested exception is:
java.io.EOFException: Connection closed by peer; nested exception is: java.io.EOFException: Connection closed by peer
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:109)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:91)
at $Proxy0.getMas(Unknown Source)
at com.ibermatica.pruebas.pruebaEJB30SF.getPrueba(pruebaEJB30SF.java:79)
at com.ibermatica.pruebas.pruebaEJB30SF.main(pruebaEJB30SF.java:26)
Caused by: java.io.EOFException: Connection closed by peer
at weblogic.iiop.EndPointImpl.handleCloseConnection(EndPointImpl.java:602)
at weblogic.iiop.EndPointImpl.processMessage(EndPointImpl.java:545)
at weblogic.iiop.EndPointImpl.handleMessage(EndPointImpl.java:500)
at weblogic.iiop.EndPointImpl.dispatch(EndPointImpl.java:324)
at weblogic.iiop.ConnectionManager.dispatch(ConnectionManager.java:126)
at weblogic.iiop.MuxableSocketIIOP.dispatch(MuxableSocketIIOP.java:302)
at weblogic.socket.BaseAbstractMuxableSocket.dispatch(BaseAbstractMuxableSocket.java:298)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:915)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:844)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:335)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
The description of my test is:
+I have a Weblogic cluster (c1, c2)
+I have developed an 3.0 Stateful EJB (configurated for replication)
+My client gets an EJB Instance from c1 and invoke one method (debugging)
+I stops my client
+I shutdown my server (c1)
+My client invokes another EJB method end gets the error described before.
It seems like the Server don't replicate the EJB.
My replicatión ejb deployment descriptor is (weblogic.xml):
<weblogic-enterprise-bean>
<ejb-name>Session30EJBSFBean</ejb-name>
<stateful-session-descriptor>
<stateful-session-clustering>
<!--<home-is-clusterable>true</home-is-clusterable>
<home-load-algorithm>random</home-load-algorithm>
<replication-type>InMemory</replication-type>-->
<use-serverside-stubs>true</use-serverside-stubs>
<replication-type>InMemory</replication-type>
</stateful-session-clustering>
</stateful-session-descriptor>
</weblogic-enterprise-bean>
My ejb bean class is:
@Stateful(name = "Session30EJBSF", mappedName = "clustering30-cluster301-Session30EJBSF")
@Remote
public class Session30EJBSFBean implements Session30EJBSF {
private SessionContext _context;
private int contador= 0;
private String user="";
public Session30EJBSFBean() {
public void inicio(String user){
this.user= user;
contador=0;
public void mas(){
contador++;
public int getMas(){
return contador;
public String getUser(){
return this.user;
My Remote EJB:
import javax.ejb.Remote;
@Remote
public interface Session30EJBSF {
public void inicio(String user);
public void mas();
public int getMas();
public String getUser();
My client:
public class pruebaEJB30SF {
public pruebaEJB30SF() {
super();
public static void main(String[] args) {
pruebaEJB30SF pruebaEJB30SF = new pruebaEJB30SF();
try {
pruebaEJB30SF.getPrueba();
} catch (Exception e) {
e.printStackTrace();
public Context getInitialContext() throws NamingException {
//String url="t3://c1:8001";
String url="iiop://c1:8001";
String user="any";
String password="any";
Properties p= new Properties();
//p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.T3InitialContextFactory");
p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL,url);
p.put(Context.SECURITY_PRINCIPAL,user);
p.put(Context.SECURITY_CREDENTIALS,password);
return new InitialContext(p);
public void getPrueba() throws NamingException, RemoteException,
CreateException {
// <PROFILING>
Context ctx= getInitialContext();
//2.0 Stateful
Object ref= ctx.lookup("clustering30-cluster301-Session30EJBSF#.Session30EJBSF");
Session30EJBSF home= (Session30EJBSF)PortableRemoteObject.narrow(ref, Session30EJBSF.class);
Session30EJBSF ejb=home;
ejb.inicio("User1");
ejb.mas();
System.out.println( ejb.getMas());// I put here a breakpoint and I shutdown the serer c1
ejb.mas();
System.out.println( ejb.getMas());
ejb.mas();
System.out.println( ejb.getMas());//Caida
ejb.mas();
System.out.println( ejb.getMas());
I have developed a EJB 2.1 and a EJB 2.1 client and it's working. The most important change betwin ejb 3.0 client and my 2.1 client is that in 2.1 I use the getHandle method and a Home, not a Remote.
Please, can anyone help me.
Thanks.Hi,
Please change your Client Code as below: URL must be pointing to the comma Separated address of your ManagedServers Address/Port which are part of Cluster like For Example Suppose you have 2 managedServers in ClusterA ..... t3://MS1Host:8003,MS2Host:8005
public Context getInitialContext() throws NamingException {
<strike><font color=red>String url="t3://c1:8001";</font></strike>
<b>String url="t3://ManagedServer1HostName:port,ManagedServer2HostName:port";</b>
String user="any";
String password="any";
Properties p= new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL,url);
p.put(Context.SECURITY_PRINCIPAL,user);
p.put(Context.SECURITY_CREDENTIALS,password);
return new InitialContext(p);
Thanks
Jay SenSharma
http://weblogic-wonders.com/weblogic (WebLogic Wonders Are here) -
Issue while creating connection pool in weblogic using SERVICE NAME
Found two issues while creating connection pool in weblogic using SERVICE NAME
1. While running apps from jdeveloper using xxx-jdbc.xml
weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Io exception: The Network Adapter could not establish the connection
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
2. Configuriing the jndi in Weblogic server
weblogic.common.ResourceException: Could not create pool connection. The DBMS driver exception was: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
The Connection descriptor used by the client was:
localhost:1521:SERVICENAME
at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:253)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
Problem
database url is generated based on SID
eg: jdbc:oracle:thin:@localhost:1521:SID
Solution
(generate seperate url for SERVICE NAME)
jdbc:oracle:thin:@localhost:1521/SERVICENAME
------------------------It is so clear: host not found error for network connection and the other SID servcie name not found means your oracle instance name is not up. check with srvctl status for given servcie name or node, else check CRS_Stat -t if you are using RAC.
-
Call another WebLogic's EJBs from resource adapter?
Is it possible to call another WebLogic's EJBs from a resource adapter?
A call to the javax.naming.InitialContext(Hashtable environment) results in a
VersioningError:
weblogic.common.internal.VersioningError: Incompatible service packs in CLASSPATH:
(BEA Systems, WebLogic Server 6.1 SP4 11/08/2002 21:50:43 #221641 , 6.1.4.0)
not compatible with
(BEA Systems, WebLogic Server 6.1 SP3 06/19/2002 22:25:39 #190835 , 6.1.3.0)
at weblogic.common.internal.VersionInfo.verifyPackages(VersionInfo.java:128)
at weblogic.common.internal.VersionInfo.<init>(VersionInfo.java:60)
at weblogic.common.internal.VersionInfo.initialize(VersionInfo.java:79)
at weblogic.kernel.Kernel.initialize(Kernel.java:122)
at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:101)
at weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitialContextFactoryDelegate.java:166)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:232)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:147)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241)
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at java.lang.reflect.Constructor.newInstance(Native Method)
I'm not sure it will always be possible to match the version, although here upgrading
the SP3 to SP4 will probably be done soon.
Does anyone have experience with this?
Or better: is there any documentation on this issue?
Hi Hans,
Here is the link for Weblogic SP3 / SP4 vulnerability and comparison for
http://216.239.53.104/search?q=cache:RqqaQ3HZdwoJ:www.nipc.gov/cybernotes/2003/cyberissue2003-06.pdf+Versioning+Error+in+BEA+weblogic+6.1+SP3+and+SP4&hl=en&ie=UTF-8
Hope this will help you.
Let me know if u have any further problems.
rgds
KSK
"Hans Bausewein" <[email protected]> wrote:
>
>
>Is it possible to call another WebLogic's EJBs from a resource adapter?
>
>A call to the javax.naming.InitialContext(Hashtable environment) results
>in a
>VersioningError:
>
>weblogic.common.internal.VersioningError: Incompatible service packs
>in CLASSPATH:
>(BEA Systems, WebLogic Server 6.1 SP4 11/08/2002 21:50:43 #221641 ,
>6.1.4.0)
>not compatible with
>(BEA Systems, WebLogic Server 6.1 SP3 06/19/2002 22:25:39 #190835 , 6.1.3.0)
> at weblogic.common.internal.VersionInfo.verifyPackages(VersionInfo.java:128)
> at weblogic.common.internal.VersionInfo.<init>(VersionInfo.java:60)
> at weblogic.common.internal.VersionInfo.initialize(VersionInfo.java:79)
> at weblogic.kernel.Kernel.initialize(Kernel.java:122)
> at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:101)
> at weblogic.jndi.WLInitialContextFactoryDelegate.<init>(WLInitialContextFactoryDelegate.java:166)
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Class.java:232)
> at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:147)
> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241)
> at javax.naming.InitialContext.init(InitialContext.java:217)
> at javax.naming.InitialContext.<init>(InitialContext.java:193)
> at java.lang.reflect.Constructor.newInstance(Native Method)
>
>
>
>I'm not sure it will always be possible to match the version, although
>here upgrading
>the SP3 to SP4 will probably be done soon.
>
>Does anyone have experience with this?
>
>Or better: is there any documentation on this issue?
>
-
Weblogic security & EJB role based access
How does (or not) weblogic security tie into the EJB notion of role based
control ? Can we create a 'custom' security mechanism for EJB (which
basically uses the EJB facilities but extends it within the application) by
using custom weblogic realms ?
Thanks
RajuThanks !
"Terry" <[email protected]> wrote in message
news:[email protected]...
comments inline
r <[email protected]> wrote in message
news:[email protected]...
>>
Here are some more specific questions around an 'example' scenario:
The application has an entity bean 'Account' that can be accessed by the
roles 'Bank Employee' and 'Customer'
'Bank Employee' can execute the 'getBalance()' and 'placeOnHold()'
methods on the 'Account' bean
'Customer' can execute the 'withdraw()', 'deposit()', and'getBalance()'
methods on the 'Account' bean
These permissions are set up through the deployment descriptor by
mapping
the 'Bank Employee' and 'Customer' roles
to the particular bean methods that the role should be given access to.
1. How does weblogic provide the facility to map the EJB deployment
descriptor
<security-role> to a particular weblogic principal (user orgroup)
Or, should I say, how do I map the user or group to a
deployment-descriptor defined role?In the deployment tool, once in the jar select the 'Security' item,create
an application role (in your case it is probably best to create 2 security
roles - the bank employee role refering to the bank employee group (usethe
'in role' checkboxes, and the customer role refering to the customergroup -
there may at some point be use for an allUsers role, which includes both
groups, maybe not. What I am saying is that a role is made of a one ormore
of Principals - in our case groups)
In the Account Bean select the method permissions item, and create amethod
permission perm-0, select the perm-0 item that has just popped up in the
left hand window, tick the box for placeOnHold(), and the boxes for<remote>
and <home> one level deeper than this in the tree (as an aside, I have
absolutely no idea why there would be a 'home' box here, ho hum). Selectthe
'bank employee' 'can invoke' tickbox
Create perm-1, and do what you did above for 'withdraw()' and 'deposit()'
methods, and the 'customer' tickbox
I believe the documents say you would have to set up another permission to
allow both groups access to the getBalance method, but in practive Ihaven't
found this the case.
The documentation for this is at
http://www.weblogic.com/docs51/classdocs/API_ejb/EJB_deploy.html#1102211
(or
search for 'Deploying EJBs with DeployerTool'
2. Are there any administrative tools provided by weblogic to do
this
mapping ?The deployer tool. Otherwise I think it's the acse of writing your own xml
files
3. How much effort & complexity is involved in creating a custom
realm
Hmmm, depends - you could have the RDBMSRealm that is provided in'examples'
in half an hour or so (there is a problem with one of the RDBMSUser's
methods - getUserType or something like that - the solution can be foundin
the newsgroups if you search), the same is probably true of the LDAPRealm,
NTRealm etc (although I have never used these).
Which one you choose depends on what equipment you have available,although
I would say that the RDBMSRealm canuse a lot of optimisation
Thanks,Welcome
Raju
"Terry" <[email protected]> wrote in message
news:[email protected]...
The Principals (i.e. groups and users) from your custom realm are used
to
define application roles for the EJBs, but, as far as I am aware youcannot
use a custom implementation for the ACLs for EJBs
terry
r <[email protected]> wrote in message
news:[email protected]...
How does (or not) weblogic security tie into the EJB notion of rolebased
control ? Can we create a 'custom' security mechanism for EJB (which
basically uses the EJB facilities but extends it within the
application)
by
using custom weblogic realms ?
Thanks
Raju -
Does Weblogic Server 5.1 supports RedHat Linux 6.2?
Hello All,
Does Weblogic Server 5.1 supports RedHat Linux 6.2?
Best Regards,
Samuel Yung
[email protected]FYI.
I am running RH 6.2 and Weblogic 5.10 with no problems.
w/Apache 1.3.12
Only using WL for EJBs and jdbc pool at this time. So your milage may vary.
Michael Girdley wrote:
No, not yet. Version 6.0 will.
The platform support page for WebLogic Server is located at:
http://www.weblogic.com/platforms/index.html
This page has the latest and greatest information on the platforms that
WebLogic is certified and supported on.
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"Samuel Yung" <[email protected]> wrote in message
news:[email protected]..
Hello All,
Does Weblogic Server 5.1 supports RedHat Linux 6.2?
Best Regards,
Samuel Yung
[email protected]
/\/\i|<e
Mike Kincer
Solutions Developer/Engineer
Atlas Commerce "ebusiness evolved"
Office phone: +1-607-741-9988
mailto:[email protected] [http://www.atlascommerce.com] -
Does Weblogic Server 5.1 supports RedHat Linux 7?
Does Weblogic Server 5.1 supports RedHat Linux 7?
Thanx in advance.FYI.
I am running RH 6.2 and Weblogic 5.10 with no problems.
w/Apache 1.3.12
Only using WL for EJBs and jdbc pool at this time. So your milage may vary.
Michael Girdley wrote:
No, not yet. Version 6.0 will.
The platform support page for WebLogic Server is located at:
http://www.weblogic.com/platforms/index.html
This page has the latest and greatest information on the platforms that
WebLogic is certified and supported on.
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"Samuel Yung" <[email protected]> wrote in message
news:[email protected]..
Hello All,
Does Weblogic Server 5.1 supports RedHat Linux 6.2?
Best Regards,
Samuel Yung
[email protected]
/\/\i|<e
Mike Kincer
Solutions Developer/Engineer
Atlas Commerce "ebusiness evolved"
Office phone: +1-607-741-9988
mailto:[email protected] [http://www.atlascommerce.com] -
Weblogic 9.1 with JDK1.6 giving error ( while doing weblogic.appc )
hi,
I am trying to build my ear using jdk1.6 with weblogic 9.1.
I am getting this error while doing weblogic.appc using my ant scripts. Could some one pls let me know the solution for this problem.
[java] Created working directory: c:\windows\TEMP\appcgen_gdoasis.jar
[java] <02-Aug-2007 14:54:22 o'clock BST> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile yo
ur application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
[java] javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLInputFactory could not be
instantiated: java.lang.InstantiationException
[java] at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:158)
[java] at weblogic.ejb.container.dd.xml.DDUtils.<clinit>(DDUtils.java:85)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.parseDescriptors(EJBCompiler.java:1345)
[java] at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:431)
[java] at weblogic.application.compiler.AppcUtils.compileEJB(AppcUtils.java:292)
[java] at weblogic.application.compiler.EJBCompiler.compile(EJBCompiler.java:95)
[java] at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:113)
[java] at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:43)
[java] at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:55)
[java] at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
[java] at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:24)
[java] at weblogic.application.compiler.Appc.runBody(Appc.java:151)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:158)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:115)
[java] at weblogic.application.compiler.Appc.main(Appc.java:162)
[java] at weblogic.appc.main(appc.java:14)
[java] Provider javax.xml.stream.XMLInputFactory could not be instantiated: java.lang.InstantiationExcept
ion
ThanksHi,
First thing, I am not sure this will work :-)
The main issue is that there is no StAX provider to parse I-not-know-what XML file.
You may try to execute appc with the parameter
-Djavax.xml.stream.XMLInputFactory=com.bea.xml.stream.MXParserFactory
Anyhow, you may still have some issues given that Java 6 is not a supported Java version for WL 9.1.
Regards,
lg -
How does weblogic maintain idle JDBC connection
I see weblogic maintaining connections even when they are idle. (unless we explicity mention to remove)
How does weblogic maintain the socket on DB under idle condition? Does webogic do ping kind of activity to maintain/renew the socket for all idle connections in the pool.The test-frequency-seconds property specifies the number of seconds between tests of unused connections. WebLogic Server tests unused connection and reopens any faulty connections. You must also set the Test Table Name.
The seconds-to-trust-an-idle-pool-connection property specifies the number of seconds within a connection use that WebLogic Server trusts that the connection is still viable and will skip the connection test during the periodic connection testing process. -
Does WebLogic Server 8.1 supports ejb2.1(timer service)
1.does WebLogic Server 8.1(SP5) supports ejb2.1 (timer service)?
2. does ejb 2.0 support timer service?Hi,
1. No, EJB Timer support was added in WLS 9.0.
2. No, EJB Timers were introduced in EJB 2.1.
- Matt -
How does weblogic render shell?
Hi,
how does weblogic render shell?
below is my shell file fragment,
<netuix:head/>
<netuix:body>
<netuix:header>
<netuix:jspContent contentUri="/framework/skeletons/header/pageHeader.jsp"/>
</netuix:header>
<netuix:jspContent contentUri="/framework/skeletons/navigation/topMenu.jsp" />
<netuix:jspContent contentUri="/framework/skeletons/navigation/leftMenu.jsp"/>
<netuix:footer>
<netuix:jspContent contentUri="/framework/skeletons/footer/pageFooter.jsp"/>
</netuix:footer>
</netuix:body>
Do all jsp (pageHeader.jsp, topMenu.jsp, leftMenu.jsp, pageFooter.jsp) rendered parallaly or they rendered as per the flow (as they defined in shell)?
If I set any request attribute in head.jsp or pageHeader.jsp, will it be available in topMenu.jsp or leftMenu.jsp?The test-frequency-seconds property specifies the number of seconds between tests of unused connections. WebLogic Server tests unused connection and reopens any faulty connections. You must also set the Test Table Name.
The seconds-to-trust-an-idle-pool-connection property specifies the number of seconds within a connection use that WebLogic Server trusts that the connection is still viable and will skip the connection test during the periodic connection testing process. -
Does Weblogic Provides any in built utility for server side browser detection
Hi
Does Weblogic Provides any in built utility or package for server side browser
detection i.e. to know the browser details
of the client with the first request.
One such available product is BrowserHawk(http://www.cyscape.com).
any thing similar to this available?
Thanks in advance
Mrutyunjay
Hey Mohammed,
yes, you could use just wl server to do file uploading. in your html client
code, you need to specify the type of the data that you are sending as
follows:
<form action="UploadTestServlet" enctype="multipart/form-data" method=POST>
File: <input type=file name=file><br>
<input type=submit>
</form>
This will send your file to be processed by the UploadTestServlet. You need to
code UploadTestServlet yourself to parse and extract useful data. check out
www.servlets.com for a utility class that does just that
Winston
Mohammed Ali Usmani wrote:
> Hi to All;
>
> I want to know if I can use weblogic (webserver) for file uploading from
> client browser without using any ftp server.
> Do I have to use some special code (may be in my servlet/html page) for
> handling this. I mean that do I have to provide the implementation of RFC
> 1867 by myself at server side?
>
> Or it is just merly a browser support? It doesn't effect the webserver at
> all?
>
> Thanks
Maybe you are looking for
-
good day, I'm trying to syncronise my nokia 6300 with the PC (Win XP and Office 2700 up to date and virus free) but when I connect the device (up to date with last system) the syncro starts and it stops showing syncro.. contact 14 of 16... and discon
-
DVD Playback Error Problems.
Hi, When I put in a DVD a initialation error pops up saying Player requires a newer version of DVD Playback frame work [-70103]. How do I fix this? Thanks.
-
Iphoto creates copy in local drive, so you can delete originals, right?
new to mac and iphoto... When you use iPhoto to import pics from a network drive, a copy of those pics is placed in pictures/iphoto library on your local mac. iPhoto works from that copy from now on, and you cn "delete" those photos on the network dr
-
Policy Agent 2.2 for Apache HTTP Server
hi, I'm trying to configure Policy Agent 2.2 for apache http server. The agent seems to be installed properly, in fact when I access the protected resource, I get the Access Manager login page. Then I log into access manager, but I'm redirected to an
-
I downloaded the Advanced Security Manager from the website and installed on my PC. All functions seem to work fine with the exception of the import and export functions. Whenever I attempt to perform either of these functions, Security Manager close