How to use toplink in the tomcat server?
Hi,
I want to use Toplink in the tomcat server. I am connecting to oracle database using DataSource.
Can any body help me, what are the setup required to use the toplink in the tomcat?
Please help me if any body has idea on the same.
Take a look at this other forum posting: Tomcat acquire dataSource [TOPLINK-7060]
--Shaun
Similar Messages
-
How To Use GOOP and The VI Server?
I created several VIs that work together to display images on a remote
computer using a VI server. To make it easier to use I turned the several
VIs into methods in a GOOP class. This works fine to display the images on a
local machine.
I then added more methods which call the existing methods via a VI server.
This version will not run, even when the VI server is the local machine.
The error it returns is "Object not valid." This comes from the object
repository method that GOOP created automatically. I'm passing what appears
to be a valid object reference, it seems that the object repository doesn't
recognize it as valid. Of course the object repository is password protected
and so I cant delve any deeper.
Has anyone
used a GOOP object over a VI server successfully? Is this even
possible?
TIA,
DonYou must be very careful because objects and refnums created on one instance
of LabVIEW are local to that instance only. Objects created on one machine
with the object repository are unknown to the other object repository
running on the remote machine. You must pass the whole object data from one
machine to the other, not only the refnum.
Jean-Pierre Drolet
"Don Brocha" a écrit dans le message news:
1_er5.467$[email protected]..
> I created several VIs that work together to display images on a remote
> computer using a VI server. To make it easier to use I turned the several
> VIs into methods in a GOOP class. This works fine to display the images on
a
> local machine.
>
> I then added more methods which call the existin
g methods via a VI server.
> This version will not run, even when the VI server is the local machine.
>
> The error it returns is "Object not valid." This comes from the object
> repository method that GOOP created automatically. I'm passing what
appears
> to be a valid object reference, it seems that the object repository
doesn't
> recognize it as valid. Of course the object repository is password
protected
> and so I cant delve any deeper.
>
> Has anyone used a GOOP object over a VI server successfully? Is this even
> possible?
>
> TIA,
>
> Don
>
>
> -
How to install and cofigure the Tomcat server in Windows 98
In my system i am having Win 98. I install tomcat in that but while runing it shows error to set CATALINA_HOME and JAVA_HOME i tried that in autoexec.bat but its not working so can any one solve this problem
tell me if you know
-
I want to use hibernate with the tomcat
I want to use hibernate with the tomcat server can it be possible and if yes then what is the stepwise way.
Infact I know the java JSF but want to command on Hibernate plz help me.
I'll be thankful to you.To be honest, I wouldn't even know where to start. Do you know what Hibernate does and how it works? Do you know how Tomcat works? All you'd need to do to combine those two would be to let Tomcat provide the DB connections for Hibernate, I suppose. Neither of those products are a topic of this board though.
-
How to see Exceptions Logged in the Tomcat Server
Software Installed
jakarta-tomcat-5.5.2
Windows 98SE
IE6.0SP1
Requirement
There is a long Exception appearing when I start the Tomcat Server by running startup.bat.in the Dos Console Window Everything is scrolled out and so I am not able to see the real Exception.
How to read the real Exception.I have heard that the Exceptions are logged in the %CATALINA_HOME%\logs Folder But I can't find anything.
Is there any change required in the server.xml file for logging the Exceptions
Thanks in advance
CSJakhariaRight click on the title bar of the DOS command window. Select properties. Set the "Screen Buffer Size" Height to 1000. This should allow you to view the entire Exception stack trace in the DOS window.
-
How to execute CGI Programs in Tomcat Server
Hi,
I am working on executing Perl Scrtipts(or CGI programs) in Tomcat Server.
I have downloaded ActivePerl 5.8.0 6.0.3 build.I have modified some .jar files in tomcat\server\lib.
I have changed conf\web.xml to access the CGIServlet.class that is in servlets-cgi.jar.
My example.cgi is
#!c:\Perl\bin\perl.exe
print
"Content-type: text/plain\n\n";
foreach $var (
sort keys %ENV) {
print
"$var=\"$ENV{$var}\"\n";
@values = split(
/&/,$ENV{'QUERY_STRING'});
foreach $i (@values) {
($varname, $mydata) = split(
/=/,$i);
print "$varname = $mydata\n";
and my test.html is
<HTML>
<HEAD>
<TITLE>Environment Variables using GET</TITLE>
</HEAD>
<BODY>
<FORM ACTION="cgi-bin/example.cgi" METHOD="POST">
Press submit for a list of environment variables. <BR>
First Name: <input type="text" name="fname" size=30><p>
Last Name: <input type="text" name="lname" size=30><p>
<input type="submit">
</FORM>
</BODY>
</HTML>
here I have changed url mapping in web.xml to cgi-bin.
The test.html produces two text fields first and last name on submit:
it accesses:http://localhost:8080/smalltownpapers/cgi-bin/example.cgi?fname=Tim&lname=Eden
this should print some environmental variables but it is producing an empty page.
Tomcat is not showing any errors or Tomcat is not at all listening.
Can any one help me to solve this and how to execute Perl scripts in Tomcat server
Thanks,
Regards
MurthySorry, I've never done this. I went to the Tomcat site and pulled down the CGI docs, which you might have seen:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html
No other help available from me. Sorry. -
Do we need to restart the Tomcat server each time when we modify servlets?
Hi Friends,
Do we need to restart the Tomcat server each time when we modify servlets. Or is there any otherway to achieve the functionalitly?
Thanks and Regards,
JGJamesGeorge wrote:
Hi kajbj,
Java guys are mostly using TOMCAT,so for me it seems to be the best place.That's not correct. Most people who are writing stuff for the web might be using Tomcat, but there are lots and lots of Java applications that aren't for the web.
Is there any other reason behind your question.Yes, this forum is named "New to Java" and Tomcat questions shouldn't be asked here, even if people knows the answer to you question. You will probably get better and more detailed answers in a Tomcat forum. All othe guys there are actually using Tomcat, and they know the small differences between the different versions, and how they behave on different operating systems. They do also know if you need to make configurations changes, and where you should make them.
So in future, please ask questions in a forum that is specific to the product that you are using. -
Revision: 939
Author: [email protected]
Date: 2008-03-26 13:35:44 -0700 (Wed, 26 Mar 2008)
Log Message:
Bug: BLZ-67 - Should turn off session persistence in the Tomcat server we ship.
QA: No
Doc: No
Checkintests: Pass
Details - Turning off session persistence in the version of Tomcat that ships with BlazeDS. We don't store much in the session so session persistence doesn't make much sense for us. Users should feel free to turn this back on if they feel they need it.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-67
Modified Paths:
blazeds/branches/3.0.x/servers/apache-tomcat-6.0.14/conf/context.xmlHi, thank you for your replies, I found out few things about my servlet, and its portability
and i have few questions, although i marked this topic as answered i guess its ok to post
I am using javax.servlet.context.tempdir to store my files in that servletcontext temporary directory. But i dont know how to give hyperlink
of the modified files to the user for them to download the modified files.
What i am using to get the tempdir i will paste
File baseurl = (File)this.getServletContext().getAttribute("javax.servlet.context.tempdir");
System.out.println(baseurl);
baseurl = new File(baseurl.getAbsolutePath()+File.separator+"temp"+File.separator+"files");
baseurl.mkdirs();so i am storing my files in that temp/files folder and the servlet processes them and modifies them, then how to present them as
links to the user for download ?
and as the servlet is multithreaded by nature, if my servlet gets 2 different requests with same file names, i guess one of them will be overwritten
And i want to create unique directory for each request made to the servlet , so file names dont clash.
one another thing is that i want my servlet to be executed by my <form action> only, I dont want the user to simply type url and trigger the servlet
Reply A.S.A.P. please..
Thanks and regards,
Mihir Pandya -
I want to write in a XML file which is located on the TOMCAT server
hello all,
can anybody tell me or give me code snippet for writing some data through my application i.e from client side on te file which is located on the TOMCAT server(especially XML file).
tell me how can i do that?
it is urgent
cya
sushHello sush,,,,
I am sending you some API / classes that will definetely help you for writing XML file through java.
1) TransformerFactory.newInstance();
2)Transformer serializer
3)StreamResult
4)serializer.transform(source,result);
5)DOMSource
From Vikas_khengare
[ [email protected] ] -
How to use fp-2010 as web server
how to use fp-2010 as web server
mazharHi Mazhar,
It is fairly straighforward to set up front panels for your RealTime executable. This knowledgebase has the information on how to do this.
Hope this helps!
Warm regards,
Karunya R
National Instruments
Applications Engineer -
How do set operation timeout in tomcat server?
hi all
suppose i have one endless loop program(jsp) that program run under tomcat server,
so it's keep on runing in tomcat server.
i want, after some time the server send error message like operation timeout.
how do set operation timeout in tomcat server?
if anybody know help me.
my mail id [email protected]Well, the server.xml file has connection time outs, but that is for idle time, I think... I'm not sure what would happen in a loop... , especially if you are sending some data back to the client in each iteration. Generally you shouldn't be starting a loop that will really run forever. Maybe have some type of counter to break out if something hasn't occurred within x iterations, or create a separate thread that can sleep for x seconds and set a flag to break the loop after that time.
-
How to use JSP in apache web server
hi all,
can anybody tell me how to use JSPs in Apache Web Server.
Thanks
sirYou would need a servlet container to run Servlets and JSPs. And Apache's Tomcat is one such free container available. Download Tomcat from http://jakarta.apache.org and integrate with Apache WS
HTH -
How to use addwatermarkfromfile on a web server
how to use addwatermarkfromfile on a web server. Where do you put the js on a windows 2008 server, so that the URL can pick it up when a user opens a PDF.
You don't. JS files can exist in three places.
1. In the PDF file
2. In the User Profile
3. In the Application folders
* Note while you can execute some browser based JS to the embedded viewer in a web browser all of the API calls are non-editing. -
How can I find out the mail server from email address?
Hi:
How can I find out the mail server from email address?
for example: If I know the email address is [email protected],
how to find the pop3 and smtp mail server?
THANK YOUYou can't tell by the email address since you can pretty much put whatever you want in there (especially if the SMTP server is not filtering anything).
The header may be able to tell you something. There is a Received header value which looks like it has the routing information although I am not sure if this is a complete trace or just the last hop the message took.
Sean -
How to find out about the SMTP Server
Hi,
I have been trying to configure groupware in the portal - in particular I want to enable the sending of emails through the portal. I already have a how-to-guide that that seems to explain the steps quite well. However, it mentions that I need to know the SMTP Server of the email. Can you tell me how to find out about the SMTP Server? Where do I need to look for the name of it?
Thank you and regards,
KatharinaHi Katharina,
you need the SMTP server of your company. This means you can't look for it in the portal, but have to ask the responsible person in your company.
Kind regards,
dominik
Maybe you are looking for
-
How do I change Itunes from one account to two in my home?
how do I change Itunes from one account to two in my home?
-
I just installed OSX Mavericks and now cannot open CS5 Ps, Ai, or In. I haven't found any information about known issues or any updates that should solve the problem. Your help is greatly appreciated, thank you.
-
NW2004s MCOD install not detecting existing Oracle instance
We are attempting to perform a distributed database installation for NW2004s AS-JAVA. We wish to use an existing SAP/Oracle database called "JB1" running on Oracle/HP-UX using MCOD. The JB1 database instance already contains a functioning NW2004s SAP
-
Ok so I have a white Macbook 2.16. I am wondering that I need a new keyboard I was wanting to know if it was ok for me to install a black one that I can purchase online in my white macbook. I am just wanting to know if it will be ok???
-
Keyboard-only navigation drives to random slides - Help!
Hi all, This was an issue I experienced in previous Mac versions that I was able to mitigate by recreating the project in the PC version. I've since abandoned the Mac version. However, we recently upgraded to Captivate 8 and it now looks like the i