OAS and CORBA
Hi,
Can a CORBA object deployed in OAS invoke
methods of other CORBA objects in other ORBs?
Is it true that with Oracle 8.1.5 this is not
possible? Because we have tried and it does
not work.
Also we have found at the site metalink.oracle.com the document
"Configuring Oracle8i for IIOP" that says it should be possible the interoperability with
other ORBs (by adding another dispatcher).
And this confusing me ....
Does anyone know the true story?
filippo
We are planning to use OAS 4.0.8 with the >>JServlet cartridge and an
Oracle DBMS. Is it possible to run this >>configuration without CORBA/EJB?
Sure, but it really depends on what you're >trying to do. We do a lot of simple >projects using nothing more than Servlets >and JDBC. However, maintaining state is a >pain. If your requirements require >transactions, use EJBs. If you think that >you can reuse parts of your project, make >them EJBs.and you could go a step further and use Business Components for Java... the BC4J framework allows you to productively develop your business logic and then the framework provides flexible deployment options wherein you can deploy your application in multiple deployment scenarios without modifying your source code at all.
Check out the whitepaper at http://technetinside.us.oracle.com/products/jdev/info/techwp20/wp.html for details.
The 'OnlineOrders' sample in the JDeveloper3.0/samples/bc4j walks through a complete application.
Regards,
Arun
null
Similar Messages
-
JAVA IDE options for development against OAS and Oracle8i
I'm wondering whether JDeveloper is the only Java IDE option
when developing Java apps for deployment on OAS and Oracle8i.
Is it possible to use VisualCaf or Jbuilder instead and how
does these tools compare to JDeveloper?
nullJesper Bech Petersen (guest) wrote:
: I'm wondering whether JDeveloper is the only Java IDE option
: when developing Java apps for deployment on OAS and Oracle8i.
: Is it possible to use VisualCaf or Jbuilder instead and how
: does these tools compare to JDeveloper?
JDeveloper2 provides a natural coupling to OAS and 8i which no
other tools offer. The Connection Manager, Oracle's InfoBus
beans, Info Form wizards, CORBA definition wizards, deployment
wizards for 8i etc. are all there to tie the suite together.
I used JBuilder with 8i813beta well before JDev2Beta was
released for Web Server Applications/CORBA. 8i provides a
number of command line utilities(loadjava, dropjava, publish,
sess_sh etc) to perform the deployment of CORBA objects. JDev2
are essentially calling those utilities but wrapped around a GUI.
You can certainly use other tools but you will probably discover
some critical features are missing. Features such as SQLJ
support and a light weight servlet engine for debugging servlets
are well worth it.
One thing I hope Oracle would address is remote debugging of
Java in the Database(either JSProcs/CORBA objects). You can
certainly debug CORBA objects outside the database using
Visibroker/OSAgent but this means you have to change a lot of
code for debugging b/c Visibroker doesn't support sess_iiop nor
AuroraJTS.
DEV TEAM ARE YOU LISTENING!!!<g>
There are a number of other concerns that I've listed in a
post "heavy IIOP issues - 8i/408" but nobody has responded to
that and probably never will.
I think JDev3 with OBC4J will offer further encouragement to
move away from other dev tools though. Depending on whether
your organisation will take advantage of this new enterprise app
framework you may not need to make the move. I dont know I
haven't used it but I'm waiting in anticipation. I'd be
interested in hearing what the beta testers are saying about the
speed issues!
rgds ash
null -
Re: (forte-users) Forte and CORBA question
Hi,
The discarding the Java variable that references a distributed Forte object
doesn't cause that the distributed object will be reclaimed. In Forte client
you can use ReleaseDistReference() of the current partition (task.part) to
free the remote object. For Java client, you can implement the following
solution:
- define a method ReleaseMyObject() in the SO you are using to get the proxy
to the dist. object. As parameter for it use something that can identify
your object (attribute).
- your SO has an array or hashtable with your distributed objects, every new
object is added to it.
- in the implementation of ReleaseMyObject() find the object to release in
the array and call ReleaseDistReference() for it,
- from the Java client, call the ReleaseMyObject() for the object that is
not more needed.
Regards,
Zenon Adamek
----- Original Message -----
From: Joseph Mirwald <jomirweb.de>
To: Dave Ortman <dortmanyahoo.com>; 'Forte User Forum'
<forte-userslists.xpedior.com>
Sent: Wednesday, March 07, 2001 3:58 PM
Subject: Re: (forte-users) Forte and CORBA question
Hello Dave,
do you use a copy return or copy parameters in this method ?
If not, then maybe Forte is unable to garbage-collect this object because
it is forever
a proxy which only the server-partition may be able to drop it from memory
(object=NIL).
Try this and let us know what happens.
Hope this helps
Joseph Mirwald
At 11:49 07.03.01 -0800, Dave Ortman wrote:
We're attempting to use a Java client to access a
Forte server. In doing such, we've experienced a
problem which I hoped somebody could shed some light
on.
We've had a Java client calling Forte service objects
and passing Forte objects back and forth as CORBA
structs with no problem. However, we have experienced
some problem obtaining and using remote references to
distributed objects from the Java client.
The problem is memory utilization. Each time I obtain
a reference to a new object, the memory utilization on
the Forte server jumps up quite a bit (around 100k per
object on an NT box). Eventually, if I fetch enough
objects, the server will crash due to lack of memory.
It seems that Forte never reclaims the memory, even
though I'm not using (and don't have a handle to) this
remote objects.
The objects are very small. In fact, I created a test
Forte SO with one method, getObject(); which returns a
distributed object with a single attribute. I then
have a Java client access the getObject() method
repeatedly - discarding the reference to the object
after each iteration. After a short while, the box
will come down.
Any thoughts?
Thanks in advance,
-Dave Ortman
--- "Epari, Madhusudhan" <meparioxhp.com> wrote:
Hi All,
Following error occurs consistently on a router
partition for every call to
the service object but the partition doesn't die or
crash. I tried bumping
up the partition memory too. Any thoughts on why
it's happening?
Thanks in advance,
Madhu
SYSTEM ERROR: Failed to connect or lost connection
to the
environment manager
at FORTE_NS_ADDRESS = <Unknown>. Check that the
environment
manager is
installed at that location. If it is, then check
to be sure that
there are
enough system resources available to support this
partition.
Class: qqsp_SystemResourceException
Error #: [601, 201]
Detected at: qqdo_NsClient::FindObject at 1
Error Time: Wed Feb 21 09:30:56
Exception occurred (locally) on partition
"CSA_cl0_Part2-router",
(partitionId =
C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1,
taskId =
[C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c.8]) in
application
"MWRouting_cl1", pid 18937 on node forted1 in
environment
frtedev.
SYSTEM ERROR: Attempt to send from a partition
(C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1)
that no
longer exists.
Class: qqsp_DistAccessException
Error #: [601, 111]
Detected at: qqdo_PartitionMgr::SendMsg at
1
Error Time: Wed Feb 21 09:30:56
Distributed method called:
qqdo_NsServerProxy.FindObject
(object name
Unnamed) from partition
"CSA_cl0_Part2-router",
(partitionId =
C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1,
taskId =
[C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c.8]) in
application
"MWRouting_cl1", pid 18937 on node
forted1 in environment
frtedev
Exception occurred (locally) on partition
"CSA_cl0_Part2-router",
(partitionId =
C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c:0x1,
taskId =
[C61609A0-8270-11D3-88A9-F4D005D0AA77:0x10c5c.8])
in
application "MWRouting_cl1", pid 18937 on
node forted1 in
environment
frtedev.
LbRouter::FindMembers - CAUGHT EXCEPTION attaching
members from
For the archives, go to:
http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To
unsubscribe, send in a new
email the word: 'Unsubscribe' to:
forte-users-requestlists.xpedior.com
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com--
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.comWhy not this:
while myText.moveToString(' ') do
myText.ReplaceRange('-', myText.Offset, myText.Offset+1);
end while;
or if you prefer verbosity:
while myText.moveToString(source=' ') do
myText.ReplaceRange(source='-', startOffset=myText.Offset,
endOffset=myText.Offset+1);
end while;
-----Original Message-----
From: FatchJeBAM.com [mailto:FatchJeBAM.com]
Sent: Wednesday, January 12, 2000 2:51 PM
To: Troy.Burnsvacationclub.com; kamranaminyahoo.com
Subject: RE: (forte-users) search and replace within a TextData
How about this?? May have to play with start/end on ReplaceRange as I
didn't really test this
Anybody got a better way??
-- replace space with underscore
For x in 1 to myTextdata.LengthToEnd() do
If myTextData.IsSpace() then
MyTextdata.ReplaceRange('_'. Startoffset=myTextdata.offset,
endoffset=myTextdata.offset+1);
End if;
MyTextdata.MoveNext;
End for;
Jerry Fatcheric
-----Original Message-----
From: Burns, Troy [mailto:Troy.Burnsvacationclub.com]
Sent: Wednesday, January 12, 2000 9:40 AM
To: kamranaminyahoo.com
Subject: (forte-users) search and replace within a
TextData
Hello all,
I need to search within a textdata object, replacing all
occurrances of a
space
with another character. Can you give a quick code example
of how I would do
this?
Thanks in advance,
Troy
Troy Burns
Marriott Vacation Club Intl.
E-mail: troy.burnsvacationclub.com
Phone: (941) 688-7700 ext. 4408
For the archives, go to: http://lists.sageit.com/forte-users
and use
the login: forte and the password: archive. To unsubscribe,
send in a new
email the word: 'Unsubscribe' to:
forte-users-requestlists.sageit.com
For the archives, go to: http://lists.sageit.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.sageit.com -
Is Corba still around or is Java EE the new standard in distributed apps?
I'm wanting to implement Corba in a solution where a web application communicates via Corba with a server application. The server application performs caching and data retrieval. I'm having trouble finding where to download the neccessary tools to develop a Corba app and if there's a Netbeans plugin.
In older versions of Netbeans, one can enable RMI and Corba distributed application but I can't find the option in versions 6.8 and 6.9.
Thanks.Yeah it was a multi-question post. I forgot Java EE runs over Corba. I thought about web services in my app but since the front end is a web app already, I didn't see the reason to go that route. What I wanted to do was run a standard Java application in the background on the server that processes csv, processes new database entries, etc. The web application would call upon this Java app for data. The Java app would retrieve it from a cache and spit it back to the web app. If data wasn't in the cache, it would continue in the background processing data for the cache after the data has been passed back to the web app.
Maybe there's a way to have such an app run within the web container that I'm not aware of? I'm using Tomcat.
Oh wait! What if I created the standard app as a web services app and have the web application just call it? but then can the web services app monitor for csv file updates? -
OAS and Developer Server 6.0 on NT 4 sp 5 DBMS 8i
Hi, I installed first 8i, then in another oracle home (OH) I installed OAS and when I tried to install ODS this fail.
I can4t find the installation manual. I need it.Install Developer server first as some version of it are not multiple home aware.
Then install the other software.
Regards,
Mike
null -
I have successfully installed OAS 4.0.8.1 on Linux RedHat 6.1. The default (oracle) http listner runs fine, after setting it to port 81. I did this because the default http server for Linux (Apache 1.3.9-4) is on 80. I would like to use Apache as my http listner, and have found some documentation on how to do this at http://www.olab.com/doc/books/admin/thirdp.htm, but am a little confused with the instructions. It states that Apache must be compiled with mod_so support. I have verified that this is so with the "httpd -l" command. Before that, it mentions that...
"libapadp.so must be linked into the Apache HTTP Server." Can anyone tell me how this is done, and with which version of Apache should be used? 1.3.6 seems to be a popular one and is mentioned in the Oracle Application Server Installation Guide for Release 4.0.8.1 in Certified Software.
I have tried to move libapadp.so and ndwfapd.so into the /modules subdirectory my Apache install (once again 1.3.9-4) and adding "LoadModule ows_module ndwfapd.so" in my httpd.conf file, but when the server tries to start, I get the error message...
"Cannot load /etc/httpd/modules/ndwfapd.so into server:libapadp.so: cannot open shared object file:No such file or directory"
Has anyone run into this problem? I imagine many people have done this. As I am new to Linux and OAS and Apache, maybe I'm missing something fundamental that I haven't learned yet, but hey, isn't this what learning is all about?
If anyone can help me with this hurdle, I would greatly appreciate it.
Thanks in advance,
KirbyHi Guys,
I am pulling my hair out with this one too.
I tried to link the library "libapadp.so" to
apache using the Makefile in the source directory by adding the path and libapadp.so to the EXTRALIBS variable. It works in the
sense that it tried to link the lib but fails because there are a bunch of unresolved dependencies. As somebody else stated, Oracles documentation sucks. I ask for support and got sent here, I guess that they don't know how to make it work either.
Will let you know if I have any success.
Brett.
[email protected]
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jason Gerry ([email protected]):
I've been working on this problem as well. I haven't got it to work YET, but I'm trying.
Your error message is relating to Apache not being able to find the shared module. You can fix this by telling it explicitly where to find it since it doesn't seem to be in the PATH.
LoadModule ows_module /opt/app/oracle/product/8.0.5/ows/4.0/lib/ndwfapd.so
Your directory structure may be different. In any case, this SHOULD work, my Apache listeners start up, but they don't actually respond to requests and they freeze the machine. Oh well.
Still working on it!
jason
<HR></BLOCKQUOTE>
null -
OAS and LDAP or OAS and OID ???
1) Is OAS and LDAP a good combination or OAS and OID ???
how do we connect and make use of LDAP from OAS?
please let me know
thanks in advanceGet hold of Whitepaper 774783.1 LDAP Integration for Oracle Utilities Application Framework based products from My Support
-
Jsp and corba :help !!!
Hi,
i am working about a web application which is willing to extend, so we want to fix in the cleanest way, the architecture. we think for example about CORBA, have you got a better idea, could you send me some addresses where i could find very clear examples about applications using jsp and corba or something else!
thank you very much if you can help me
crisHi bx1,
here iam giving you some example jsp with corba it will help you
I got from wrox book
<!-- WroxQuotes.jsp -->
<html>
<head>
<title>
WroxStocks Quote Service
</title>
</head>
<body bgcolor="#CAFD90">
<%@ page import="WroxStocks.WroxQuotesPackage.Quote"
errorPage="WroxQuotesError.jsp"%>
<jsp:useBean id="WroxQuotesBean" scope="application"
class="WroxQuotesBean" >
<%
String port = application.getInitParameter("ORBInitialPort" );
String host = application.getInitParameter("ORBInitialHost" );
WroxQuotesBean.init(port, host );
%>
</jsp:useBean>
<%
String symbols = request.getParameter( "Symbols" );
Quote[] quotes = null;
try {
quotes = WroxQuotesBean.getQuotes( symbols );
} catch( WroxStocks.UnknownSymbol us ) {
response.sendError( 202, "Unknown symbol: " + us.unknown );
%>
<table border align="center">
<tr align="center" bgcolor="FFFFFF">
<td>
<table>
<caption align="top" style="font:14pt">
<b>WroxStocks Stock Quotes</b>
</caption>
<tr align="center" bgcolor=Silver>
<th width=100>SYMBOL</th>
<th width=100>VOLUME</th>
<th width=100>BID</th>
<th width=100>ASK</th>
<th width=260>AS OF</th>
</tr>
<%
for(int i = 0; i < quotes.length; i++) {
if( ( i % 2 ) == 0 ) {
%>
<tr align="right" bgcolor="#FFFFFF">
<%
} else{
%>
<tr align="right" bgcolor="#E0E0E0">
<%
%>
<td align="center"> <%= quotes.symb %> </td>
<td> <%= quotes[i].volume %> </td>
<td> <%= quotes[i].bid %> </td>
<td> <%= quotes[i].ask %> </td>
<td align="center">6/28/2000 19:59:00</td>
</tr>
<%
} // END: for
%>
</table>
</td>
</tr>
</table>
</body>
</html>
Regards,
Tirumalarao
Developer TechnicalSupport,
Sun MicroSystem,India. -
Relation between EJB and CORBA
Hi,
I'm confused as to the relation between EJB and CORBA. Some books I've read say that CORBA is used to implement the underlying RMI protocol in EJB while others say it is an alternative to EJB.
Could someone please clarify.
ThanksCould you pleae restate your question.
I'm assuming you want to bind a Corba object to a
CosNaming service from within a j2ee component. JNDI
supports this case fully via their CosNaming service provider
(see http://java.sun.com/products/jndi/serviceproviders.html) JNDI is part of J2SE, so it's fully available to any J2EE component.
Amlan on behalf of Kenneth Saks -
I have OAS on an NT4 box connecting into my Solaris cluster w/ 8i. I can hit my webpage local on the NT box but when I go to other boxes I can't see the page unless I take the proxy config out of the IE5 browser. Then I can't see the internet with those machines. Have tried to leave the proxy w/ the bypass button checked and putting the address in my host files no go. Is there a setting that I can change in OAS that will effect this..I know I can config my IE5 browser but I have alot to rollout to so that may be hard to do...It is only on an intranet but it resolves to the fully qualified net name ie:http://iam.here.com/ but will not resolve to http://iam/...Is this possibly a DNS issue or a OAS config issue... we are using a 8080 port setting on all outgoing www and ftp traffic but this should not effect internal traffic.
Thanks,
Ericif I have IIS for BI Pres Svcs and the BI Server is installed on OASNo -- you have the Presentation Services plugin installed on IIS OR OAS -- and that's all from an OBIEE point of view.
BI Server is a standalone binary (nqsserver) which runs outside of any application server.
I can point BIP to the OAS on BI Server?You would install BIP on OAS. However - I don't know how the security integration would work, or if it would. Sorry.
Maybe someone else here will be able to help, or you could try the BI Publisher forum? -
Hello, all! I have a real quick question should I install
WebDB and/or OAS on the same directory as $ORACLE_HOME or a
different one. The reason I'm asking is that I tried and OAS
replace all ORACLE executables and the libs are messed up big
time...suggestions pleaseeeeeeeee!
THanks!
nullDatabase will install automatically with OAS.No, unless you mean the infrastructure database, which I wouldn't use anyway for application data.
Or i have to install OAS and Database separately.Yes.
what will be the order, which i should install first.Database first. -
I followed the instructions here to change my server to Port 80. OAS 10g (9.0.4) on Windows Server 2003
http://download-west.oracle.com/docs/cd/B10464_05/core.904/b10376/ports.htm#i1040069
From my windows XP machine in my office, my website works fine. I switch to my linux box and I get intermittent results. (the site sits and does not load, or loads some times). Many clients on windows xp machines cannot access the site. It is an apex site running on OAS, and I created a static test page which they cannot access at all. I am currently waiting for our support contract to be settled with metalink, but I am kinda at my wits end here, and need results, and that is why I turn to the forum. I am about ready to wipe the machine and start over to see if maybe my futzing around screwed something up. Any help on this matter would be greatly appreciated. I will give access to the URL if anyone that can help.
Thanks,
ScottHi, I'm a friend of Scott's.
I tried hitting the URL Scott gave me, and I was consistently succeeding from my Windows workstation using Firefox, while consistently failing (page timed out) on my Linux workstation. I tried both Firefox and Konqueror browsers on Linux. Windows succeeded 100% of the time on 10 attempts - Linux succeeded 0% of the time on even more attempts. Note that I work at a different company that is external to Scott's network.
I don't know anything about OAS - I just thought I'd throw my odd test results into the conversation, to clarify what Scott is talking about.
Mark -
I would like to know which version of JDK is supported
by OAS and then if it is possible to use jdk 1.2.
In documentation, I read that OAS 4.07 only supported
java application developped with jdk 1.1.4. If it's true, is it
possible to switch to upgradee version of JWM ?
Regerds.
Christophe
nullted (guest) wrote:
: Hi:
: I am little confused the jdeveloper2 which came with the same
: evaluation cd uses jdk1.1.6 not jdk1.1.4 does it mean it may
: not work properly with the application server v4.0.7? I want to
: be sure since i am having trouble getting the jcorba sample
: working.
: thanks,
: ted
: JDeveloper Product Management (guest) wrote:
: : Christophe,
: : There isn't any support for Java2 in the currently shipping
: OAS,
: : the supported version is 1.1.4, the support for Java2 will be
: : added in a subsequent release, check the Oracle website for
: more
: : information
: : cheers
: : Federico
: : christophe maligorne (guest) wrote:
: : : I would like to know which version of JDK is supported
: : : by OAS and then if it is possible to use jdk 1.2.
: : : In documentation, I read that OAS 4.07 only supported
: : : java application developped with jdk 1.1.4. If it's true,
is
: : it
: : : possible to switch to upgradee version of JWM ?
: : : Regerds.
: : : Christophe
null -
Is there a compatibility issue between OAS and 8i, what version of OAS is compatible with 8i?
Has anyone got 4.0.7 to work with 8.1.5 on the same machine?Same experience. Oracle 8i needs kernel 2.2 while OAS407 needs kernel 2.0. Cannot run it together.
OWAS3 is able to run on kernel 2.2, together with Oracle 8i. It is running in production on e.g. DBA-Village.
You have to check out the mailing lists for details on how to install and run the OWAS, because it is not standard. -
I've set up OAS and Oracle 8 with Context option successfully.
I've set up a Context server with DML, DDL, Query and Load Server
personality, which works fine when combined with queries from my
Web application, but when I then enter data, I get a GPF in the
WRKS.EXE program, which then goes on to give the OAS an internal
error.
Anyone have any ideas?
thanks
David Godfrey
nullJust to highlight to anyone else, that I upgraded the DB to
8.0.5 (from 8.0.4), and upgraded the OAS to 4.0.7 (from 4.0.5),
and it fixed the problem.
hth
David
David Godfrey (guest) wrote:
: I've set up OAS and Oracle 8 with Context option successfully.
: I've set up a Context server with DML, DDL, Query and Load
Server
: personality, which works fine when combined with queries from
my
: Web application, but when I then enter data, I get a GPF in
the
: WRKS.EXE program, which then goes on to give the OAS an
internal
: error.
: Anyone have any ideas?
: thanks
: David Godfrey
null
Maybe you are looking for
-
Help Creating a Graph (of sorts) for Professional Driver Daily Logs
Hey All! I'm working on a project for myself, that could go commercial if it gets as good as I'm hoping it will. This application (which I'm calling Truck Manager) will manage income and expenses, help plan trips, track trip/load information and do t
-
Error when trying to display video on the iPad
Hi, I am uploading a video as a cover for my magazine, it's worked for me in the past, but now it keeps giving me the same error... The page loads and the creen is solid white, although I've told the video to play by itself on page load. So then I tr
-
How do I make a logo designed in Illustrator hi-res for print use?
e
-
Anyconnect 3.1 self signed certificate warning message
Dear All, I ' d like to access on my SSL VPN whitout recive the advice about the Private Certificate. My Pc has a Windows 7. I activate the Vpn from the Anyconnect client and not from the Internet Browser. I have created the profile.xml, in or
-
My library is gone, and I was wondering if there is any way for me to copy all my songs from my ipod Nano onto my library?