Weblogic 6.1 under Red Hat 7 not indicating JSP compile errors

I downloaded Weblogic 6.1 under Red Hat 7 and ran the console installation. Then
I created $WL_HOME/config/mydomain/applications/DefaultWebApp/test.jsp as follows:
<html>
<head><title>Hello World</title></head>
<body>
<% String hello = "Hello"; %>
<%= hello %> World!
</body>
</html>
Then I put the url in my favorite web browser and saw the "Hello World!" page.
Next I changed test.jsp to have the following:
<html>
<head><title>Hello World</title></head>
<body>
<%= hello %> World!
</body>
</html>
I then refreshed the url with my favorite browser.
The expected behavior is a compile error in test.jsp because the variable "hello"
is not defined. However Weblogic gives no indication of the compile error and
sends the HTML output of the previously compiled servlet. I have tried this with
both the Windows and Solaris versions and I get the compile error as expected.
My question is this:
Is there a fix for this yet? If so, then from where do I download it?
Thanks in advance,
Craig

Hi.
You need to do 1 of 2 things to get WLS to notice it has a new webapp component:
1. undeploy and deploy the webapp or
2. use the webapp component refresh tools as follows:
java weblogic.management.tools.WebAppComponentRefreshTool [options]
running this with no options prints out a usage message.
Hope this helps,
Michael
Craig Andrews-Jones wrote:
I downloaded Weblogic 6.1 under Red Hat 7 and ran the console installation. Then
I created $WL_HOME/config/mydomain/applications/DefaultWebApp/test.jsp as follows:
<html>
<head><title>Hello World</title></head>
<body>
<% String hello = "Hello"; %>
<%= hello %> World!
</body>
</html>
Then I put the url in my favorite web browser and saw the "Hello World!" page.
Next I changed test.jsp to have the following:
<html>
<head><title>Hello World</title></head>
<body>
<%= hello %> World!
</body>
</html>
I then refreshed the url with my favorite browser.
The expected behavior is a compile error in test.jsp because the variable "hello"
is not defined. However Weblogic gives no indication of the compile error and
sends the HTML output of the previously compiled servlet. I have tried this with
both the Windows and Solaris versions and I get the compile error as expected.
My question is this:
Is there a fix for this yet? If so, then from where do I download it?
Thanks in advance,
Craig--
Developer Relations Engineer
BEA Support

