Using IIS 5.0 as web server to App Server 8.0 PE

I am developing a site for a company which has IIS 5.0 as the web server. The sysad there would like to allow only IIS to receive request and hide the App Server internally. I read that one can configure IIS 5.0 to forward request to App Server 7.0. Can you do that in App Server 8.0? How? I have read a post on how to configure Apache to forward request to App Server 8.0 but I don't seem to understand. Sorry, I am very new to the area of App Server and Web server.
My second question, Are there any advantages of configuring IIS 5.0 to accept request and forward any JSP/Servlet request to AP 8.0? How does the performance of HTTP service of AP 8.0 compared to that of IIS 5.0? Are there any performance or security or other issues associating with this option?
Cheers,
Nocell

you could try this AS7 but it may work, have being looking at how to do this myself
http://swforum.sun.com/jive/thread.jspa?forumID=114&threadID=19196
John

Similar Messages

  • Licensing-Can I use 10 client version for Web server?

    I have a client that is looking to move their web servers from IIS and Windows to OSX server.
    My question is, how does the licensing shceme work? Can we use a 10 user version of OSX Server for a web server, or do we need the Unlimited version?
    Not 100% familiar with the server side of Mac things, so treat me gently

    Hi
    The licensing only applies to connected AFP users, so you can use a 10 Client version without any problems.

  • Using Struts Example in IPlanet web Server 6.0

    Hai
         i am new to struts and i was trying to run the example application shiped along with the binary distribution
         in iplanet webserver 6.0.
         I have extracted the struts-example.war file in to a folder named strutsexamples under my iplanetdocroot\servers\docs\ Using the
         link DeployWebApplications in the admin side of the iplanet application.
         By doing the above steps all the example files are extracted in to the folder iplanetdocroot\servers\docs\strutsexamples directory .
    Problem 1:      when i restarted the server i found the following error in the log file
              [06/Apr/2003:19:58:03] info ( 394): successful server startup
              [06/Apr/2003:19:58:03] info ( 394): iPlanet-WebServer-Enterprise/6.0SP1 B08/20/2001 01:49
              [06/Apr/2003:19:58:05] info ( 394): Installing a new configuration
              [06/Apr/2003:19:58:05] info ( 394): [LS ls1] http://gdcblr1596.gdcblr, port 80 ready to accept requests
              [06/Apr/2003:19:58:05] info ( 394): A new configuration was successfully installed
              [06/Apr/2003:19:58:09] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:09] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:10] info ( 394): Adding web application (/diva) at (E:/iPlanet/Servers/docs/diva)
              [06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:10] info ( 394): Adding web application (/struts) at (E:/iPlanet/Servers/docs/struts)
              [06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:10] info ( 394): Adding web application (/strutsexamples) at (E:/iPlanet/Servers/docs/strutsexamples)
              [06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:11] info ( 394): vs(https-gdcblr1596.gdcblr)servlet 'action' class = 'org.apache.struts.action.ActionServlet' loaded in context =                '/strutsexamples'
              [06/Apr/2003:19:58:11] info ( 394): action: init
              [06/Apr/2003:19:58:13] warning ( 394): vs(https-gdcblr1596.gdcblr)ServletException thrown in servlet.init; context = /strutsexamples, servlet = 'action';           stack tace: javax.servlet.UnavailableException: Parsing error processing resource path
                   at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java, Compiled Code)
                   at org.apache.struts.action.ActionServlet.init(ActionServlet.java, Compiled Code)
                   at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                   at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEntity.java:98)
                   at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java, Compiled Code)
                   at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java, Compiled Code)
                   at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java:680)
              , root cause:
              [06/Apr/2003:19:58:13] info ( 394): Successfully initialized web application environment (web-apps.xml) for virtual server (https-gdcblr1596.gdcblr)
    Problem 2: when i was trying to invoke the example by typing http://localhost/strutsexamples/ i am getting only the following errors .
                   [06/Apr/2003:20:03:17] info ( 394): vs(https-gdcblr1596.gdcblr)servlet 'jsp' class = 'org.apache.jasper.servlet.JspServlet' loaded in context =                     '/strutsexamples'
                   [06/Apr/2003:20:03:17] info ( 394): jsp: init
                   [06/Apr/2003:20:03:18] info ( 394): jsp: init
                   [06/Apr/2003:20:03:19] failure ( 394): Internal error: servlet service function had thrown ServletException (uri=/strutsexamples/):                          javax.servlet.ServletException, stack: javax.servlet.ServletException
                        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453)
                        at jsps.index_jsp._jspService(_index_jsp.java, Compiled Code)
                        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
                        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
                        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
                        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.WebApplication.service(WebApplication.java:1064)
                        at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)
                   , root cause: javax.servlet.jsp.JspException
                        at org.apache.struts.util.RequestUtils.message(RequestUtils.java:975)
                        at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
                        at jsps.index_jsp._jspService(_index_jsp.java, Compiled Code)
                        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
                        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
                        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
                        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.WebApplication.service(WebApplication.java:1064)
                        at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)     
         I have read all the FAQ and searched in web also and i am not able to find any answer to my problem .
         Kindly if someone knows how to overcome the above problem do reply me to this id .
         If any one has got the steps to be done to use struts in IplanetWebServer 6.0 do mail me also .
    thanks and regards
    Divakar.Renganathan
    Associate Consultant
    MascotSystems .
    Bangalore.

    Hi,
    Were you successful in getting the steps for incorporating struts with iPlanet Web Server 6.0 ?
    If so, please email them to me as I am having similar problems.
    Thanks
    Harinder
    [email protected]

  • CAC or smart card use with Oracle database and web server

    I've been asked to smart card (CAC) enable our Oracle web server and database access. We currently use CAC to access many of our other applications.
    Where can I find the following information
    Oracle software required (and is it an additional cost)
    How to integrate Oracle App server (web server) with CAC.
    How would I need to change the database users accounts to be CAC enabled rather than database users accounts.
    Thanks
    steven jackson
    [email protected]
    614-692-9768

    Virtualisation is not certified for Oracle RAC on Windows.
    +Certified Software on Oracle VM [ID 464754.1]+ note states:
    Oracle Real Application Clusters (RAC)
        Oracle 10.2.0.4 and up (10gR2) and 11.1.0.7 and up (11gR1) and 11gR2 RAC for Linux x86 and Linux x86_64 certified on Oracle VM
            Guest OS: Oracle Linux 5.1 (and above) RHEL 5.1 (and above) for Linux x86 / Linux x86_64
            Paravirtualized (PV) mode only (Guest OS and drivers)
            Only supported on Oracle VM 2.1.2 and above
            Live-migration of an Oracle RAC VM is supported with Oracle VM 2.2.1 and above.
            Previous versions are not supported. Please refer to this link for best practices.
            Over-committing CPUs is not recommended, but supported with the following restrictions:
                The total amount of VCPUs allocated to guest domains (running Oracle RAC guests), should not exceed
                two times (2x) the amount of real CPUs / cores in the Oracle VM server.
                The amount of VCPUs allocated to a single guest domain should not exceed the amount of real CPUs /
                cores in the Oracle VM server.
                Maintain Oracle VMs default VCPU allocation for dom-0: Oracle VM will allocate 1 VCPU for each real CPU or core to dom-0.
                CPU pinning is only recommended for hard partitioning. If no hard partitioning is required, CPU pinning should not be used.
            Static support only (dynamic support is being planned):
                Dynamic resizing of guest virtual machine is not supported (VCPU, memory and I/O)
                Virtual Machine Pause/Restore of an active Real Application Cluster virtual machine is not supported.

  • Trying to figure out using my macbook as a web server

    So I have Apache and PHP enabled and working with MySQL installed. And I know that I am able to access my IP address and my IP address/~myusername online, but it says I don't have permission to do it. What folder or directory is the internet reading files?? I'm used to having a plain UNIX server running Apache that has a public_html folder that contains all of the files accessible by the internet. What's the equivalent on my macbook? Is there one?

    illinifan339 wrote:
    So I have Apache and PHP enabled and working with MySQL installed. And I know that I am able to access my IP address and my IP address/~myusername online, but it says I don't have permission to do it. What folder or directory is the internet reading files??
    Files accessed using only your server name (or address) are in Library/WebServer/Documents
    Those accessed from /~myusername are in /users/Sites as mentionned by etresoft.
    But Leopard introduced a "mini" problem. You have to verify that in /etc/apache2/users there is a myusername.conf file. If not, copy it from /etc/httpd/users or create it with TextEdit or BBEdit.
    Hope this helps.

  • How to use cryptography providers(flexicore) in web-server, i.e.Tomcat ?

    in my application, i am sending public key to server, that is tomcat server. and i am using URLConnection class, which is used to send file from client to server. it is working fine.
    After that in response server will send public key again to client. but that is not sending. and that is giving error of providers.
    i am using flexicore provider , i also add explictily that provider using Security.addProvider , in program but that is not worikng.
    so, pls anybody tell me how providers will be support in tomcat
    server application.
    pls, help me.

    What is the error message? You need to be more explicit if you want help from this forum, Sachin.

  • Using files stored on remote web server/cdn as content repository

    Hello,
    Is it possible to create a document/asset in WCC that does not have it's physical file stored within the local file system/database but instead is stored in a CDN?
    We want to develop a system whereby files that are stored in a CDN are searchable/viewable/downloadable by users. The file metadata (name, description, mime type, size etc) including the URL for the file within the CDN is known. If we could send the metadata to WCC, is it possible to create the asset such that when the user clicks to view the web-viewable format the CDN URL is used and, likewise, when they click to download the video the file URL for the CDN is used.
    Thanks
    Iain

    With the direction given by SnakeEyez02, I was able to solve my issues. Going to get very detailed here....
    I was somewhat stuck because I couldn't understand that when you create the site locally, how do you get it to work online. When I created the DB locally and had usernames and pwords to access, it worked fine. I thought that I could 'preview' the remote site in dreamweaver, which can be done, but takes a bit of work around (create new DB connection, add your IP to remote access list, etc). So I was stuck trying to 'preview' my site on my machine, which won't happen because the hostname should be 'localhost' even on the remote. This is because the website AND db are running on 'localhost' because my host (Bluehost) runs off 'localhost'. So I could never 'preview' the remote site due to the db running "locally" on the remote.
    With Bluehost, they automatically change a few things:
    Bluehost places certain characters in front of any username and the database. So when I export from local and import to remote, my DB went from "TBO_Golf" on the local to "(Bluehost characters)_TBO_Golf" on the remote.
    The username and pword combo I was using on my local test had to be changed to match my remote credentials. Bluehost limits the amount of characters on usernames and places specific characters in front of any username. So I had to change it from "(Local username)" to "(bluehost inserted characters)_(username)" and matching password. I could have left it and it would have worked, but every time I wanted to update, I would have to change the username/pword combo every time I went from local to remote and vice versa. So I'd rather save myself the headache and just change the local to match.
    So, when I uploaded the site to the remote, the only thing I had to do was update the DB name. I went to the website and 'TA-DA!!!' My dynamic pages now work!
    Thanks so much to SnakeEyez02 and Rob Hecker2 for their help!

  • Using Mac as a test web server over network.

    Hello,
    I'm trying to play around with the Joomla CMS. I want it setup on a mac that i have setup as a server in my simple home network.
    I have mamp (www.mamp.info) setup on it to easily have an apache and mysql server going.
    on the mac, i can easily start up joomla by going http://localhost:8888/joomla/ in a browser.
    How would I get to that from another computer through the network? I've tried it's network ip address with no luck.
    Please help me out.

    You mean you've tried "http:192.168.0.3:8888/joomla" or similar from another computer on the same local LAN?
    If so, then is the software firewall enabled on that Mac? And if so, have you opened port 8888 on that Mac? (Sys Prefs | Sharing | Firewall > New, and add a new service that allows unsolicited port 8888 traffic -- or you could turn the Mac firewall off -- probably okay if you have firewall in your broadband modem enabled, and as long as you trust that none of your local machines will get a trojan that attacks another port (e.g., smtp, telnet) someday)

  • Using Sun Web Server 6.1 from the IDE

    Using JSE 8 with Sun Web Server 6.1 set as the target container, I have a SUNWS61deployment.xml file created.
    That didn't exist in JSE 7. Is it WS 6.1 SP4 or SP5 -related ?
    I also have ws61-sun-web.xml with a simple <sun-web-app/> tag (empty deployment descriptor).
    What should this file contain? Is it a replacement for sun-web.xml?
    Do I still need sun-web.xml? Its DTD declaration sounds like Sun
    App Server 7 (http://www.sun.com/software/sunone/appserver/dtds/sun-web-app_2_3-1.dtd)
    So you have plans to make "Sun Resources" (pools, JNDI resources, ...) created in the IDE be registerable directly in the Web Server just like it's possible with the sun app server?
    How safe is it to use JSE 8 with an older Web Server Service Pack (say 6.1SP1)?

    SUNWS61deployment.xml is created bythe IDE to be used internally and not to be used by the developer. This file wouldn't be sent to webserver after deployment.
    The ws61-sun-web.xml is sun-web.xml only and yes it is same as it is in Appserver7 as the webcontainer for both Webserver6.1 and Appserver7 are same. After deployment to webserver, ws61-sun-web.xml is renamed to Webserver as sun-web.xml by the IDE. When opened the developer can edit in the XML editor.
    The reason for having it as ws61-sun-web.xml in IDE is to avoid the clash between sun-web.xml of Appserver8.1 which is J2EE1.4 based whereas Webserver6.1 Web container is J2EE1.3 based.
    It should be okay to use any service pack of Webserver6.1 with JSE8
    Hope this helps

  • I need to Health check for Web server and need report on daily basis

    Hello,
    How to monitor Web servers  ?
    It would be great for administrators to have a daily alert using power shell script for web server
    Can anyone have any scripts that triggers email like IIS services , etc.. are up and running.
    Thanks
    Pushparaj
    Thanks, Pushparaj

    Hi Pushparaj, this forum is not for sharing or building script based on request
    You check the below code and build your script
    $Service = Get-WmiObject -Class Win32_Service -ComputerName SERVERNAME | ?{$_.Name -eq 'IISADMIN'}
    Send-MailMessage -From 'mailID' -To 'mailID' -SmtpServer 'XXXX.DOMAIN.XXX' -Body $Service.State `
    -Subject 'IIS Service'
    Search Script
    Request Script
    See this script and modify as per your needs
    Regards Chen V [MCTS SharePoint 2010]

  • Not able to access schema from a Web Server

    I am not successful in using a schema from a web server. I am using j2sdk1.4.2_06, and JDOM-b10. I have been successful in accessing schema using a file path, but not with a web address. The server is Windows Server 2003, I create a virtual directory using IIS under Inetpub.
    Let the URL be: http://server/research_schema/client.xsd
    This would be accessible only on the intranet.
    Here is some XML:
    <client xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="http://server/research_schema/client.xsd">
    <execute matlab="false" commit="false" return_server_msg="false">
    <t1>
    <load_batch_data>
    <username>test</username>
    <password>test</password>
    <database>db</database>
    <get_next_batch>true</get_next_batch>
    </load_batch_data>
    </t1>
    </execute>
    </client>
      Here is the code that sets the parser to be validating, and sets the schema location, I am using JDOM:
    builder = new SAXBuilder("org.apache.xerces.parsers.SAXParser", true);
    builder.setFeature(
      "http://apache.org/xml/features/validation/schema",
      true);
    builder.setProperty(
       "http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation",
            "http://server/research_schema/client.xsd");
    doc = builder.build(source);The error I get is a JDOMException saying the client element is not found, but I know that the client element is there, after seeing the XML output to
    a file from the sender.
    I see many exmples on the internet using a URL for the schema location, and it is usually the internet and not just the intranet. So it does work for someone.
    I'd appreaciate any help.

    Steve, et. al.,
    My apologies for using this in lieu of email, but I have been searching and searching for the answer to your questions from last summer concerning the correct method for getting the local xsd file to be correctly accessed from the xml file when using JDOM to parse with validation..
    I did not see successful resolution of the thread from last summer, but this one seems closely related and suggests that you were either instructed to give up, or gave up on your own and went to the solution of placing the xsd file on a server.
    Maybe I've got my head screwed on wrong, but I, like you, would like to find a successful way to make xml processing work for a JWS-provisioned application the same as it would if I just sent the clients a big jar file and told them to unjar it to some convenient local directory. In that scenario xsi:noNamespaceSchemaLocation = "itsrighthere.xsd" works as expected.
    Can anyone tell us what the correct method of specification is in the JWS context?
    Thank you.

  • Selecting Windows OS for web server

    I want to setup a application server. The purpose of the server will be to run a software (Hospital Management software) and serve the Clients (5 computers, Only Accessing the software from web browser). Software is Java based will be running on apache
    tomcat. Can i run this on windows 7/8 or i have to purchase windows server 2012? I will never be Using DNS,DCHP and other web server features.

    Hello,
    In this particular situation, you would be able to use the client version of Microsoft Windows to handle the web server. 
    I don't know that there will be a limitation being that you're using Apache, but even if you were using IIS, the client connections limit is 20 on Windows 7.
    See this:
    https://social.technet.microsoft.com/Forums/windows/en-US/97ed3233-cf71-4f8e-840b-4dd3d32c2325/the-20-connection-limit-of-windows-7-file-and-printer-sharing?forum=w7itpronetworking
    Jared Hamilton, MCITP Enterprise Administrator

  • JRUN Upgrade for Web Server Config Tool

    Recently, I applied the latest connector update discussed in
    APSB07-02. Today, I attempted to create a connector to my new CF
    cluster and get the following error when using the Web Server
    Config tool:
    "The JRun server(s) found on host 127.0.0.1 must be upgraded
    to use this version of the Web Server Configuration tool"
    CF 7.0.2HF1
    JRun 4 Updater 6
    W2k3 SP1
    What update is it refering too?

    This issue was asked in 2007 but never answered.  It's now 2010 and I am experiencing the same problem.  I'm trying to add a new IIS web server for CF.  Running CF 7 and the web config tool worked 12 months ago.  Now it doesn't... saying the "Jrun server must be upgraded to use this version of the Web Configuration Tool".  I've done one jrun patch that I am aware of in the past few months.
    So now, does anyone have an answer as to what I have to do to get this thing to run????
    Thanks,
    ...Wes

  • Crystal Reports XI and Sun One 6.1 web server SP 5 Error finding JNDI name

    I am trying to create a Crystal Reports XI report in a JSP using Sun One 6.1 Web server sp 5.
    At this point I am getting the error �Error finding JNDI name� on Sun One
    The application will run on Netbeans/Tomcat
    I have done the following:
    I edited CRConfig.xml
    <?xml version="1.0" encoding="utf-8"?>
    <CrystalReportEngine-configuration>

    <DataDriverCommon>
         <JavaDir>C:\Program Files\Java\j2re1.4.2_10\bin</JavaDir>
    <Classpath>C:\oracle\product\10.2.0\client_1\jdbc\lib\ojdbc14.jar;�</Classpath>

    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:oracle:thin:@10.10.10.10:1521:dev</JDBCURL>
         <JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
         <JDBCUserName>lab_ro</JDBCUserName>
         <JNDIURL></JNDIURL>

    </JDBC>
    I created a report using JDBC (JNDI) connection and have the JNDI Connection set to the name of DATA.
    The report works just fine in Crystal Reports.
    Then in Netbeans I created an application and it runs in the Tomcat part of Netbeans
    In context.xml I have:
    <Context path="/BOEnterpriseTest3">
    <Resource name="jdbc/dev" auth="Container" type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev"
    username="theuserid" password="thepassword" maxActive="20" maxIdle="10" maxWait="-1"/>
    </Context>
    In web.xml I have
    <web-app>
    <context-param>
    <param-name>crystal_image_uri</param-name>
    <param-value>crystalreportviewers11</param-value>
    </context-param>

    <taglib>
    <taglib-uri>/crystal-tags-reportviewer.tld</taglib-uri>
    <taglib-location>/WEB-INF/crystal-tags-reportviewer.tld</taglib-location>
    </taglib>
    <resource-ref>
    <description>jdbc:oracle:thin:@10.10.10.10:1521:dev</description>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Application</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    <resource-ref>
    <description>jdbc:oracle:thin:@10.10.10.10:1521:dev</description>
    <res-ref-name>Data</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Application</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    </web-app>
    in web-inf\sun-web.xml I have
    <sun-web-app>
    <resource-ref>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <jndi-name>Data</jndi-name>
    </resource-ref>
    </sun-web-app>
    I have copied all of Common Files\Business Objects\3.0\java\lib and Common Files\Business Objects\3.0\java\lib\external to the lib folder
    I have copied crystalreportviewers11 to the root of my web application
    I have tried to load the JNDI information and display the report
    <%@page pageEncoding="UTF-8"
    import="com.crystaldecisions.reports.reportengineinterface.*,
    com.crystaldecisions.report.web.viewer.*,
    javax.naming.*,
    javax.sql.*,
    java.sql.*"%>
    <%
    InitialContext initContext = new InitialContext();
    DataSource source = (DataSource) initContext.lookup("java:comp/env/jdbc/dev10g");
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    try{
         // Look up our data source
    DataSource ds = (DataSource)initCtx.lookup("Data");
    out.println("found ds under jdbc/Data");
    catch ( NamingException e ){
    // Look up our data source
    DataSource ds = (DataSource) initContext.lookup("java:comp/env/jdbc/dev10g");
    initCtx.bind("Data", ds);     
    out.println("found ds under java:com/env:jdbc/Data - bound into root initial context for Crystal to find");
    %>
    <%
    //Use the relative path to the report; the physical or full qualified URL cannot be used.
    String reportName = "useridincluded.rpt";
    //Database username and password
    String userName = "theuserid";
    String password = "thepassword";
    //check to see if the Report Source Session Variable already exist
    Object reportSource = session.getAttribute("Report1");
    // Create a new ConnectionInfos and ConnectionInfo object
    com.crystaldecisions.sdk.occa.report.data.ConnectionInfos connectionInfos = new com.crystaldecisions.sdk.occa.report.data.ConnectionInfos();
    com.crystaldecisions.sdk.occa.report.data.ConnectionInfo connectionInfo = new com.crystaldecisions.sdk.occa.report.data.ConnectionInfo();
    //Set username and password for the report's database
    connectionInfo.setUserName(userName);
    connectionInfo.setPassword(password);
    //Add object to collection
    connectionInfos.add(connectionInfo);
    //---------- Create a ReportClientDocument -------------
    com.crystaldecisions.reports.sdk.ReportClientDocument reportClientDocument = new com.crystaldecisions.reports.sdk.ReportClientDocument();
    //---------- Set the path to the location of the report soruce -------------
    //Open report.
    reportClientDocument.open(reportName, 0);
    //Get the report source
    reportSource = reportClientDocument.getReportSource();
    //---------- Create the viewer and render the report -------------
    //create the CrystalReportViewer object
    com.crystaldecisions.report.web.viewer.CrystalReportViewer crystalReportViewer = new com.crystaldecisions.report.web.viewer.CrystalReportViewer();
    //set the reportsource property of the viewer
    crystalReportViewer.setReportSource(reportSource);
    //set the DB logon into the viewer
    crystalReportViewer.setDatabaseLogonInfos(connectionInfos);
    //set viewer attributes
    crystalReportViewer.setOwnPage(true);
    crystalReportViewer.setOwnForm(true);
    crystalReportViewer.refresh();
    //set the CrystalReportViewer print mode
    //crystalReportViewer.setPrintMode(com.crystaldecisions.report.web.viewer.CrPrintMode.ACTIVEX);
    crystalReportViewer.setPrintMode(com.crystaldecisions.report.web.viewer.CrPrintMode.PDF);
    //process the report
    crystalReportViewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
    %>
    On the Sun One Web server
    On the Java Tab
    JDBC Connection Pools
    Pool Name = dev10g
    Class name = oracle.jdbc.pool.OracleDataSource
    User id = theuserid
    url = 10.10.10.10
    password=thepassword
    JDBC Resources
    JNDI Name=dev10g
    Pool = dev10g
    I get the error finding JNDI name � how do I tell Sun One where the JNDI is to make Crystal Reports work?

    I tried the following to test the JNDI
    I am trying to do JNDI in Sun One Web server 6.1 sp 5 but I seem to be missing an important part. I get two different errors based on the JSP code, �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance� or �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance�.
    Context.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/BOTest">
      <Resource name="jdbc/dev10g" auth="Container" type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev10g"
    username="userid" password="password" maxActive="20" maxIdle="10" maxWait="-1"/>
      <Resource name="Data" auth="Container" type="javax.sql.DataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@10.10.10.10:1521:dev10g"
    username="userid" password="password" maxActive="20" maxIdle="10" maxWait="-1"/>
    </Context>Sun-one.xml:
    <sun-web-app>
    <context-root>BOTest</context-root>
    <resource-ref>
    <res-ref-name>jdbc/dev10g</res-ref-name>
    <jndi-name>jdbc/dev10g</jndi-name>
    </resource-ref>
    </sun-web-app>web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
         <welcome-file>
                index.jsp
            </welcome-file>
        </welcome-file-list>
        <resource-ref>
            <description>jdbc:oracle:thin:@10.10.10.10:1521:dev10g</description>
            <res-ref-name>jdbc/dev10g</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Application</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
        <resource-ref>
            <description>jdbc:oracle:thin:@10.10.10.10:1521:dev10g</description>
            <res-ref-name>Data</res-ref-name>
            <res-type>javax.sql.DataSource</res-type>
            <res-auth>Application</res-auth>
            <res-sharing-scope>Shareable</res-sharing-scope>
        </resource-ref>
    </web-app>server.xml has:
    <RESOURCES>
    - <JDBCCONNECTIONPOOL name="dev10g" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="off" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off" transactionisolationlevel="read-uncommitted" isolationlevelguaranteed="off">
      <PROPERTY name="URL" value="jdbc:oracle:thin:@10.45.3.197:1521:dev10g" />
      <PROPERTY name="User" value="lab_ro" />
      <PROPERTY name="Password" value="0asphalt1" />
      </JDBCCONNECTIONPOOL>
      <JDBCRESOURCE jndiname="jdbc/dev10g" poolname="dev10g" enabled="on" />
      <JDBCRESOURCE jndiname="Data" poolname="dev10g" enabled="on" />
    - <JDBCCONNECTIONPOOL name="Data" datasourceclassname="oracle.jdbc.pool.OracleDataSource" steadypoolsize="8" maxpoolsize="32" poolresizequantity="2" idletimeout="300" maxwaittime="60000" connectionvalidationrequired="off" connectionvalidationmethod="auto-commit" validationtablename="" failallconnections="off" transactionisolationlevel="read-uncommitted" isolationlevelguaranteed="off">
      <PROPERTY name="User" value="lab_ro" />
      <PROPERTY name="URL" value="jdbc:oracle:thin:@10.45.3.197:1521:dev10g" />
      <PROPERTY name="Password" value="0asphalt1" />
      </JDBCCONNECTIONPOOL>
      <JDBCRESOURCE jndiname="jdbc/Data" poolname="Data" enabled="on" />
      <JDBCRESOURCE jndiname="dev10g" poolname="dev10g" enabled="on" />
      </RESOURCES>I am getting the following error: �Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance�
    With the following code:
    <%@page
       import="java.io.*,
               javax.sql.*,
               javax.naming.*,
               java.sql.*,
               java.util.*"%>
    <%
    Context init;
    Context ctx;
    DataSource datasource;
    Connection con;
    try
    init = new InitialContext();
    Context envCtx = (Context) init.lookup("java:comp/env");
    datasource = (DataSource)  envCtx.lookup("jdbc/dev10g");
    catch(NamingException ex)
        out.print("Cannot retrieve data source: " + ex.toString(true));
        return;
    try
        con = datasource.getConnection();
    catch (Exception e)
      out.print("Cannot retrieve connection: " + e.toString());
      return;
    try
        PreparedStatement pstmt = con.prepareStatement("SELECT PROJNO FROM MATERIALSLAB.VW_ASPHALTHEADERINFO");
        ResultSet results = pstmt.executeQuery();
        while (results.next())
        out.println(results.getString(1));
    catch(Exception ex)
    out.print("Got connection, can't execute query: " + ex.toString());
    return;
    %>I get the following error: Cannot retrieve data source: javax.naming.NamingException: Cannot create resource instance
    With the following code:
    <%@page
       import="java.io.*,
               javax.sql.*,
               javax.naming.*,
               java.sql.*,
               java.util.*"%>
    <%
    Context init;
    Context ctx;
    DataSource datasource;
    Connection con;
    try
        init = new InitialContext();
        ctx = (Context) init.lookup("java:comp/env");
        datasource = (DataSource) ctx.lookup("jdbc/dev10g");
    catch(NamingException ex)
        out.print("Cannot retrieve data source: " + ex.toString(true));
        return;
    try
        con = datasource.getConnection();
    catch (Exception e)
      out.print("Cannot retrieve connection: " + e.toString());
      return;
    try
        PreparedStatement pstmt = con.prepareStatement("SELECT PROJNO FROM MATERIALSLAB.VW_ASPHALTHEADERINFO");
        ResultSet results = pstmt.executeQuery();
        while (results.next())
        out.println(results.getString(1));
    catch(Exception ex)
    out.print("Got connection, can't execute query: " + ex.toString());
    return;
    %>

  • How can I setup a web server with 200 web site

    Dear all,
    I am going to get a PowerMac X 10.5.8 and I would like to use it to setup a web server to host 200 account.
    However it is a chalenge because I never did a such work with mac and I would like to have some advice from us and particularely about that:
    * Bandwidth (What should take care with my Phone line provider)
    * Is there a web platform I should provide to my client, to let them to manage MySQL, FTP account, manage file as PLESK does
    * How should it set up my mac server to make it as a performent web server
    * Do you have some other recommandation, procedure
    The Mac server I might received have
    12G RAm
    2,8 Hrz (quad)
    RADI1 (260G) I am going to extend it
    many thank for you recommandation and advice

    This is a System Center Configuration Manager 2007 forum. You should post your question in a Windows forum although to my knowledge, there is nothing built-in to Windows to provide this capability and you will have to implement a third-party solution.
    Jason | http://blog.configmgrftw.com

Maybe you are looking for

  • DISconnecting clips from render files?

    I've forgotten how to do this - disconnect the clips on my timeline from their related render files. I've got an 8 bit uncompressed timeline onto which I've put a combination of DV footage (from camera) and uncompressed movies (from Motion). I want t

  • IMPORT FROM MEMORY in job submitted program

    Hi experts, In a method I do:       SUBMIT zemr0044 USER sy-uname                      VIA JOB lc_jobname                      NUMBER lv_jobcount                      AND RETURN. Before this submit I have done:   IMPORT ls_header = ls_header FROM DAT

  • Very  Urgent Pls  help :  Change of  payload type to  user-defined types

    Hello Experts I was using sys.xml_type as payload type in my queue table creation. consider xml message <order> <id>1</id> <load rerer="mq" erere='gg" > </load> </order> This i inserted into queue table using enqueue process. this is done. BUT NOW My

  • How to create a database link in someone else's schema?

    I have access to Sys, but I don't have the passwords to all personal accounts. generally if you have a create any privilege you just do create <object> <schema>.object_name .... if i try this with a database link, the link gets created in my schema w

  • Developer vs. Standard

    I am currently developing a web service using the CF Developer edition. I am aware that it is only accessible from 2 IPs and it is not the full version but i thought it would work for the development and if everything worked the way it was supposed t