This week's book giveaway is in the Open Source Projects forum.
We're giving away four copies of Eclipse Collections Categorically: Level up your programming game and have Donald Raab on-line!
See this thread for details.

Oleg Shklyar

Greenhorn
+ Follow
since May 28, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Oleg Shklyar

Lara,
Do you have a clustering licence, that is the first and most important question.
This must be written as BIG RED words in the WLS documentation.
23 years ago
Just read the original info from BEA site:
-----------
How do I maintain my certification?
Your certification will last as long as you keep your certification current. Current means that you have passed the current or recent previous version of the test. For example,if the WebLogic 6.0 exam is the current exam, you would be current if you passed it or the 5.1 version. If you had passed the 4.51 version you would no longer be current.
-----------
If you are WLS6.x certified Developer you will no longer be current when version 8 will be issued.
Thanks,
Oleg
BEA WLS6.x CD
SCJ2P
23 years ago
I just realized that the context of discussions here is "political-nationalist" oriented, otherwise ... why there are so many anti-Russian/Korean postings here?
Are you guys Java-oriented (RANCH HANDs and BARTENDERs) or politicians???
There are bunch of "dirty" topics for discussion( Afgan/Vietnam/Korean wars; Irangate/Zippergate(*gates); Hiroshima/Nagasaki nuclear attacks; Jugoslaviya and long list of them ).
But the question is: DO WE NEED IT???
If "yes", probably not at that website.
If "no", DO NOT RIP UP and SET TO FIGHT Canadians and Americans ( those nations are artificial - great mix of world-wide representatives) against Russians.
"Cold War" miracle is over...
I'm in global multicultural hi-tech society... Where are you???
23 years ago
Hi Rashid,
Congratulations!!!
Good job
Oleg
23 years ago
Hi ranchers,
Take a look at this article http://www.theserverside.com/home/thread.jsp?thread_id=12019.
By the way, BEA used Oracle 8.1.7 database and Appeal JRockit product, not Sun JDK.
Thanks,
Oleg
23 years ago
Hi,akansal
>which topics are the most crucial one's?
I'd say clustering. There is no choice to get it in practise - trial version of WLS doesn't cover clustering.
Additionally there were a bunch of JSP/Servlet questions (I was very surprised) and strong accent on transactions.
I 100% agree with David Kaaret's point of view:
see http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=40&t=000891
Oleg
23 years ago
Hi ranchers,
I'd like to thank Joe McGuire for his exellent job, you site is very and very useful.Also I'd like to thank those people who shares knowledge about J2EE and WLS. Thank you, now time to have a good rest.
Oleg
23 years ago
Finally, I've got the solution. It's regarding classloaders: please remember about them. The easiest way to add third-party component workable within WL domain is to add it's classpath to the startWeblogic script file, so when WL server starts it's system loader represent third-party components. If you don't have everything packed in .ear file (there are a separate .war and .jar files), then remember to include EJB home and remote interfaces in the .war file.
It's pretty good explained in "Developing WLS Application" Chapter 3, p.3-8, 3-9.
I hope it will save a little time for those people who want to enable third-party utilities into WebLogic Server solution.
Oleg
23 years ago
Hi Marcos,
Congratulations, great job.
Will you please share with us how you can compare your best score in Joe mock exam and real exam? Did you do any statistics?
Thanks,
Oleg
23 years ago
Hi Eric,
Thanks a lot for your suggestion.
I put Oracle's jar files in
c:\bea\wlserver6.0\lib and classpath includes them. But still no positive result.
So oracle's class is not visible for ejb client,
when I run simple java client everything is fine.
Thanks,
Oleg
23 years ago
Hi Alex,
check the the BEA WebLogic Server Administration Guide, chapter 1 and 2.
There is a good introduction there about how to run additional, Managed servers, within one domain.
Oleg
23 years ago
Hello, guys!
I have to implement solution as Session stateless bean can deliver xml string using Oracle XML-SQL Utility (XSU). So one of the business method gets connection from connection pool and pass that connection and sql query to OracleXMLQuery constructor. Find below code:
OracleXMLQuery qry = new OracleXMLQuery(conn, "select * from employee");
strXML = qry.getXMLString();
I'm getting the exception see dump)
<Jan 8, 2002 12:56:19 AM PST> <Info> <EJB> <EJB Exception during invocation from home: del
ivery.DeliveryHandlerBeanHomeImpl@42d9a threw exception: java.lang.NoClassDefFoundError: o
racle/xml/sql/query/OracleXMLQuery
java.lang.NoClassDefFoundError: oracle/xml/sql/query/OracleXMLQuery
at delivery.DeliveryHandlerBean.getXML(DeliveryHandlerBean.java:104)
at delivery.DeliveryHandlerBeanImpl.getXML(DeliveryHandlerBeanImpl.java:110)
at delivery.DeliveryHandlerBeanEOImpl.getXML(DeliveryHandlerBeanEOImpl.java:31)
at delivery.DeliveryHandlerBeanEOImpl_WLSkel.invoke(DeliveryHandlerBeanEOImpl_WLSk
el.java:92)
at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:12
8)
at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.jav
a:118)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:17)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
Looks like trivial: class didn't load. My classpath includes oracle jar files (I run simple java client application without weblogic and ejb - works fine).
What should I do in order to load that class:
I put all jars in
mydomain\applications\webApp\WEB-INF\lib directory - no positive effect.
Please help, I appresiate in advance.
Oleg
23 years ago
Hi there,
I am not sure if guys from Sun used that "validatenewuseraccount" stuff
(look at the beginning of the jsp
<%--
% XXX This file does not seem to be used:
% XXX REMOVE
--%> ),
but the their idea (PetStore Request handling) is to map URLs to constant strings in com.sun.estore.control.web.ScreenNames plus list of int constants.
Also ScreenFlowManager class provides getting the next jsp where getCurrentScreen method is used. And finally look at the
RequestToEventTranslator class , I think that it is obvious.
Hope this helps.
Thanks,
Oleg
23 years ago
Hi guys,
Just little bit objective info for further discussion:
- IBM bundles WebSphere soft pack with hardware (one of the company I know get it together with Compaq server) for a pretty good price;
- the guys from the same company(see above) spent so-o much time to figure out and to fix every day WebSphere3.5 ( I've heard 4.0 is much better).
- one more thing: client wanted to use some specific Windows only application working together with Application Server - the solution was to use JIntegra(now it is integrated with BEA WLS6.1);
- WebSphere 4.0 still doesn't support EJB2.0 (or am I wrong)?
I think this is the hard time for very specific and dedicated business like BEA(IBM spreaded its business everywhere: hardware, RDBMS, support for several software solutions on VisualAge base(C++, Java, COBOL) plus Smalltalk and so on - they are a little bit flexible to survive in that jobless calm).

23 years ago
Hi nand,
Step by step with the limitations of clustering:
- your cluster must be in LAN;
> I created machines , server ( I suppose that these are WLS server instances on separate phisical boxes);
- you have to have licence for clustering (I'm not sure if it works with 30-days demo version);
- if you are not using firewall it is OK, otherwise you have to bind servers to DNS;
- with using multicast they require you to use different dedicated multicast IP address: for servlet clustering and for object clustering;
- create machines;
- create WL server instances (use the same port for every instance; assign IP and machine name to each instance);
- create cluster with defining DNS(or IP) of each instance and multicast address;
- if you gonna replicate session state (servlets or session EJB) configure Replication Groups;
- homogeniously deploy web apps and ejbs; (be sure to mention about clustering in their deployment descriptors!!! For instance, for ejb you have to supply info into <entity-clustering> stanza - in that case you don't need explicetely generate replica-aware stubs -> ejbc will check supplied settings and automatically perform this task)
- start Admin server, then start all managed servers;
Thanks and good luck.
Oleg
23 years ago