Xsql,JRun ans IIS

Hi Steve,
I'm trying to execute .xsql thro JRun and IIS.
Earlier i was able to run xsql files using xsql.bat with the desired results.
Today i tried to run the same script thro JRun but i failed.
the error i 'm getting is
XSQL-007: Cannot acquire a database connection to process page.
ORA-01017: invalid username/password; logon denied
i think it has something to do with the XSQLconfig.xml file.
do we need to place that file in the virtual directory containing other .xsql scripts.
any insight 'll be of great help.
Thanks
Aman
null

Place it under your xsql/lib directory.
Check if you have entered CLASSPATH setting
in JRUN.
[General]-[Java]
There is a Java Classpath setting.

Similar Messages

  • How to process .html files by using JRun 4 + IIS 6?

    Is It possible to do that?
    Any suggestions are appreciated.

    this is what it say.
    Transfers the specified deployment files, including deployment plans and alternate deployment descriptors, to the Administration Server. Use this option when you are on a remote machine and you cannot copy the deployment files to the Administration Server by other means. The application files are uploaded to the WebLogic Server Administration Server's upload directory prior to distribution and deployment.
    Regards,
    kal

  • Authentication of JRun&IIS

    After I connected JRun and IIS on the same machine, and tried
    to open a html
    page I always see a popup window asking me to provide the
    username and
    password. But if I only use IIS(no connection to JRun) I am
    able to open
    that page in web browser without any problem. Does anyone
    know why I get the
    login prompt window?
    Thanks a lot.

    It turned out to be a NTFS permission issue.
    After I assigned the permissions of the targeting folders and
    files to the designated users it's working fine now.
    Thanks.

  • Remote XSQL Connection

    I am trying to use a .xsql page on a web server to pull data from a remote database. I installed the XSQL servlet on the web server computer as well as the computer containing the ORACLE database.
    My xsqlconfig is:
    <connection name="demo">
    <username>sdsdba</username>
    <password>sdsdba</password>
    <dburl>jdbc:oracle:thin:@cos-studio-nt:1521:SPACEXML</dburl>
    <driver>oracle.jdbc.driver.OracleDriver</driver>
    </connection>
    where cos-studio-nt is the remote computer and SPACEXML is the SID to the database.
    For now I'm just trying to get the helloworld.xsql to work to test the connection. I'm using IE 5.5 and when I call the script all I get is the xsql page as it appears in the .xsql file (no XML--see below).
    (<?xml version="1.0" ?>
    <xsql:query xmlns:xsql="urn:oracle-xsql" connection="demo">SELECT 'Hello World' AS "GREETING" FROM DUAL</xsql:query> )
    We are running JRUN and IIS and I followed the directions in the release notes to set those up.
    Have I forgotten to do something? I'd appreciate any advice. Thank you.

    You are either using web-to-go or IIS. They run on different ports.
    If you are able to browse the .xsql files via IIS+JRun, but those files are not getting processed, it sounds like the JRun setup to associate *.xsql extension with the XSQLServlet class did not go successfully.
    Make sure you did not set the configurations
    for the JRun Web Server that also ships with JRun. They need to be done in the config for JRun for IIS.
    null

  • Web forms & xsql

    How can I combine these both fields?
    I have created a html output with a .xsql-file ans a .xsl-file and I still updated some data in my db with another .xsql-file, but i don't know, how to pass some data in a web form to a .xsql-file inserting some data in my db and forwards to my show.xsql
    Best regards
    \nhan Inay

    Do you have the correct class id set up i the HTMO - it is different for every version of Jinit.
    thanks
    Grant Ronald
    Forms Product Management

  • Question about speed issues using JSP/JavaBeans/JRun & SQL Server

    Hi. I am a developer for a small software company. About 2 years ago we started development on an E-Commerce platform written in Java. It has administrative tools that are actual applications and also web admins that are jsp pages.
    Every JSP page we have calls java beans, and these java beans then pull information from or put information into our database.
    Our database is SQL server 7.0 and is a relational DB. So, for instance, we have about 100 items, with 15 features each, 3 images, and so its a pretty small database, but it has quite a few rows.
    Now, to pull information straight from our database and spit it out on a jsp page, it takes about 2 seconds, to put information into the database (saving a survey), it takes about 5-10 seconds. To me, this seems like a VERY long time just for a page to load. We have about 7 websites all running on the same server with different instances of JRun 3.0, and that same server is running SQL Server and IIS 5.0.
    Now, without posting our thousands of lines of code, can anyone help me try to figure out where our bottleneck might possibly be? Any help or suggestions would be greatly appreciated
    Anyone that has done something similar, what was your database access time and what did you use to display your pages? (Jrun with IIS or what)
    I'm the last person here (everyone else jumped ship and I wasn't here for the design aspect of this project) and before we bring in a consultant to try to work on this, I was hoping that some of you here could share your insight on any similar projects you may have worked on.
    Thank you very much.

    Make sure that your JDBC code is using connection pooling. You would know this since you would have to set up a DataSource in the JMC.
    Then instead of going through the DriverManager, you would get your Connection from the DataSource object via the InitialContext object.
    If you're already using Connection pooling, verify that the SQL statements are as efficient as possible. That is, make sure they are using indexes in the DBMS. The SQL tracer tool can show any bad performing SQL.
    Lastly, re-index any tables if they are not reindexed on a regular basis. How often you re-index will depend on how often the data changes.
    Good luck ...

  • JRUN and IIS7 Issues

    Hello,
    I have been trying to replicate a W2K3 JRUN configuration in
    Windows 2008 Server (x64) and whilst I have managed to get JRUN and
    CF8 working, I receive an error when using the 'Web Server Server
    Configuration Tool' to configure the JRUN instances/IIS settings.
    The error is:
    Enabling IIS7 optional packages.... it will take 2 to 5
    minutes...
    java.io.IOException: Cannot run program "pkgmgr":
    CreateProcess error=2, The sys
    tem cannot find the file specified
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
    at java.lang.Runtime.exec(Runtime.java:593)
    at java.lang.Runtime.exec(Runtime.java:431)
    at java.lang.Runtime.exec(Runtime.java:328)
    at
    jrunx.connectorinstaller.Win32Handler.<init>(Win32Handler.java:73)
    at
    jrunx.connectorinstaller.IISWebSites.<clinit>(IISWebSites.java:300)
    at
    jrunx.connectorinstaller.WebServerInfo.setWebServerDirectory(WebServe
    rInfo.java:347)
    at
    jrunx.connectorinstaller.WebServerInfo.<init>(WebServerInfo.java:109)
    The tool does actually run though does not display IIS7
    configuration nor will it update it.
    Any ideas would be very appreciated.
    Thanks.

    Well I was having exactly the same trouble and pulling my
    hair out.
    Here is what I found that worked.
    The first is a web site that is instructions for CF MX 7 and
    Vista.
    Same rules apply for MX8 and Server 2008 (with one exception)
    The port that CF8 Uses is 51800
    Pages 6 to 9 of this site this tells you how to get the
    "Missing DllS"
    http://www.communitymx.com/content/article.cfm?page=6&cid=224AA
    This Adobe article explains a few additional steps that are
    needed. Be sure to follow it to the bottom, (Ignoring the stuff
    that is not pertinent to you.
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19575
    Hope this helps.
    -k-

  • Problem with bean in a JSP page

    I have developped a JSP pages in wich I call a bean with
    <jsp:useBean id="db" scope="request" class="SQLBean.class" />
    The bean SQLBean.class is in the same directory as the JSP page.
    When I execute the JSP, I have the following error:
    SQLBean.class db = (SQLBean.class) JSPRuntime.instantiateBean("db", "SQLBean.class", "request", __db_was_created, pageContext, request, session, application);
    Syntax error: [expected after this token
    Syntax error: "]" inserted to complete ArrayAccess
    Syntax error: "AssignmentOperator AssignmentExpression" inserted to complete StatementExpression
    I use JRUN with IIS
    Thanks for the help

    I am assuming your class name is SQLBean.
    use:
    <jsp:useBean id="db" scope="request" class="SQLBean" />
    instead of:
    <jsp:useBean id="db" scope="request" class="SQLBean.class" />

  • Finalizer Thread - java.lang.rOperating System

    Can anyone please help me understand what is being conveyed by the finalizer portion of a thread dump:
    "Finalizer" (TID:0x1669320, sys_thread_t:0x592180, state:CW, native ID:0xe6) prio=8
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java, Compiled Code)
         at java.lang.rOperating System: Windows NT Version 4.0
    I have been unsuccessful in finding any information on how java.lang.rOperating System comes into play. When our finalizer thread looks like this within the thread dump, the Reference Handler and Signal Dispatcher threads do not appear at all within the dump. The thread dump is from a web application using JRun with IIS serving the web pages.
    Thanks,
    Kim

    Can anyone please help me understand what is being
    conveyed by the finalizer portion of a thread dump:
    "Finalizer" (TID:0x1669320, sys_thread_t:0x592180,
    state:CW, native ID:0xe6) prio=8
    at java.lang.Object.wait(Native Method)
    at
    java.lang.ref.ReferenceQueue.remove(ReferenceQueue.jav
    , Compiled Code)
    at java.lang.rOperating System: Windows NT Version
    4.0
    I have been unsuccessful in finding any information on
    how java.lang.rOperating System comes into play. When
    our finalizer thread looks like this within the thread
    dump, the Reference Handler and Signal Dispatcher
    threads do not appear at all within the dump. The
    thread dump is from a web application using JRun with
    IIS serving the web pages.
    Thanks,
    KimThis portion of the thread dump is corrupted. The finalizer thread dump should normally look something this assuming you didn't catch it in the middle of things:
    "Finalizer" daemon prio=8 tid=0xe1010 nid=0x7 waiting on monitor [0xfdd81000..0xfdd819e0]
         at java.lang.Object.wait(Native Method)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:149)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
         at java.lang.ref.Finalizer$FinalizerWorker$FinalizerThread.run(Finalizer.java:120)
    Which version of Java are you running? (use java -version)
    Chuck

  • Hide path info in the brower url

    Hi, all.
    I've search all over this forum but couldn't find a solution to my problem. I have a website hosted with JRun and IIS. What I want to do is that when users surf from page to page within my site, the url will always show only the domain name instead of domain:port_no/index.html.
    Now I can make the url remains the same by using frames but it's always shows the url of first page, something like this: http://www.mydomain.net:8100/mypath/index.html.
    What can I do to remove the port and path info from this url? i have no idea which i should change, the IIS settings or the JRun settings or even the JSP?
    Please help if you got any idea. Thanks a lot.

    Hi,
    I created one frame based test website with three frames. One top, left and the main frame.
    I tested with some sample pages and its working fine and i came to know that i missed to tell somthing.
    First i want to know the frameset's file name. If the frameset's filename is index.html then there is no problem. Other wise try to load the frameset instead of index.html as default file in the IIS website's properties.
    I have no problem with my frames. It will show only the www.domain.com in the address bar. I tested it with several subdirectories with sample html pages. it works fine and upto my last page it shows only the www.domain.com only.
    If the problem occurs again, give me the code of ur frame set.
    Sundar.

  • JSP/Servlets on ColdFusion MX 7

    I have a customer that needs to run a JSP/Servlet forum
    software. I dont want to have to build a server using Apache Tomcat
    when I have a perfectly good Windows server running ColdFusion MX
    7. Just one more headache to worry about. Currently, I have
    ColdFusion MX 7 running IIS 6.0. I did not install the JRUN web
    server. Can I rerun the install to put JRUN on the server to run
    the servlets? Do I need to build another Windows server and install
    JRUN without IIS? Not sure what to do here. Any help would be
    appreciated. Thanks.
    Don Seibert
    SeiberSpace Technologies, LLC
    www.seiberspace.net

    JSPs and servlets will run directly inside CFMX7 enterprise,
    but not standard. You can use your standard webserver and do not
    need to activate the JRun webserver.

  • Window resizing issues

    My application is built using Flex, Coldfusion  and MySQL as the back end. I am a newbie to Flex and come from a C/C++ development background.
    There is a window W1 which has a Vertical Box which in turn has a Datagrid  and one of those DataGrid columns of the Datagrid has a Horizontal Box  which has a button icon. The MXML is somewhat like
    <mx:VBox width="100%" paddingBottom="10" paddingLeft="10" paddingRight="10" paddingTop="10" styleName="formSection">
                <mx:DataGrid id="my_grid" dataProvider="{my_grid_dp}" headerHeight="0" width="100%"
                     allowMultipleSelection="true" change="remove_value.enabled =  expected_result_grid.selectedItems.length > 0;" rowCount="3">
                    <mx:columns>
                         <mx:DataGridColumn headerText="Column 1" dataField="expected_result" wordWrap="true" />
                        <mx:DataGridColumn headerText="Column 2" dataField="expected_result" width="45" >
                            <mx:itemRenderer>
                                <mx:Component>
                                    <mx:HBox  horizontalAlign="center">
                                        <mx:Button icon="@Embed('../assets/img/edit.png')" toolTip="View" buttonMode="true" click="outerDocument.openmyWin_fn('update')"/>
                                    </mx:HBox>
                                </mx:Component>
                            </mx:itemRenderer>
                         </mx:DataGridColumn>
                    </mx:columns>
                </mx:DataGrid>
            </mx:VBox>
    When the button icon is clicked(which is noted in bold above), another new window W2 is opened using the below function
    public function openmyWin_fn(eventObj:*):void
                    //Keeps multiple windows from being opened
                    if(result_win == null){
                        result_win = PopUpManager.createPopUp(this, result_win, true) as  result_win;
                    //Passes the parent object to the popup window
                    result_win.openingParentWindow = this;
                    //Set the mode (Add or Update) in which the form should operate
                   result_win.form_mode = eventObj;
    I  tried to add a TextInput control in the above MXML in Window W1's source which  led to the window W2 opening in the rightmost part of browser window  without a scroll bar instead of appearing with a scroll bar in the  center of browser window. W2 should be appearing as overlapping W1, not  adjacent to it on the right hand side.
    I commented the TextInput code I added but still window W2 was appearing as adjacent without scrollbars. I removed the code I added for the TextInput control, still the issue(window W2 opening in the rightmost part of browser  window without a scroll bar) persists.Window W2 was having scrollbars before I tried to add the TextInput MXML control. It was also centering in the browser window before I tried to add the TextInput MXML control.
    I once had this where  inadvertently a height value was added to the whole window W2 and W2 was opening in the rightmost part of browser  window without a scroll bar. After I  removed the height value from W2, the window was appearing in center with scroll bars. This time I am comparing the  source before I added the TextInput control and after I removed it and the files are identical.
    Where could I be erring to cause the W2 to appear in the rightmost part of browser? I guess the issue is not due to the change(TextInput control) I tried to add because no code exists for that attempted change now.
    I tried restarting my machine and all the services(Coldfusion, JRun, MySQL, IIS) and the problem persists. I have also compared the window W1's source file and it has nothing which could be causing the strange behavior of W2
    Am I missing some subtleties about Flex? How can an attempt to change which was undone cause such issues?
    Any suggestions would be appreciated.

    Thanks Flex harUI,
    The issue was in the window which was causing the new pop up window to open.
    It had something like
    public function openWin_fn(eventObj:*):void
                        outcome_win = PopUpManager.createPopUp(this, my_new_win, true) as my_newlycreated_win;
    At the line which is highlighted in bold, I needed a "parentWindowOpener" instead of a "this" pointer which was causing the issue. The line should be outcome_win = PopUpManager.createPopUp(parentWindowOpener, my_new_win, true) as my_newlycreated_win;
    I don't recall why I changed the parentWindowOpener to this and am more surprised that my original source file had the "this" pointer which is why I could not trace it earlier.
    Such subtleties of Flex are what I need to know in detail. Would you suggest any books for me? My background is mainly in C/C++ development.
    Thanks for your help. I have marked your answer as correct so that you get the points since you tried to help me a lot and have given helpful answer to betheflexcoder for her response.

  • Can Weblogic do this ?

    We want to create a large number multiplatform applications using Java.
    We need to create a window with interactive objects on it... buttons, hot
    spots, hot objects, data entry fields, etc
    We need to be able to show moves... embedded in our applications window...
    not launch another window with Windows Media Player or whatever... (probably
    a version of the mpeg format... maybe with ac3 audio.)
    We need to be aboe to show embedded Flash movies... as above... embedded in
    our app and not launch a seperate window.
    We would like a drag and drop interface for building applications so that we
    can train employee's who are not necessarly programmers to do some program
    modifications.
    Any comments will help us save evaluation time.
    thanks for any info - tmb

    [email protected] (lalith jayaweera) wrote in
              <[email protected]>:
              >Hi All,
              >
              >Can I do this.
              >It is reguarding the IIS 4.0 and weblogic 5.1.(in the same machine)
              >
              >Can anybody let me know can we put the JSPs in the
              >IIS root directory and the relevant beans in the Weblogic server.
              >
              >Consider that both the Severs are running on the same machine on
              >different ports.
              >
              >What I need is basically to Work IIS as the Web Server (to host JSPs)
              >and to put the necessary beans in the WEBLOGIC
              > server(as the bean container).
              >
              >What I need is whether this is possible or not.
              >If yes how Can I do it.(Keep in mind that I do not wan't to put the
              >jsp's in the WEBLOGIC server, those Jsps should be in the IIS server
              >only the beans should be inside the WebLogic server)
              >
              >Early reply very much appreciated.
              >
              > thanks
              >
              >lalith
              >
              >
              I replied to your other, more similar note but you left out the requirement
              about the beans. First off, I'm assuming EJBs when you say "beans".
              Secondly, my response is still the same. You will need something like JRun
              for IIS in order for the servlets created from the JSPs to work properly if
              you do not want them to run inside the WLS space.
              Jesse
              

  • Issue with JRun 4 Web Connector to IIS 7 on MS Vista

    Hi All,
    I am facing an issue while connecting from JRun4 to IIS 7
    through the web connector(Web Server Configuration Tool). I have
    installed JRun Updater 7. When I get into the connector and click
    Add, the detailed form appears and in that, when I select the
    option 'All' from the combo IIS Web Site and then click OK, I get
    an exception related to jrun_iis6_wildcard.dll. Sometimes this
    combo is disabled showing the option None. So I cannot move further
    with my connection.
    Please provide me with any suggestions you may have,
    Thanks.

    i am also facing same problem, if u know ans ping me.
    i am trying...here if i know i will forward to u

  • Can not make XSQL servlet running under Jrun 3.1! need help

    Hi,
    I tried to run Oracle XSQL servlet under JRun 3.1,I did servlet mapping, such as
    <servlet-name>oracle-xsql-servlet</servlet-name>
    <servlet-class>oracle.xml.xsql.XSQLServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>oracle-xsql-servlet</servlet-name>
    <url-pattern>*.xsql</url-pattern>
    </servlet-mapping>
    I set classpath for XSQL related library such as oraclexsql.jar, xmlparserv2.jar,etc, I believe everything is setup correctly, however when I invoke .xsql page, I did not get data instead of getting sql text!, here is my xsql file content:
    <?xml version="1.0"?>
    <!-- reports.xsql: List of reports by user id -->
    <?xml-stylesheet type="text/xsl" href="Filter.xsl"?>
    <page connection="reports_8i" xmlns:xsql="urn:oracle-xsql">
         <dataform target="reportFilter.jsp" submit="Go">
    <xsql:set-session-param name="userid" value="{@userid}" ignore-empty-value="no"/>
         <xsql:include-param name="userid"/>
         <xsql:set-session-param name="bu_id" value="{@bu_id}" ignore-empty-value="no"/>
         <xsql:include-param name="bu_id"/>
         <xsql:set-session-param name="client_id" value="{@client_id}" ignore-empty-value="no"/>
         <xsql:include-param name="client_id"/>
         <item type="list" name="targetPage" label="Available Reports">
         <xsql:ref-cursor-function bind-params="userid">
                   reports_generation.getReportList(?)
              </xsql:ref-cursor-function>
              </item>
         </dataform>
    </page>
    What I got when I invoked this page is reports_generation.getReportList(?)!!
    It seems that JRun 3.1 did not understand xsql syntax, it means it can not find XSQL servlet related libraries, come on, I did set classpath.
    Does anyone has this experience to help me out? Highly appreicate you in advance.
    Thanks.

    i think i solved this problem by specifying the full path to javac...
    what must i do to avoid this?

Maybe you are looking for

  • VBA help file in Word 2007 won't open

    When trying to open the VBA help in Word 2007 the following message occurs:"This webpage might not be displayed properly.  The content of the webpage does not match the type specified by the server.  Click here for options..."  After clicking, I get

  • InDesign CS3 & OSX Leopard  cannot type into palettes

    In InDesign CS3, I cannot type into palette boxes (e.g. to choose a typeface, find & change, the tranform palette etc etc). It allows me to type so far, then seems to 'refresh' itself, wiping what I have typed and reverting to what was there before.

  • How do I change the date format to standard dd/mm/yy?

    I've looked through the settings, I've looked through the help files and I've searched the forums, but I couldn't even find mention of this. My phone will only display the date as mm/dd/yy, which as far as I know is only used in USA and I've set my l

  • Word 2010 Ribbon toggle button page size feedback

    For a Word template I am developing a custom ribbon for end-user ease of use and to protect the structure of the document. There is one issue I am currently running into for which I cannot find a solution. It started with a footer image which needs t

  • Slow charging with my Zen Mic

    I've got my Zen micro 3 months and i'm thrilled with it. But now my player does charge very, very, very slowly. The charging-icon is flashing, but there aren't any blocks coming. I just charge it with my usb.. What do I have to do?!