Using iPlanet with XSQL Servlet
Anyone have any information on how to configure the XSQL Servlet to work with iPlanet?
TIA
It won't work because iPlanet 4.1 has a broken implementation of the Servlet API's getRealPath() method, the method that XSQL Servlet uses to resolve virtual paths into absolute paths.
I just debugged a complaint that it didn't work with iPlanet this week and this was the result I found.
Their path resolution works for their own JSP implementation, but not for any other servlet.
Similar Messages
-
How to use ODBC with XSQL servlet??
I want to use VB6.0 to get result from XSQL Servlet. What can I do with it?
Any help will be grateful.
Regards,
Kelly ChenHi,
Perhaps you can create your own trust manager. I've found this example in another newsgroup: (please note that this example trusts everyone, but you can modify the trust manager as you wish)
if (putUrl.startsWith("https"))
//set up to handle SSL if necessary
System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
System.setProperty("javax.net.debug", "ssl,handshake,data,trustmanager");
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
//use our own trust manager so we can always trust
//the URL entered in the configuration.
X509TrustManager tm = new MyX509TrustManager();
KeyManager []km = null;
TrustManager []tma = {tm};
SSLContext sc = SSLContext.getInstance("ssl");
sc.init(km,tma,new java.security.SecureRandom());
SSLSocketFactory sf1 = sc.getSocketFactory();
HttpsURLConnection.setDefaultSSLSocketFactory (sf1);
m_url = new URL (putUrl);
class MyX509TrustManager implements X509TrustManager {
public boolean isClientTrusted(X509Certificate[] chain) {
return true;
public boolean isServerTrusted(X509Certificate[] chain) {
return true;
public X509Certificate[] getAcceptedIssuers() {
return null;
}Hope this helps,
Kurt. -
Has anyone written a Custom Connection Manager for the xsql servlet? It seems useful to support proxy/lightweight sessions with xsql servlet. Has anyone tried this?
It won't work because iPlanet 4.1 has a broken implementation of the Servlet API's getRealPath() method, the method that XSQL Servlet uses to resolve virtual paths into absolute paths.
I just debugged a complaint that it didn't work with iPlanet this week and this was the result I found.
Their path resolution works for their own JSP implementation, but not for any other servlet. -
Direction Needed to Get Started With XSQL Servlet
Hi, I am an ORACLE DBA. However, I am brand new to XML world. I tried to experiment and and understand the use of XSQL Servlet. I downloaded the software 1.0.0.0, and installed it on my PC, with the included Web-to-go. The installation seems to be OK, as I followed the instructions and twisted a little bit based on the intuition.
When I clicked on the Demo pages, it seemed to work.
The problem is, I want to understand the working of the XSQL Servlet. The only document I have is the Release Note of the software. It is very terse and seems to be for the ones who either worked on the previous release of the product or who knows the XML very well. I got lost in the reading of the document.
Is there some documents that will provide some Intro level tutorial or help? Where should I begin to the learning of the software?
Thanks for the help.Hello,
I am new to Java and had a few questions regarding
development. Please, if the questions are 'stupid'
or obvious in your eyes, keep in mind I am new to
this and just need a little boost to get started.
1) Can you make 3D objects in Java? Such as
landscapes and people.
Yes.
2) Which programs are needed for development?
Please list a few programs you feel are best for
Java Development as a whole. Links here would also
be wonderful.A compiler. An editor.
>
3) Are there any websites which go threw Java
Development? I can't seem to find one which fits the
needs or a beginner.There are several.
Sun's basic Java tutorial
Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
http://javaalmanac.com . A couple dozen code examples that supplement The Java Developers Almanac.
jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
Bruce Eckel's Thinking in Java (Available online.)
Joshua Bloch's Effective Java
Bert Bates and Kathy Sierra's Head First Java.
>
Sorry for the questions and thank you in advance for
all the help. It's greatly apreciated.
Cravepain -
I just got started with this projectwhere we need iplanet to play therole of web-server that uses a weblogicapp server as middle tier.And a portion of the site needs securesessions with the browser.Now, my question is, should i install thecertificates on the iplanet or do i doit on the weblogic server. And what arethe pros and cons associated with havingiplanet handle the HTTPS communicationand forward the request to the BEA app which might then handle the request in non-secure mode(lets say, the web-server and app-server are running on the same box).Any help regarding this would be greatly appreciated.
You need to have a certificate on the Web server, whether that is WebLogic
or Apache/iPlanet/IIS. If you want to have SSL between the Web server
plug-in and WebLogic, you will need to have a certificate there on WebLogic
as well.
More information should be in the documentation.
Michael
Michael Girdley
BEA Systems
Learning WebLogic? http://learnweblogic.com
Buy the only book covering J2EE & WebLogic 6:
http://www.amazon.com/exec/obidos/ASIN/0130911119/learnweblogic/103-9227026-
4636613
"bobby" <[email protected]> wrote in message
news:3b78a7b0$[email protected]..
I just got started with this projectwhere we need iplanet to play theroleof web-server that uses a weblogicapp server as middle tier.And a portion of
the site needs securesessions with the browser.Now, my question is, should i
install thecertificates on the iplanet or do i doit on the weblogic server.
And what arethe pros and cons associated with havingiplanet handle the HTTPS
communicationand forward the request to the BEA app which might then handle
the request in non-secure mode(lets say, the web-server and app-server are
running on the same box).Any help regarding this would be greatly
appreciated. -
Unusual using jsf with own servlet
Hi, it will be useful for me within my javax.servlet.Servlet class implementation I use JSF for printing output to my ServletResponse.
What I must to do for it?
thanks for suggestions.The simplest thing would be to forward to or include the appropriate URL that is handled by JSF. If for some reason this is not acceptable you might want to take a look at the implementation of the FacesServlet. But I would encourage you to pursue the forwarding/including solution first as it will be less fragile.
-
Using jFreeCharts with JSP-Servlet Web App
Can someone please help me to get started on using the jFreeCharts in mt JSP Servlet we app? So far I have this in my servlet but I do not know what to do from here.
protected void doPost(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException, IOException {
// create a dataset...
double[][] data = new double[][] {
{ 1.0, 4.0, 3.0, 5.0, 5.0, 7.0, 7.0, 8.0 },
{ 5.0, 7.0, 6.0, 8.0, 4.0, 4.0, 2.0, 1.0 },
{ 4.0, 3.0, 2.0, 3.0, 6.0, 3.0, 4.0, 3.0 }
//DefaultCategoryDataset dataset = new DefaultCategoryDataset(data);
//return DatasetUtilities.createCategoryDataset("Series ", "Factor ", data);
CategoryDataset dataset = DatasetUtilities.createCategoryDataset("Series ", "Factor ", data);
JFreeChart chart = ChartFactory.createBarChart(
"Bar Chart Demo 2", // chart title
"Category", // domain axis label
"Score (%)", // range axis label
dataset, // data
PlotOrientation.HORIZONTAL, // orientation
true, // include legend
true,
false
}the JFreeChart documentation has examples doing just that.
And if you don't know how to get a browser to call some resource from some html you should get a beginner's tutorial to html. -
Is it possible to perform an interMedia search within an XSQL page so that the results of the search are returned in XML format?
Thanks,
NickCheck this link
http://technet.oracle.com/doc/oracle8i_816/inter.816/webagent_guide/toc.htm -
Hi
i was trying to do some example with JNI. I can use JNI with standalone Java application but I just cannot figure out how I can use JNI with Servlet.
Can some one show me a sample code using JNI with Servlets.
thanks very muchhi,
I am also facing the same problem,
when I am using JNI with stand alone application it works fine but when i tried to use it with a servlet It gives unsatisfied linker error
stack: java.lang.UnsatisfiedLinkError: createSocket
at RelayConnector.createSocket(Native Method)
at RelayServlet.doGet(RelayServlet.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:458)
It seems i have to do some path settings in my iplenet web server.
If some one have faced the problem i would be glad to know the solution for this, i am literally bugged up,.... -
IPlanet 6.0 Servlet Engine with Weblogic 6.1 EJB engine
Does anyone have experience using iPlanet 6.0 Servlet engine with
WebLogic 6.1 EJB engine? The two engines will be located on separate
physical servers. If so, any information on the implementation would
be greatly appreciated (lessons learned especially). Would the cost
difference between using WebLogic's Servlet engine vs. iPlanet's
Servlet Engine be worth the attempt? I saw in some previous posts
that there were issues with how older versions of Weblogic RMI (T3)
Protocol worked and that Weblogic would only have one socket
connection for the iPlanet Servlet Engine through which all requests
will be multiplexed. This would be a bottleneck for any application.
Is this still true with the latest versions of these products?
Thanks,
JonWebLogic's Servlet engine is less than $1K / CPU I believe.
Peace,
Cameron Purdy
Tangosol Inc.
Tangosol Coherence: Clustered Coherent Cache for J2EE
Information at http://www.tangosol.com/
"Jon" <[email protected]> wrote in message
news:[email protected]..
Does anyone have experience using iPlanet 6.0 Servlet engine with
WebLogic 6.1 EJB engine? The two engines will be located on separate
physical servers. If so, any information on the implementation would
be greatly appreciated (lessons learned especially). Would the cost
difference between using WebLogic's Servlet engine vs. iPlanet's
Servlet Engine be worth the attempt? I saw in some previous posts
that there were issues with how older versions of Weblogic RMI (T3)
Protocol worked and that Weblogic would only have one socket
connection for the iPlanet Servlet Engine through which all requests
will be multiplexed. This would be a bottleneck for any application.
Is this still true with the latest versions of these products?
Thanks,
Jon -
Printing with xsql and css or xsl and fop
How to incorporate css or css2 with xsql?
I want some sample files. What is FOP? How can we use it for printing and print viewThanks for your reply. I know FOP. How to run it with tomcat3.2 and xsql?
I already onto css1 and css2. XSLT stylesheets are working fine for me. But for taking print outs using the paged media with css2 i require some help. Currently I am reading Oracle XML Applications by Steve Muench from o'reilly.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
See the XSQL Servlet examples. Most of the demos have XSLT stylesheets that generate HTML which includes references to CSS stylesheets.
FOP is the Apache Formatting Object Processor.
See the XSQL Release notes for information on using FOP with XSQL Pages for rendering PDF files from database queries.<HR></BLOCKQUOTE>
null -
Simple questions about XSQL Servlet
I want to make available to a small LAN a small number of
my schema's tables. I want them to be in XML format so that
someone can see them with IE5.
Is it possible to do this with XSQL Servlet?
My server is MS Personal Webserver on NT Workstation and I use
Oracle 8.0.5. Can I still use XSQL Servlet?
George.
nullHi Bertold, thanks for your answer!
Hi Anton,
1) The answer is yes. How do you know that the user
is created without password in AD? Do you have any
log files available?I solve my problem with synchronization of password - Time on domain controller and Sun ONE Directory Server was different (~10 hours). Now, i fix it, and all work perfectly.
Thanks for your time, and be happy! -
Help Install XSQL servlet on OAS 4.0.8.1
We are having difficulties installing XSQL Servlet on our Oracle Application Server (4.0.8.1). Is there any documentation on how to complete this installation?
Thanks in advanceBugs in 4.0.8.1 make running the XSQL Servlet unreliable with that release.
I'd suggest trying the 4.0.8.2 release or using a combination of Apache + JServ to work with XSQL Servlet.
Thanks. -
I have 2 questions :
==> Is XSQL Servlet is compliant with Oracle 8.1.7 ?
==> Can I easily create an SVG with XSQL Servlet ?
[email protected]Hi,
I am sorry for posting this silly question. Anyhow I have figured it out, the problem was with the oracle driver.
Thanks anyway,
Dinesh -
How do I get XSQL Servlet to work with OCI 9i
I'm using the most recent jdbc driver (ojdbc14.jar) that works with jdk 1.4. I'm using a 9.0.1 db, and I'm using xdk for java 9.2.0.3. If I specify an oci driver in the XSQLConfig.xml file, I get the following error with a xsql:query request:
Oracle XDK Java 9.2.0.3.0 Production
XSQL-017: Unexpected Error Occurred
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
Now why does XDK insist to look for ocijdbc8 if I only have ocijdbc9.dll installed on my client? The config file only allows oci8 in the dburl specification, which is probably why XDK insists to look for ocijdbc8, but I CANNOT specify oci9, which would make sense to me, although it's most likely not a valid specification.
<connection name="9ic">
<username>scott</username>
<password>tiger</password>
<dburl>jdbc:oracle:oci8:@</dburl>
<driver>oracle.jdbc.OracleDriver</driver>
<autocommit>true</autocommit>
</connection>
So how do get XSQL Servlet to work with OCI 9i?If you are using the latest Oracle9i JDBC driver, which you should be able to get from OTN, it should look for the DLL with 9 in the name.
Perhaps you have a "stale" JDBC driver somewhere earlier on the classpath?
Steve Muench
JDeveloper/BC4J Development Team
Author, Building Oracle XML Applications
Maybe you are looking for
-
How to export a report in .xls format
<p><font face="arial,helvetica,sans-serif" size="2">For my current project I have to take existing Crystal Report files and export them into Excel. I cannot use a .csv file, it has to be a .xls file in order to preserve the formatting. Does the Cry
-
Has this happened to you? You search the internet for some concept in Java and find a nice piece of code that illustrates perfectly what you want to do. So you do a little cut-n-pasting and off you go. But then you're suddenly stopped in your tracks
-
Ps CS6 Save For Web - various resampling choices give identical result
Ps CS6 OS X 10.6.8 Save For Web offers 5 resampling algorithms (the same 5 as in Image Size, ignoring "Bicubic Automatic", of course) for when the output is being resized. All choices except "Nearest Neighbor" output an identical image (which is diff
-
Help to upgrade llb from Labview 5.1 to 7.1
Hello Guys and Girls, I have a serial.llb working fine with labview 5.1, and I have upgraded my labview version to 7.1, when I opened the Serial.llb using labview 7.1 to upgrade it, It open but the program delete a lot of functions making the VIs no
-
How to add an icon in to web template of web application designer 3.x
Hi Friends, I have to add a new icon in to exsisting web template. Please any body can help in this issue ? Thanks Pedamarla