Similar Messages

  • JSP compilation errors in weblogic 6.1

              I'm getting these JSP compilation errors in weblogic 6.1 on Solaris. Please help.
              Full compiler error(s):
              error: Invalid class file format:
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:34: Class
              com.ford.redherring.model.PropertiesAttributesModel not found in import.
              import com.ford.redherring.model.PropertiesAttributesModel; <file://[>
              /web/jsp/event/eventForm.jsp; Line: 64]
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:38: Class com.ford.redherring.util.DialogHeader
              not found in import.
              import com.ford.redherring.util.DialogHeader; <file://[> /web/jsp/event/eventForm.jsp;
              Line: 68]
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:39: Class com.ford.redherring.util.DialogFooter
              not found in import.
              import com.ford.redherring.util.DialogFooter; <file://[> /web/jsp/event/eventForm.jsp;
              Line: 69]
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:40: Class com.ford.redherring.model.DDContainer
              not found in import.
              import com.ford.redherring.model.DDContainer; <file://[> /web/jsp/event/eventForm.jsp;
              Line: 70]
              ^
              /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              eb/_jsp/_event/__eventForm.java:41: Class
              com.ford.redherring.model.DDValidationModel not found in import.
              import com.ford.redherring.model.DDValidationModel; <file://[>
              /web/jsp/event/eventForm.jsp; Line: 71]
              

    This appears to be a CLASSPATH problem (you are missing references to
              'com.ford.redherring.model.*' and 'com.ford.redherring.util.*'). The
              CLASSPATH may be set in the server startup script. Hope this helps.
              Wade.
              "Katri Alur" <[email protected]> wrote in message news:<[email protected]>...
              > I'm getting these JSP compilation errors in weblogic 6.1 on Solaris. Please help.
              >
              > ----------------------------------------------------------------------------
              > ----
              > Full compiler error(s):
              > error: Invalid class file format:
              >
              >
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:34: Class
              > com.ford.redherring.model.PropertiesAttributesModel not found in import.
              > import com.ford.redherring.model.PropertiesAttributesModel; <file://[>
              > /web/jsp/event/eventForm.jsp; Line: 64]
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:38: Class com.ford.redherring.util.DialogHeader
              > not found in import.
              > import com.ford.redherring.util.DialogHeader; <file://[> /web/jsp/event/eventForm.jsp;
              > Line: 68]
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:39: Class com.ford.redherring.util.DialogFooter
              > not found in import.
              > import com.ford.redherring.util.DialogFooter; <file://[> /web/jsp/event/eventForm.jsp;
              > Line: 69]
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:40: Class com.ford.redherring.model.DDContainer
              > not found in import.
              > import com.ford.redherring.model.DDContainer; <file://[> /web/jsp/event/eventForm.jsp;
              > Line: 70]
              > ^
              > /opt/projects/redherring/beahome/wlserver6.1/config/mydomain/applica
              > tions/.wlnotdelete/WEB-INF/_tmp_war_myserver_myserver_redherring/jsp_servlet/_w
              > eb/_jsp/_event/__eventForm.java:41: Class
              > com.ford.redherring.model.DDValidationModel not found in import.
              > import com.ford.redherring.model.DDValidationModel; <file://[>
              > /web/jsp/event/eventForm.jsp; Line: 71]
              

  • Weblogic 9 and JSP compiler errors

    Hello everyone,
              I am having problems with my Jsps in my EAR file deployed on WL 9.0.
              I have a Jsp called upms.jsp that contains the following code snippets:
              After my import statements, I have some code that creates a resource bundle that accesses a properties file:
               <%!
                   ResourceBundle bundle = null;
                   public void jspInit() {
                   bundle = ResourceBundle.getBundle("conf.properties");
              %>
              I get an error from the above code:
              upms.jsp:3:11: 'try' statement has neither 'catch' nor 'finally' clause
                        import="java.util.ResourceBundle"
              ^----------------------^
              I am totally clueless as to what that error means.
              Next I declare a bean I use in the jsp:          
                   <jsp:useBean
                        id="userPrefsManagerBean"
              class="controllers.beans.UserPreferencesManagerBean"
                   scope="session">
                   </jsp:useBean>
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              I get these errors from the above portion:
              upms.jsp:27:3: The qualifier of this name is a package, which cannot contain fields.
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: The qualifier of this name is a package, which cannot contain fields.
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Expression expected (found '.' instead)
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected ) (found 'class' instead)
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected <identifier> (found ')' instead)
                   <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              Has anyone encountered these before?
              This jsp worked perfectly well when I deployed my EAR file on JBoss...no such luck using Weblogic.
              Is there something I am missing here? I appreciate any help.
              Cheers, :-)
              M.

    Mildred,
              Two suggestions:
              1) use option weblogic.jspc's "-keepgenerated", you can keep the generated
              servlet's source code.
              Please paste it here.
              2) Can you create a simple reproducer(e.g. a war), and put it here, so that
              we can debug it and give more clues.
              To reproduce your issue, I write a simple a simple
              UserPreferencesManagerBean classs below :
              package controllers.beans;
              public class UserPreferencesManagerBean {
              private int p1;
              public void setP1(int p)
              p1 = p;
              public int getP1()
              return p1;
              But it works(oh, I run it under 910MP1).
              We cannot tell too much without your further information
              Thanks
              Leon
              <Mildred A> wrote in message news:[email protected]...
              I am still fighting with this issue.. Dang!
              I don't know what to change in my JSP because the WL JSP compiler errors are
              so out there..
              Here is the first portion of the JSP file:
              <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
              session="true"
              pageEncoding="ISO-8859-1"
              import="java.util.ArrayList"
              import="java.util.HashSet"
              import="java.util.Date"
              import="java.util.Collections"
              import="java.util.ResourceBundle"
              %>
              <%!
              ResourceBundle bundle = null;
              public void jspInit() {
              bundle = ResourceBundle.getBundle("conf.properties");
              %>
              <jsp:useBean
              id="userPrefsManagerBean"
              class="controllers.beans.UserPreferencesManagerBean"
              scope="session">
              </jsp:useBean>
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              Below is the error I get from this section alone (after precompiling):
              upms.jsp:3:11: 'try' statement has neither 'catch' nor 'finally' clause
              import="java.util.ArrayList"
              ^-----------------^
              upms.jsp:27:3: The qualifier of this name is a package, which cannot contain
              fields.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: The qualifier of this name is a package, which cannot contain
              fields.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Expression expected (found '.' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected ) (found 'class' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected <identifier> (found ')' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Expression expected (found 'catch' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Illegal use of an expression as a statement.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: No variable or field with this name could be found at this
              location.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: No variable or field with this name could be found at this
              location.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected ) (found '__ee' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Illegal use of an expression as a statement.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected ; (found ')' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: No variable or field with this name could be found at this
              location.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: No variable or field with this name could be found at this
              location.
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              upms.jsp:27:3: Syntax error: expected } (found 'EOF' instead)
              <jsp:setProperty name="userPrefsManagerBean" property="*" />
              ^-------------^
              Can anyone see what I am doing wrong here? ?:| ?:|
              Cheers,
              M

  • How to invoke rman under red hat

    hi, friends, i want to use rman for the database in the red hat. however after i typed the command of rman, no responses come out.
    what is the reason?
    thanks

    Take a look at MetaLink <Note:101050.1>.
    Under a default REDHAT LINUX 6.1 and 6.2 install, a KDE program called rman (a file
    viewing / editing program) is installed under /usr/bin. If this is listed
    prior to $ORACLE_HOME/bin in the users PATH environment then it is
    called instead of Oracle RMAN.
    Ensure that correct RMAN executable is being run by typing
    $which rman
    The output will most likely show '/usr/bin/rman'
    Execute RMAN by typing in the following:
    $ORACLE_HOME/bin/rman
    Another solution is to add $ORACLE_HOME/bin before /usr/bin
    in the PATH environment variable
    Hope that helps.
    Tammy

  • Problems Installing XSU 2.1.0 into O8.1.6 under Red Hat

    Here is the system:
    Red Hat Linux 6.2 running Oracle 8i 8.1.6 with no known problems (but I
    am an Oracle newbie so some problems may be yet undetected)
    I am trying to install the XML aprse from Technet. The exact file I
    downloaded was XSU111_816_ver2_1_0_beta.zip which matches the java
    class files I have.
    After changing the appropriate environment variables in xsuload.csh I
    run it and eventually get to this
    loading : META-INF/MANIFEST.MF
    creating : META-INF/MANIFEST.MF
    resolver :
    resolving: oracle/xml/sql/dml/OracleXMLStaticSave
    Errors in oracle/xml/sql/dml/OracleXMLStaticSave:
    ORA-29534: referenced object DEVELOPER.oracle/xml/sql/dml/OracleXMLSave could not be resolved
    resolving: oracle/xml/sql/docgen/OracleXMLDocGenLob
    oracle/xml/sql/name/OracleScalarName is already resolved
    oracle/xml/sql/dataset/OracleXMLDataSetExtJdbc is already resolved
    oracle/xml/sql/name/OracleADTName is already resolved
    oracle/xml/sql/dataset/OracleXMLDataSetGenJdbc is already resolved
    resolving: OracleXMLStore
    Errors in OracleXMLStore:
    ORA-29534: referenced object DEVELOPER.oracle/xml/sql/dml/OracleXMLSave could not be resolved
    The eventually the PL/SQL stuff loads up and bombs out. Earlier in the
    loadup the OracleXMLSAve object was resolved correctly. I am at a loss
    here. My ignorance exceed my troubleshooting ability and really need
    some pointers.
    Also how do I clean this stufff out of a database to start over?
    Thanks in advance!

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Steven Muench ([email protected]):
    The two errors you listed here are because OracleXMLSave class could not be resolved.
    Do you have the error for [b]why the OracleXMLSave class itself couldn't be resolved in the first place? The other errors are a domino-effect of that one...
    <HR></BLOCKQUOTE>
    The OracleXMLSave class WAS resolved correctly earlier in the loadup, which is why this is so confusing. How can I clean all of that stuff out of the DB I was working to start over?
    Is it necessary to run env.csh prior to loading this up? I was not planning on using the client side so ignored that.

  • Installing Oracle client for Red Hat release 5.5 throws error

    I have Linux OS Red Hat Enterprise Linux Server release 5.5 (Tikanga) over 64 Bit and trying to install Oracle client 10.2.1, I downloaded it from
    http://www.oracle.com/technetwork/database/10201linx8664soft-092456.html
    I am doing silent install and getting error
    Using paramFile: /u01/app/oracle/staging/client/install/oraparam.ini
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
    Failed <<<<
    Exiting Oracle Universal Installer, log for this session can be found at /tmp/OraInstall2011-06-29_10-25-50AM/installActions2011-06-29_10-25-50AM.log
    can someone let me know that 10.2.1 is compatible with RH5.5 or I need to download software from someplace else.

    @Paul M - I followed that metalink note and make changes to oraparam.ini file and add redhat-5 but getting warning messages after install like
    The installation of Oracle Client was successful, but some optional configuration assistants failed, were cancelled or skipped
    @Aman - I am going to go with 11g client for RH 5.5
    Thanks guys...

  • JSP compilation error, IOException, can not output (Urgent)

              Hi,
              I met the error that Weblogic can compile the jsp to a temporary java file but can
              not compile the temporary java file to class file, it said java.io.IOException, anybody
              can tell why?
              Thanks a millon!
              

              Your system does not have enough swap space to run the JSP compiler.
              Add swap space.
              Mike
              "dai shui" <[email protected]> wrote:
              >
              >Hi,
              >I met the error that Weblogic can compile the jsp to a
              >temporary java file but can
              >not compile the temporary java file to class file, it
              >said java.io.IOException, anybody
              >can tell why?
              >
              >Thanks a millon!
              

  • How do I add an included jsp to my project and not get a compile error?

    Hi,
    I have a project with some included jsp's however if I add them to the project, when I build I get a compile error as the jsp uses variables from the calling jsp.
    Any ideas on how to get round this.
    Thanks
    DM

    There are two main ways that I deal with this problem (yeah, it sucks, but it sort of makes sense that it happens...) (I presume you're talking static include here...)
    #1 - name the included file with an extension that JDev will not try to compile (.jspf - for JSP Fragment - is common) Then it will be compiled in with the including page, but won't gag the project compilation. Advantage - it works, and you find out at compile time if you hosed up the variable reference. Disadvantage: JDev tries really, really, really hard to keep you from naming a JSP file with an extension of .jspf I normally create the .jsp file in JDev, remove it from the project, rename the file outside of JDeveloper, then add it back to the project - pain in the butt, but it works (and you probably aren't building scads of these included files...)
    #2 - add the variable to be referenced to the pageContext implicit object as an attribute in your including page (ex, <% pageContext.setAttribute("myVar", myVar); %>), then reference that attribute in your included JSP (ex, <%= pageContext.getAttribute("myVar") %>) . It will compile fine (as the compiler has no way of knowing if the pageContext attribute actually exists, it just sees that the syntax is good and motors along merrily. Advantage: don't have to have differently named JSP files (which isn't actually a big deal). Disadvantage: You hvae to add the variable to the pageContext (and you have to always add Object derivatives, as primitives won't go into a hash) and you don't find out if you screwed the variable up until runtime (when it tries the getAttribute, which could return null if you didn't properly set it to start with) vs at compile-time w/ the direct reference.
    HTH!
    Jim

  • TRIM() not found? Compile error: Can't find project or library in Excel 2007

    I am preparing to make a few alterations to a spreadsheet that another person built.  I have NOT made any changes to it yet.
    They put in a button that allows portions of the worksheet to print.  I am now using Excel 2007.  Their code ran fine in 2003.
    The button had worked in Excel 2003- but now (without any changes) throws an error "Compile Error: Cant find project or library."
    TRIM is highlighted in the following code:  (See below for the whole sub)
    If Trim(Worksheets("Measurements").Cells(RowCounter, ColumnCounter).Value) <> "" Then
                    If RowCounter > PrintRowMarker Then
                        PrintRowMarker = RowCounter
                    End If
                    If ColumnCounter > PrintColumnMarker Then
                        PrintColumnMarker = ColumnCounter + 1
                    End If
                End If
    I have added in the following references into Excel via the big button in the upper left and the "Excel Options" screens:
    Analysis Toolpak and Analysis Toolpak-VBA.  The sheet "Measurements" is present.
    1)  Are these the right packages for the TRIM function?
    2)  Is there a different Add-in that is needed?
    3)  Is there an additional step I must use to actually add in these packages?
    4)  Is there something else I should do?
    Thanks-
    Loralee
    P.S. Access 2003 finds (it's version of) TRIM fine- so a version is on the machine.  This spreadsheet if failing in the same way on 2 machines- both with Office 2007 installed.
    Private Sub BtnPrint_Click()
        Dim RowStarter  As Integer      'Where to start checking rows for content
        Dim RowCounter  As Integer      'The current row being checked
        Dim ColumnCounter  As Integer   'The current column being checked
        Dim PrintRowMarker  As Long   'The last row with data
        Dim PrintColumnMarker As Long 'The last column with data
        Dim NoMoreData As Boolean       'Look for a blank record
        Dim RangeValue As String        'Define the range string value
        Dim EndRangeValue As String
        PrintColumnMarker = 0
        PrintRowMarker = 0              'Initialize the row printing marker
        RowStarter = 5                  'Print Starting Point
        For RowCounter = 2005 To RowStarter Step -1
            For ColumnCounter = 50 To 2 Step -1
                If Trim(Worksheets("Measurements").Cells(RowCounter, ColumnCounter).Value) <> "" Then
                    If RowCounter > PrintRowMarker Then
                        PrintRowMarker = RowCounter
                    End If
                    If ColumnCounter > PrintColumnMarker Then
                        PrintColumnMarker = ColumnCounter + 1
                    End If
                End If
            Next ColumnCounter
                If PrintRowMarker > 0 Then
                End If
        Next RowCounter
        EndRangeValue = IndexToString(PrintRowMarker, PrintColumnMarker)
        RangeValue = "$A$1:" & EndRangeValue
        Worksheets("Measurements").PageSetup.PrintArea = RangeValue
        Worksheets("Measurements").PageSetup.PrintGridlines = True      'Turn on gridlines
        Worksheets("Measurements").PrintPreview                         'PRINT THAT PUPPY!
    End Sub

    Appears OK to me but the error message " Cant find project or library." suggests it could possibly be the references in VBA.
    In VBA select menu item Tools - References.
    Ensure that the following are checked:-
    Visual Basic for Applications
    Microsoft Excel 12.0 Object Library
    OLE Automation
    Microsoft Office 12.0 Object Library
    It there are any references displayed as Missing then scroll down to find the equivalent reference and check it and then uncheck the Missing one/s.
    Regards, OssieMac

  • Weblogic server installation in red hat linux 5

    hi i am new to the weblogic server i am trying to install weblogic server in redhat linux i downloaded .bin file from oracle
    i enter these commands
    chmod +x  wls1035_oepe111172_linux32.bin
    ./wls1035_oepe111172_linux32.bin
    The directory "/tmp" does not have enough space for extraction.
    Please input another directory or [Exit]: Exit
    i got the error message
    please reply i will appreciate your hep

    Steps for preparing the installation can be found here: http://download.oracle.com/docs/cd/E17904_01/doc.1111/e14142/prepare.htm#i1183981
    To run the installation steps presented here can be followed: http://download.oracle.com/docs/cd/E17904_01/doc.1111/e14142/guimode.htm#i1082009

  • Database assistant fails under Red hat 7.3

    My Oracle 8.17installed completely but when I try to create a databse with the configuration asst, the create process hangs after it reaches 84%..Error meesages appear stating that the process cannot connect to the database.
    Any help is appreciated!
    Spencer

    I had a similiar problem with 9iR2. I found out that my $ORACLE_SID environment variable was not set
    correctly. I did the installation with corrected value and the DB Config Assistant ran fine after that.
    Just a guess,
    Peter

  • Running Oracle Sql Developer under Red Hat 5

    Hello,
    I am trying to run Sql Developer but get those various errors (oracle 10g is installed and works).
    Am I trying to execute the wrong thing?
    [screen print|http://metalray.redio.de/dokumente/sqldeveloper.JPG]

    ok it was the wrong file. the right one is
    '/opt/sqldeveloper/sqldeveloper.sh'
    which is then asking me for the pathname of J2SE, which is the java virtual machine I guess.
    typing in
    '/usr/lib/jvm/java which is then extendet to '/usr/lib/jvm/java/bin/java' does not work
    (although this directory exists)
    Any suggestions?

  • Installation of Oracle 9.0.1 under Red Hat Linux

    During the Installation Time I am geeting errors with respect to make files. Do you have any solution.
    After Pressing the Install Button I am getting an error as follows :
    ERROR in writing to file
    /home/bm9923/jre/1.1.8/bin/i686/green_thread/java
    Next Problem I am facing
    ERROR in invoking target sdo_on of makefile
    /home/oracle/product/9.0.1/rdbms/lib/ins_rdbms.mk
    Thanks
    Keshav

    Hi harsh
    I'm no guru of Linux,
    but heard somewhere u just cant make 9i to work with 128 MB RAM it needs at least 512.
    u can refer a document
    http://www.puschitz.com/OracleOnLinux.shtml
    bye
    Good Luck
    Shalini

  • Jsp compile error in weblogic 10.3

    When i run the project, an error has occured. The jsp page only contains few words.
    weblogic.servlet.jsp.CompilationException: Failed to compile JSP /deployed/SYSTEM/Function_List/1/resources/List Functions.jsp
    List Functions.jsp:1:1: The public type __list_32_functions must be defined in its own file
    This is a JSP page.
    ^-----------------^
    at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:328)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:237)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:182)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
    at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    Could somebody help me.

    Add this tag to your weblogic.xml file and deploy the application and check it ,it should work
    <jsp-descriptor>
    <jsp-param>
    <param-name>
    compileCommand
    </param-name>
    <param-value>
    sj
    </param-value>
    </jsp-param>
    </jsp-descriptor>

  • JSP compile Error in Weblogic 5.1 server

    My application is running well in Weblogic 5.1 sp10 server. I am trying to run my application as NT service. The NT service installed and started with no problem. But I got following error messages when I try to access my JSP. Can anyboby help me out? Thanks in advance.
    James
    Compilation of ' D:\applica\middleware1\Server\lib\WEBINF\_tmp_war_paygo\jsp_servlet\_login.java' failed:
    Failed to parse compiler output:
    java.io.IOException: CreateProcess: javac -classpath d:\jdk1.3.1_02\jre\lib\rt.jar;d:\jdk1.3.1_02\jre\lib\i18n.jar;d:\jdk1.3.1_02\jre\lib\sunrsasign.jar;d:\jdk1.3.1_02\jre\classes;d:\rogers\weblogic51\weblogic510sp10\lib\weblogic510sp10boot.jar;d:\rogers\weblogic51\classes\boot;d:\rogers\weblogic51\eval\cloudscape\lib\cloudscape.jar;d:\applica\middleware1\lib\crimson.jar;d:\applica\middleware1\lib\xalan.jar;d:\applica\middleware1\lib\msbase.jar;d:\applica\middleware1\lib\mssqlserver.jar;d:\applica\middleware1\lib\msutil.jar;d:\applica\middleware1\lib\classes12_01.zip;d:\applica\middleware1\lib\mail.jar;d:\rogers\weblogic51\license;d:\rogers\weblogic51\weblogic510sp10\lib\weblogic510sp10.jar;d:\rogers\weblogic51\classes;d:\rogers\weblogic51\lib\weblogicaux.jar;d:\rogers\weblogic51\myserver\serverclasses;d:\applica\middleware1\itspServer\lib\paygo_server_classes.jar;d:\applica\middleware1\APILink\apiclasses.jar;d:\applica\middleware1\APILink\ejbInfra.jar;d:\applica\middleware1\APILink\ObjectManager.jar;d:\applica\middleware1\APILinD
         at java.lang.Win32Process.create(Native Method)
         at java.lang.Win32Process.(Win32Process.java:66)
         at java.lang.Runtime.execInternal(Native Method)
         at java.lang.Runtime.exec(Runtime.java:551)
         at java.lang.Runtime.exec(Runtime.java:477)
         at java.lang.Runtime.exec(Runtime.java:443)
         at weblogic.utils.Executable.exec(Executable.java:170)
         at weblogic.utils.Executable.exec(Executable.java:107)
         at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:443)
         at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:249)
         at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:366)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:227)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:115)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:138)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:922)
         at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:886)
         at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:269)
         at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:380)
         at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:268)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)

    check PATH
    or register full path for javac
    at weblogic.properties

Maybe you are looking for