"use script" compile error
Hello.
I am, for the first time, attempting to modularize my scripts to use script libraries. I am running into a compile issue where the compiler doesn't recognize the lines that are supposed to locate my script libraries. I am running under Yosemite, with Script Editor version 2.7.
I have created a folder called "Script Libraries" in the computer location "/Library/Scripts", and put a script file called "SpeakLib.scpt" in this folder. SpeakLib.scpt compiles and runs correctly, and contains only handler subroutines.
I am now attempting to use the SpeakLib library, but I get a compile error: Can't get script "SpeakLib".
The new script contains only the code to use the script library and call a single function from that library.
The error is for the following line, which is at the top of my new script:
use myLib : script "SpeakLib"
If instead, I do not put the above line in the text of my new script but put the text:
tell script "SpeakLib"
SpeakMessage("Hello world")
end tell
I get the same compile error on the tell script "SpeakLib" line.
Just in case it was needed, I placed the following line at the top of the new script, but it made no difference:
use AppleScript
Can anyone tell me what I am doing wrong?
Thanks in advance.
Haven't used this myself but looking at the documentation for it I see
Creating a Library
The basic requirement for a script to be a script library is its location: it must be a script document in a “Script Libraries” folder in one of the following Library folders. When searching for a library, the locations are searched in the order listed, and the first matching script is used:
If the script that references the library is a bundle, the script’s bundle Resources directory. This means that scripts may be packaged and distributed with the libraries they use.
If the application running the script is a bundle, the application’s bundle Resources directory. This means that script applications (“applets” and “droplets”) may be packaged and distributed with the libraries they use. It also enables applications that run scripts to provide libraries for use by those scripts.
The Library folder in the user’s home directory, ~/Library. This is the location to install libraries for use by a single user, and is the recommended location during library development.
The computer Library folder, /Library. Libraries located here are available to all users of the computer.
The network Library folder, /Network/Library. Libraries located here are available to multiple computers on a network.
The system Library folder, /System/Library. These are libraries provided by OS X.
so it looks to me like the Script Libraries folder should be in /Library (for your example) not in /Library/Scripts.
That is it should be /Library/Script Libraries and not /Library/Scripts/Script Libraries.
regards
from
Introduction to AppleScript Language Guide
Similar Messages
-
Hi
In While i am trying to create a new report or trying to open an existing report i am getting below mentioned error..
"at System.Xml.Xsl.Compiler.CompileAssembly(ScriptingLanguage lang, Hashtable typeDecls, String nsName, Evidence evidence) at System.Xml.Xsl.Compiler.CompileScript(Evidence evidence) at System.Xml.Xsl.Compiler.Compile(NavigatorInput input, XmlResolver xmlResolver, Evidence evidence) at System.Xml.Xsl.XslTransform.Compile(XPathNavigator stylesheet, XmlResolver resolver, Evidence evidence) at System.Xml.Xsl.XslTransform.Load(String url, XmlResolver resolver) at System.Xml.Xsl.XslTransform.Load(String url) at Oracle.BAM.Web.XmlProcessor.LoadTransformFromFile(String strFileName) at Oracle.BAM.Common.Threading.SynchedHash.GetObject(String strKey, Object oLock) at Oracle.BAM.Common.Threading.SynchedHash.GetObject(String strKey) at Oracle.BAM.Web.XmlProcessor.LoadXslFromFile(String strXslFileName) at Oracle.BAM.Web.XmlProcessor.TransformStringFromFile(String strXml, String strXslFileName, XsltArgumentList oXsltArgumentList) at Oracle.BAM.ActiveStudio.ReportEditor.EditReport() ... "
Please any one help me to solve the error.
Thanks in Advance..Dear Sherman
Thanks for the response
As per request i am sending the details
My Bam Version is = Bam Release 3 (10.1.3.1.0)
OS = Windows Server2003
Browser version = I.E 6.0.29
I tried clearing IE cache, but it does not work
Thanks -
Using beans, compile error
Hi I created a bean called Employee, it belongs to package bean. This class compiles but when I import bean.Employee in other class as "import bean.Employee", I get error saying package bean not found. What am I missing?
looks like a classpath problem,
check if your classpath contains the package bean.
kind regards,
Koen -
Compiler Error with simple vi using MatLab script nodes
While attempting to build a simple vi to test the capabilities of LabView's interface with MatLab, I received a compiler error message that said I should report the problem to National Instruments Tech Support. The error said, "reference to undefined label from: refPC=0x41C." I've attached the vi that created the error. I am using LabView 7.0 on a PC running Windows 98.
Attachments:
Compliererror.vi 11 KBI don't know if this will help your problem, but there is a fix for some problems with LabVIEW 7.0 and Matlab:
http://digital.ni.com/public.nsf/websearch/4475BC3CEB062C9586256D750058F14B?OpenDocument
Good luck,
-Jim -
Getting error message when i am trying to update the excel file using script task in ssis package
Hi Guys,
I am getting error message when I am trying to update the excel. Please find the error messages as below
Error at Update File [Update File]: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.
Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Application' is not defined., ScriptMain.vb, 32, 32
Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Workbook' is not defined., ScriptMain.vb, 33, 25
Error at Update File [Update File]: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.
Warning at Update File [Update File]: Found SQL Server Integration Services 2008 Script Task "ST_050fcae972904039b4f0fe59b7528ece" that requires migration!
and the code that I am using is
Dell - Internal Use - Confidential
' Microsoft SQL Server Integration Services Script Task
' Write scripts using Microsoft Visual Basic
' The ScriptMain class is the entry point of the Script Task.
Imports System
Imports System.Data
Imports System.Math
Imports Microsoft.SqlServer.Dts.Runtime
Imports Microsoft.Office.Interop.Excel
<System.AddIn.AddIn("ScriptMain", Version:="1.0", Publisher:="",
Description:="")> _
<System.CLSCompliantAttribute(False)> _
Partial
Public Class ScriptMain
Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
Enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
End Enum
Public Sub Main()
Dts.TaskResult = ScriptResults.Success
'Dim proc As System.Diagnostics.Process
'kill all instances of excel
'For Each proc In System.Diagnostics.Process.GetProcessesByName("EXCEL")
' proc.Kill()
'Next
Dim excelnacomm As
New Microsoft.Office.Interop.Excel.Application
Dim wbnacomm As Microsoft.Office.Interop.Excel.Workbook
wbnacomm = excelnacomm.Workbooks.Open("http://test.xlsx")(renamed
the excel)
wbnacomm.RefreshAll()
wbnacomm.Save()
wbnacomm.Close()
excelnacomm.Quit()
Runtime.InteropServices.Marshal.ReleaseComObject(excelnacomm)
End Sub
End
Class
Please let me know what could be the reason
Smash126Download:
Microsoft Office 2010: Primary Interop Assemblies Redistributable
How to: Add or Remove References By Using the Add Reference Dialog Box / How to:
Add and Remove References in Visual Studio (C#)
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Script Task Builds Successfully But Still Has Compile Error (SQL 2012)
This is repost in a way but the problem has not gone away and I really need to find a solution.
I have some script from SSIS 2008 that uses the ReportExecution2005
web service to execute SSRS reports and save the results to Excel. There were some initial problems with confusion between Web Service Reference (legacy?) and Service Reference (WCF) but I think that I have that sorted out
now.
The remaining problem is that, while the VB script (which I have pasted in from a working SSIS 2008 Script Task) builds/complies without error, I get a compile error when I close the Script Task and it has the dreaded "Red X" in the Control
Flow. If I attempt to run the package I get a message box saying that there is a compile error.
How can I identify the problem and fix the error? The script itself has no errors in SSIS 2008.
R CampbellThis is the code by the way (see below) as pasted into the Main sub.
I have added
http://localhost/reportserver/reportexecution2005.asmx as a Web Service
Reference (under the "Advanced" button) not just a Service Reference (WCF).
I can build the code without error but I get an error, saying that there is compile error, when I close the Script Task.
ReportExecutionService definitely shows up in Object Explorer, not the
WCF "equivalent" of ReportExecutionServiceSoapClient.
I have always had the impression, that when you close a Script Task, a compiler kicks in to auto-generate some internal script. Could it be (as seems likely) that this compiler is picking up errors that "Build" doesn't (when the script is open)?
I think that there was once an explicit Compile rather than just Build option in the Script editing environment but I can't find it in SQL 2012 Database Tools (nee BIDS).
Dim objRSExec As New localhost.ReportExecutionService
Dim objParam0 As New localhost.ParameterValue
Dim objParam1 As New localhost.ParameterValue
Dim objParam2 As New localhost.ParameterValu
Dim objParam3 As New localhost.ParameterValue
Dim objParam4 As New localhost.ParameterValue
Dim objParam5 As New localhost.ParameterValue
Dim objParam6 As New localhost.ParameterValue
Dim objParams() As localhost.ParameterValue
Dim objResult() As Byte
Dim objStream As FileStream
Dim FileType As String
Dim FileExtension As String
Dim FilePath As String
Dim NumberOfParameters As Integer
Dim ReportName As String
Dim TaskSuccess As Boolean = True
FileType = Dts.Variables("FileType").Value.ToString()
FileExtension = Dts.Variables("FileExtension").Value.ToString()
FilePath = Dts.Variables("FilePathNameExt").Value.ToString()
ReportName = Dts.Variables("ReportPathName").Value.ToString()
NumberOfParameters = CInt(Dts.Variables("NumberOfParameters").Value) - 1
ReDim objParams(NumberOfParameters)
If NumberOfParameters >= 0 Then
objParam0.Name = Dts.Variables("P0Name").Value.ToString()
objParam0.Value = Dts.Variables("P0Value").Value.ToString()
objParams(0) = objParam0
End If
If NumberOfParameters >= 1 Then
objParam1.Name = Dts.Variables("P1Name").Value.ToString()
objParam1.Value = Dts.Variables("P1Value").Value.ToString()
objParams(1) = objParam1
End If
If NumberOfParameters >= 2 Then
objParam2.Name = Dts.Variables("P2Name").Value.ToString()
objParam2.Value = Dts.Variables("P2Value").Value.ToString()
objParams(2) = objParam2
End If
If NumberOfParameters >= 3 Then
objParam3.Name = Dts.Variables("P3Name").Value.ToString()
objParam3.Value = Dts.Variables("P3Value").Value.ToString()
objParams(3) = objParam3
End If
If NumberOfParameters >= 4 Then
objParam4.Name = Dts.Variables("P4Name").Value.ToString()
objParam4.Value = Dts.Variables("P4Value").Value.ToString()
objParams(4) = objParam4
End If
If NumberOfParameters >= 5 Then
objParam5.Name = Dts.Variables("P5Name").Value.ToString()
objParam5.Value = Dts.Variables("P5Value").Value.ToString()
objParams(5) = objParam5
End If
If NumberOfParameters >= 6 Then
objParam6.Name = Dts.Variables("P6Name").Value.ToString()
objParam6.Value = Dts.Variables("P6Value").Value.ToString()
objParams(6) = objParam6
End If
Try
With objRSExec
.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials
.Url = "http://localhost/reportserver/reportexecution2005.asmx"
.LoadReport(ReportName, Nothing)
.SetExecutionParameters(objParams, "en-us")
objResult = .Render(FileType, Nothing, FileExtension, Nothing, Nothing, Nothing, Nothing)
End With
objStream = File.Create(FilePath, objResult.Length)
With objStream
.Write(objResult, 0, objResult.Length)
.Close()
End With
Catch e As Exception
Dts.Log("ERROR - RSExec - " & e.Message.ToString(), 100, Nothing)
TaskSuccess = False
End Try
If TaskSuccess Then
Dts.TaskResult = ScriptResults.Success
Else
Dts.TaskResult = ScriptResults.Failure
End If
R Campbell -
SSUS 2012 Script Component (VB) Build But Still Has Compile Error
The title says it all really.
The Script Component builds without error but when I close the editor (and when I execute the package), I get a message saying that there is a compile error. There is of course a big red "X on the script component. No errors are indicated in the edit
window or when building the script. Can anyone help? this is really holding me up.
The script has been copied from a working SSIS 2008 package. It uses the report execution web method. I have successfully changed the web reference to ReportExcution2010, there doesn't seem to be a RepprtExcution2012.
R CampbellIt's probably best to close thread and that I start a new one. I think that I have gone off on a tangent here. Yes SSIS isn't doing much of a job in reporting errors but my main concern is the error itself.
I am trying to port an SSIS Script Task from SQL 2008 to SQL 2012. Is uses the ReportExecution2005 web service to run SSRS reports. The really strange thing is that, even though the same web reference is used, different methods seem
to be available in SQL 2008 and SQL 2012. This doesn't sound right to me, if you refer to the same Web Service you should see the same metros or am I wrong about that.
For example in SQL 2008 there is ReportExecutionService
object but on the SQL 2012 to service there only seems to be
ReportExecutionServiceSOAPClient.
R Campbell -
Microsoft JScript compilation error alert on initial load using IE7
I have noticed that a javascript alert window is displayed whenever an Applet is initially launched using IE7.
This does not happen using IE8 (or FF, SF, Chrome, etc).
I thought it was our implementation, but the alert is also shown launching any Applet from the following;
http://java.sun.com/applets/jdk/
There are typically 2 alerts and after pressing OK, the Applets appear to run successfully.
The specific error is;
Alert title: Microsoft JScript compilation error.
Alert content: Expected ')' in regular expression.
I don't always remember this error using IE7.
Maybe it's related to the JRE?
I am currently using: (build 1.6.0_26-b03)
Any solution out there?879129 wrote:
..I thought it was our implementation, but the alert is also shown launching any Applet from the following;
http://java.sun.com/applets/jdk/
I just had a look at the source of two of the pages from the 1.4 section of that page (Animator (1) & ArcTest) & saw some very questionable HTML for the <tt>applet</tt> element, as well as two seemingly unrelated scripts. What do you get for (instead of those), the GIF Animator (the applet form)? It uses <tt>deployJava.js</tt>, which is about the only deployment option that Oracle cares about at the moment. -
My toolbar is missing and there is a button at the top left that asks me to "Please re-install the Toolbar" but when I click on it nothing happens???
Then when I start Mozilla I get a long delay before it launches and a script running error "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
Script: chrome://tavgp/content/libs/include.js:595"
How do I solve these issues???No idea - and you provide no clues
what version of iPHoto do you have? Of the OS? is the iPhoto icon you are speaking of in the Dock?
re-read your post and try to provide information using standard Mac terms since we can not see you or your computer and only have your worrds to let us try to help you
Somehow my "IPhoto" icon now says "Preview". When I click on "Preview" nothing opens up except the bar says Preview. When I click on the Preview on the bar, a box opens up with different items, except when I click on any of them, there is nothing there. The only thing that work is the "quit preview". However, it is still there where my IPhoto icon should be. I can't get into my IPhoto. How do I get rid of this "Preview" and how did it end up taking over the IPhoto icon???
If you go to your Applications folder and double click on iPhoto what happen?
LN -
Compiler error when useing switch statements in an inner class
I have defined several constants in a class and want to use this constans also in an inner class.
All the constants are defined as private static final int.
All works fine except when useing the switch statement in the inner class. I get the compiler error ""constant expression required". If I change the definition from private static final to protected static final it works, but why?
What's the difference?
Look at an example:
public class Switchtest
private static final int AA = 0;
protected static final int BB = 1;
private static int i = 0;
public Switchtest()
i = 0; // <- OK
switch(i)
case AA: break; //<- OK, funny no problem
case BB: break; //<- OK
default: break;
private class InnerClass
public InnerClass()
i = 0; // <- OK: is accessible
if (AA == i) // <- OK: AA is seen by the inner class; i is also accessible
i = AA + 1;
switch(i)
case AA: break; // <- STRANGE?! Fail: Constant expression required
case BB: break; // <- OK
default: break;
}Thank's a lot for an explanation.Just a though:
Maybe some subclass of Switchtest could decalare its own variable AA that is not final, but it can not declare its own BB because it is visible from the superclass. Therefore the compiler can not know for sure that AA is final. -
Compilation Error while using string (Please help)
Hi,
I am using "Sun WorkShop Compiler C++ SPARC Version 5.000". Compiling code which contains a "string variable" throws the following error:
"/opt/WS5/SC5.0/include/CC/./new", line 32: Error: The prior declaration for ope
rator new(unsigned) has no exception specification.
"/opt/WS5/SC5.0/include/CC/./new", line 34: Error: The prior declaration for ope
rator delete(void*) has no exception specification.
"/opt/WS5/SC5.0/include/CC/./new", line 36: Error: The prior declaration for ope
rator new[](unsigned) has no exception specification.
"/opt/WS5/SC5.0/include/CC/./new", line 38: Error: The prior declaration for ope
rator delete[](void*) has no exception specification.
4 Error(s) detected.
The command used for compilation is :
/opt/WS5/bin/CC -compat=4 -I/opt/WS5/SC5.0/include/CC -features=%all try.cpp
Would help if I could get some comments on the above.
Thanks and Regards,
M ShettyThere is a requirement that I use the Workshop 5.0
compilere with option "-compat=4".
The program I am trying to compile contains:
#include <string>
int main()
string test = "aaa";
return 0;
There is no "string" in "-compat=4". You need to
do something like this:
// --- start test.cc ---
#include <rw/cstring.h>
int main()
RWCString test = "aaa";
return 0;
// --- end test.cc ---
CC -compat=4 -library=rwtools7 test.cc -
hi i am trying to install NI-VISA driver on SUSE LINUX 11.1.
the error message it shows is
******************************** ERROR ****************************************
* The version of gcc in the path does not match the version of gcc used to *
* compile the currently running kernel. This can cause unpredictable *
* behavior in kernel drivers and should be fixed. *
* gcc version: Linux) *
* kernel compiled with: 4.3.2 *
******************************** ERROR ****************************************
my kernel source version is
linux-8nes:/home/admin # rpm -qi kernel-source
Name : kernel-source Relocations: /usr/src
Version : 2.6.27.29 Vendor: openSUSE
Release : 0.1.1 Build Date: Sun 16 Aug 2009 03:43:52 PM IST
Install Date: Sat 24 Oct 2009 02:13:12 AM IST Build Host: rinck
Group : Development/Sources Source RPM: kernel-source-2.6.27.29-0.1.1.src.rpm
Size : 309251954 License: GPL v2 only
Signature : RSA/8, Sun 16 Aug 2009 03:57:25 PM IST, Key ID b88b2fd43dbdc284
Packager : http://bugs.opensuse.org
URL : http://www.kernel.org/
Summary : The Linux Kernel Sources
Description :
Linux kernel sources with many fixes and improvements.
Authors:
Linus Torvalds <[email protected]>
see /usr/src/linux/CREDITS for more details.
Source Timestamp: 2009-08-15 17:53:59 +0200
GIT Revision: 8a413546901c407e96f7fba18574cceeb40452af
GIT Branch: SLE11_BRANCH
Distribution: openSUSE 11.1
i had also installed GCC 4.3.2.
it shows the error message as i had posted.
please kindly help me on this.
Thanks and regards,
P.karthickCheck this solution
-
Hello experts,
I'm totally new to C#. I'm trying to modify existing code to automatically rename a file if exists. I found a solution online as follows:
string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
string tempFileName = fileName;
int count = 1;
while (allFiles.Contains(tempFileName ))
tempFileName = String.Format("{0} ({1})", fileName, count++);
output = Path.Combine(folderPath, tempFileName );
string fullPath=output + ".xml";
However, it gives the following compilation errors
for the Select and Contain methods respectively.:
'System.Array' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'System.Array' could be found
(are you missing a using directive or an assembly reference?)
'System.Array' does not contain a definition for 'Contains' and no extension method 'Contains' accepting a first argument of type 'System.Array' could be
found (are you missing a using directive or an assembly reference?)
I googled on these errors, and people suggested to add using System.Linq;
I did, but the errors persist.
Any help and information is greatly appreciated.
P. S. Here are the using clauses I have:
using System;
using System.Data;
using System.Windows.Forms;
using System.IO;
using System.Collections.Generic;
using System.Text;
using System.Linq;Besides your issue with System.Core, you also have a problem with the logic of our code, particularly your variables. It is confusing what your variables represent. You have an infinite loop, so the last section of code is never reached. Take a look
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace consAppFileManipulation
class Program
static void Main(string[] args)
string fullPath = @"c:\temp\trace.log";
string folderPath = @"c:\temp\";
string fileName = "trace.log";
string output = "";
string fileNameOnly = Path.GetFileNameWithoutExtension(fullPath);
string extension = Path.GetExtension(fullPath);
string path = Path.GetDirectoryName(fullPath);
string newFullPath = fullPath;
string[] allFiles = Directory.GetFiles(folderPath).Select(filename => Path.GetFileNameWithoutExtension(filename)).ToArray();
string tempFileName = fileName;
int count = 1;
//THIS IS AN INFINITE LOOP
while (allFiles.Contains(fileNameOnly))
tempFileName = String.Format("{0} ({1})", fileName, count++);
//THIS CODE IS NEVER REACHED
output = Path.Combine(folderPath, tempFileName);
fullPath = output + ".xml";
//string fullPath = output + ".xml";
UML, then code -
Compiler errors when using dynamic text in a class
I have created a MovieClip with a custom class that has a dynamic text field (called "textArea"), which I want to modify by the Component Inspector, as well as via a custom method using:
textArea.text = newText;
It works fine in all cases and there are no problems, but the compiler still wants to give me the error:
1120: Access of undefined property textArea.
The error doesn't appear when I remove the component parameters (so that it's just a normal MovieClip). It still works, even with the error, so I'm not sure why it wants to complain. Am I doing something wrong or is it just being bitchy?By defining them in the class and using the class name under component definition:
[Inspectable(name="Text", type=String, defaultValue="")]
public function set text(setText:String)
textArea.text = setText;
public function get text():String
return textArea.text;
A problem I run into is that the compiler errors prevent the parameters from being defined so I comment out every line that has to do with textArea, define the component, then uncomment them so that it'll work when it runs. -
JSP Compilation Error when using OC4J out of the box
Hello.
After installing Java jdk 1.5.0_05, setting ORACLE_HOME, setting JAVA_HOME, rebooting, and installing OC4J standalone straight out of the box, I have deployed a simple web project that consists of just one JSP. I receive the following error message:
NOTIFICATION J2EE JSP-0008 Unable to dispatch jsp Page: oracle.jsp.provider.JspCompilationException: Errors compiling: C:\LocalApps\OC4J\j2ee\home\application-deployments\oc4j_jsp\persistence\_pages\\_Test.java<pre></pre>
I have deployed a number of Flex2 applications without incident. What am I missing here? Another odd thing is that my organization has OAS running and it can render JSPs fine.
Any help is appreciated thanks,
Mike
P.S. I have gone back and set the JSP debug switches, but they do not yeild much more info. Here is the stacktrace:
NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\LocalApps\OC4J\j2ee\home\application-deployments\oc4j_jsp\oc4j_jsp\persistence\_pages\\_Test.java</H3><pre></pre>
at oracle.jsp.app.JspJavacCompiler.compile(JspJavacCompiler.java:304)
at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:731)
at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:456)
at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:413)
at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:705)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:694)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Unknown Source)I had the very same Problem, and I spent a lot of time on it.
When installing Oc4j as a service using Javaservice opnesource, I had no problem, even using J.D.K 1.6:
%JSEXE% -install %JSNAME% %JVMDIR%\jvm.dll -XX:PermSize=128m -XX:MaxPermSize=256m -Xmx1024M -Xms1024M -Djava.class.path=%OC4J_HOME%\oc4j.jar -start oracle.oc4j.loader.boot.BootStrap -params -config %OC4J_HOME%\config\server.xml -out %OC4J_HOME%\log\OC4J_service_stdout.log -err %OC4J_HOME%\log\OC4J_service_stderr.log -current %JSBINDIR% -auto -description OC4JService
Then I wanted to install it using "ServiceMill" or "Javaservice Wrapper", becuase it has a better control on the process and I had that awfull compilation error.
I guess it is because ServiceMills uses java.exe and javaservice the .dll to launch the oc4j, no idea.
Anyway, thank you very much!!!!!
Antonio
Maybe you are looking for
-
Error running "Develop a Stateless Session EJB Web Service using EJB 3.0"
Running this "how-to," the build and deploy worked fine for me, but when I ran "ant run," I got: [echo] -----> Setting up the application client module [oracle:genProxy] null, WSDLException: faultCode=INVALID_WSDL: The document: http://localhost:8888
-
Sorting by date in table?
I am new to using Spry Data Tables and I am having some problems. I need to sort a table by a few different feilds. All of them are working except for the date column. It will sort if I change the type to "script" but it does not sort in the right or
-
Podomatic not updating on iTunes
I've been a long time subscriber to a podcast called Balaganjah on Podomatic. I've recently changed out my mac, and now this particular podcast will not work on iTunes. I can subscribe to it, and it shows up on my list, but the drop down displays n
-
Presentation services not starting,StartOC4J window closing automatically
Hi All, After i create one repository,i started startOC4J but this window is opening and closing in few seconds automatically.Even the presentation services also not starting. it is giving "Windows couldn't start the Oracle BI Presentation server on
-
Search not going beyond first two "chapters".
I bought "Leonard Maltin's 2014 Movie Guide" instead of a book because I thought that I'd be able to quickly search for entries. I grabbed the sample book, which had the "A" and "B" entries (which are after the intros, the first two chapters). I was