Cannot find resource files to localize report
Hello, i created report file in VS 2008 C#. Now the labels (not the data) of the report need to be localized.
I have the files
CrystalReport1.rpt
CrystalReport1.cs
in the solution, but cannot see resource file like
CrystalReport1.resx
linked to it.
How can i create localized resources?
Is there a Language property i cannot find?
See this thread for more info:
English resource files
Similar Messages
-
Ios simulator cannot find resource file in avTouch sample app.
Hi. I am trying to run the sample project avTouch in the iOS Simulator, and it cannot find the sound resource file sample. It compiles OK, launches, and when I click the Play button, it gives these errors in the iOS Simulator:
2011-08-28 14:16:17.454 avTouch[962:6c03] Error '!dat' trying to set the (null) audio devices' sample rate
2011-08-28 14:16:31.057 avTouch[962:207] Could not play file://localhost/Users/jonesbb/Library/Application%20Support/iPhone%20Simulator /4.3.2/Applications/20290DEF-8855-41E2-92D5-6CF06D6D58F4/avTouch.app/sample.m4a
The file does exist at that location, and I can open it and play it in QuickTime. I wonder if the path to that location may be the problem. Is it supposed to use "%20" instead of spaces in the path? Does the system resolve them into spaces?
I am using MacOS 10.6.8 on a MacBook Pro, XCode 4.0.2, and compiling for iPhone 4.3 simulator.
I've programmed a long time in other IDEs, but I'm new to XCode and all the libraries, so I'm probably missing something obvious here. Any suggestions will be greatly appreciated.Additional info. The app runs and displays the name of the sound file, and also displays the duration of the sound, so I think it is loading the file OK. It gives the problem when I hit play. I have a break point in this method, at [p play] below, and it gives the first error at that point. The second error message is just reporting the result of the first error:
-(void)startPlaybackForPlayer:(AVAudioPlayer*)p
if ([p play])
[self updateViewForPlayerState:p];
else
NSLog(@"Could not play %@\n", p.url); -
Error message "cannot open resource file" ID CS6
CS6 InDesign, getting error message "cannot find resource file" Tried deleting prefs but didn't work.
I'm sorry. I'm running OS 10.7.5 and had previous error messages about several plugins not loading due to color panel missing. Deleted prefs, added color panel back with Manage Extensions then got the "cannot open resource file" error. I know the error message above is different and I thought I had fixed it but somehow it didn't change when I updated my post. I also have a couple of old versions of CS on my computer and I don't know if I should uninstall those or if it doesn't matter. I don't know how to do that, either. I'm not very computer literate so every problem is difficult for me. Thank you.
-
Error: cannot find bundle file or key for resource type
Hello,
Please help in finding out the cause & resolving the below errors.
Logs from the default trace:
Error Log Message: cannot find bundle file or key for resource type http://sap.com/xmlns/ciphotocomp, use fallback
Error Location: com.sapportals.wcm.service.resourceTypeRegistry.ResourceType.getDescription( Locale )
Thanks & Regards
Maha,<< Do not post the same question across a number of forums >>
-
Crystal Designer - System cannot find the file specified
Hi
I have only just installed Crystal Reports for SAP Business One. I followed the eLearing installation guide and the installation seemed to go fine. However, when i run Crystal Designer i get the following message:
The system cannot find the file specified.
Can anyone tell me why this is?
Many thanks
Martyn
Edited by: Martyn Brown on Mar 2, 2009 6:27 PMDear Mike,
Thanks for the solution. I am the only user who want to develop and view the reports. and I installed CR following the guidelines as per SAP. And I think I installed the full product.
Can you guide me how to install full product. And lasly there was a point in installation guide numvbered 17 which I could not understand.
17.
If the Crystal Designer has been installed on the local PC, the following file needs to be edited ( or checked to be correct). The file gives the path to the Crystal Reports Designer exe. The add-on will read this file to launch Crystal Designer.
C:\Program Files\SAP\SAP Business One\AddOns\SAP_CR\Resources\CrystalDesignerPath.txt
I gave the path of crystal reports designer exe in this file but of no use.
Need your guidance.
Thanking you in anticipation
Regards, -
"Cannot open resource file" message on Save in InDesign CS3
Hi there,
I'm running InDesign CS3 5.0.3 on a 2.4GHZ MacBook Pro with 2GB RAM and OS X 10.4.11.
I'm finding that when I have a document open and hit Save, I get the message "Cannot open resource file". If I quit and reopen my changes do appear to have been saved.
Googling around reveals little on this particular message, and I've tried what I've found (closing Scripting/Info windows) but it's still happening. There's also a suggestion of deleting the InDesign Saved Data file, but I can't find where that is. Is it a pre-CS3 thing?
Any ideas?
Cheers,
/stephenReposting because the "Forums have changed!" message popped up and obliterated my edit.
Basically, I am cross-posting from this thread:
Leox, "InDesign CS3 5.0.4 Changes to documents not being registered properly" #11, 17 Feb 2009 1:31 am
Because some of my users with that problem ALSO report that they get the "Cannot open resource file" prior to saving (which ends up with a crash and no saved document).
Thanks... -
Error message on my development workstation: The system cannot find the file specified.
Post Author: cseverin
CA Forum: Crystal Reports
Hi,
I am currently developing an ASP.NET website using Visual Studio.NET 2005. I am using the .NET 2.0 framework, VB.NET as my programming language and I connect successfully to a SQL Server 2005 database. I can select, insert, update and delete data from the database elsewhere in my project, so I know basic connectivity isn't an issue. The problem seems to be with Crystal Reports.
I created a folder called 'Reports' in my project and added a Crystal Report file (OpenFiles.rpt) to it. I designed the report and initally used a hard-coded SQL query as its datasource so I could quickly get the database fields onto the report and preview them. All worked fine.
To make the report accessible to the rest of the website, I created an .xsd dataset file containing the three tables (and their corresponding tableadapters) that the report requires and then redeveloped the report using the dataset as the datasource for the report. After doing this, the preview no longer worked.
Next, I added a page to the website and dragged a Crystal Report Viewer Control onto it. In the code behind the page I wrote:
Option Strict On
Imports System.Data
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Partial Class Reports
Inherits System.Web.UI.Page
Private objOpenFilesreport As OpenFilesReport
Private rptOpenFiles As ReportDocument
Private strLastErrorMessage As String = Nothing
Private errLastException As Exception = Nothing
Dim strFileKey As String
Dim strJurisdictionCode As String
Dim strStaffId As String
Dim strReportId As String
Private Sub ConfigureCrystalReports()
Dim reportPath As String = Server.MapPath("OpenFiles.rpt")
Dim rptopenfiles As New ReportDocument
rptOpenFiles.Load(reportPath) <== I checked this during execution and the value correctly points to the OpenFiles.rpt file in the Reports folder of my project
Dim ConnectionInfo As ConnectionInfo = New ConnectionInfo()
ConnectionInfo.DatabaseName = my database
ConnectionInfo.UserID = login id of user
ConnectionInfo.Password = user's password
SetDBLogonForReport(ConnectionInfo, rptopenfiles)
CrystalReportViewer1.ReportSource = rptopenfiles
End Sub
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
ConfigureCrystalReports()
End Sub
Private Sub SetDBLogonForReport(ByVal ConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
Dim myTables As Tables = myReportDocument.Database.Tables
For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
myTableLogonInfo.ConnectionInfo = ConnectionInfo
myTable.ApplyLogOnInfo(myTableLogonInfo)
Next
End Sub
End Class
I added a hyperlink to one of the existing pages on the website to navigate to this page with the report viewer on it. When I run the website in Visual Studio and click on the hyperlink I get the following:
Server Error in '/MyTest' Application.
The system cannot find the file specified.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: The system cannot find the file specified.Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
[COMException (0x80004005): The system cannot find the file specified.
]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +442
[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +513
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1378
CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport() +149
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_DataDefinition() +85
CrystalDecisions.CrystalReports.Engine.ReportDocument.get_ParameterFields() +158
CrystalDecisions.Web.CrystalReportSource.BindControlParameter(Parameter parameter) +130
CrystalDecisions.Web.CrystalReportSource.DataBindParameters() +191
CrystalDecisions.Web.CrystalReportSource.EnsureParameters(Boolean forceDataBind) +90
CrystalDecisions.Web.CrystalReportSource.LoadCompleteEventHandler(Object sender, EventArgs e) +47
System.Web.UI.Page.OnLoadComplete(EventArgs e) +96
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4086
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
Any ideas, anyone?
Also, assuming I can get past this error, I will need to figure out how to fill the tables in the .xsd dataset file. I have written a class for the dataset that includes functions that populate the tables in the dataset from the database by executing SQL queries. But how do I call these functions at the time the report is run?
This is my first Crystal report written in .NET and I've been struggling with it for days now. Any help would be most appreciated!
Thanks very much!
Chris Severinhello, the error message is obviously coming from one of the installed mcafee extensions. please directly contact mcafee technical support - they can likely give you more detailed guidance and are the only ones who can fix bugs or make necessary adjustments in the addon.
-
When I start Firefox, the following message appears before the home page opens:
"COMMONSHELL: McShield.dll
The specified resource language ID cannot be found in the image file.
McShield.dll: The system cannot find the file specified."
I click OK, Firefox opens normally and everything seems to operate as expected, no further problems.hello, the error message is obviously coming from one of the installed mcafee extensions. please directly contact mcafee technical support - they can likely give you more detailed guidance and are the only ones who can fix bugs or make necessary adjustments in the addon.
-
RSAT won't install on Windows 8.1 Pro - "The system cannot find the file specified."
Please help. RSAT won't install on Windows 8.1 Pro. Every time I try, I get the same error - "The system cannot find the file specified.". I really don't want to have to refresh the PC to get it working! I've installed the update successfully on
a fresh win 8.1 enterprise install on a Hyper-V VM.
I am in uk, so have installed the en-US language pack first. I did have a windows component store corruption but I've managed to fix that.
event log says:
Windows update "Update for Windows (KB2693643)" could not be installed because of error 2147942402 "The system cannot find the file specified." (Command line: ""C:\Windows\system32\wusa.exe"
"C:\RSAT Windows8.1-KB2693643-x64.msu" ")
CBS log (C:\Windows\Logs\CBS\CBS.log): http://1drv.ms/19CAv14As Roger Lu reported, the log indicates that there is corruption in the update files that you downloaded. The log actually reports “file not found”, so you may also want to check permissions on the extracted files in C:\Windows\SoftwareDistribution\Download\76ecaa86ec6712300c2d71cbcdad378c\.
You can also re-try downloading the files to see if your original download was just corrupt.
Bruce Wooding Windows Outreach Team- IT Pro Windows for IT Pros on TechNet
It was a permissions issue! Thanks so much Bruce!
I checked the permissions for the folder mentioned above and TrustedInstaller only had List Folder Contents and Special Permissions. So I granted granted Read & Execute to TrustedInstaller and tried installing again...
1) double clicked the installer.
2) once it said Initialisation was complete, I checked the permissions again and it had re-set them to as before, so I granted Read & Execute to TrustedInstaller again
3) Installation was successful.
Not really sure why this happened as it doesn't make sense but it's working now :-) -
The method
Windows.Networking.BackgroundTransfer.BackgroundDownloader.getCurrentDownloadsAsync()
will consistently error out for me.
To repro this:
Start a bunch of (preferably large) download operations using the BackgroundDownloader.
Wait for a couple to start.
Kill the app with Alt+F4.
Try to load the previously added downloads using the above method.
For me the method consistently fails and calls the error callback on the promise with the message "The system cannot find the file specified."
Seeing this happen in prod too and it is causing all kinds of havoc. The BackgroundDownloader does not continue to function at all, until the /AC/BackgroundTransferApi folder is removed from the app directory or the app is reinstalled.
Can anyone confirm this? Is there a solution?
Cheers,
FelixHi CensoredUser,
Thank you reporting this issue, I can reproduce it as you provided, but I think this is not the common status in
app life cycle. Can you tell me why you need do ALT+F4 action?
For a quick work around, reinstall app is an option to ignore this issue.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey. -
Dear All,
I am getting a below error while doing ehp6 installation on sybase (high availbility )
can any one help me on this..?
An error occurred while processing option SAP Business Suite 7i 2011 > Enhancement Package 6 for SAP ERP 6.0 > SAP Application Server ABAP > SAP ASE > High-Availability System > Database Instance( Last error reported by the step: System call failed. Error 2 (The system cannot find the file specified. ) in execution of system call 'CreateProcessAsUser' with parameter ( , NULL, Program Files/sapinst_instdir/BS2011/ERP606/AS-ABAP/SYB/HA/DB, &StartupInfo, &ProcessInfo), line (646) in file (d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp), stack trace: d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\ejscontroller.cpp: 181: EJSControllerImpl::executeScript() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\jsextension.hpp: 1059: CallFunctionBase::call() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\osmod\iaxxbprocess.cpp: 423: CIaOsProcess::start_impl() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 238: CSyChildApplicationImpl::start(false) d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 262: CSyChildApplicationImpl::doStart() .). You can no
Regards,
Letz..Hello Mauricio.
Thanks
Two Thinks:
1.- This error appears precisely in the process of creating SAP users including you mention sidadm:
A.- Execute sapinst
B.- Installation option is chosen
SAP NetWeaver CE Production Edition
Installation Options
High-Availability System
Central Service Instance (SCS)
c.- System ID, Next and appear message error
2.- However, the user manually create sidadm, I gave the permissions you indicate, and the error message is the same
Thanks -
Getting ComException (0x80004005):The system cannot find the file specified
Our customer is getting an error from her remote location via the internet, running a report that has not changed in a year. None of our other customers are having this problem. When we sign in from our office with her credentials, we do not get the error. We've had her reboot, clear cache, etc. She has tried from Firefox and IE ... same result.
She is running WindowsXP and signs into our website VB program on a 2008Server under IIS aspx.net and SQL Server. We are using Crystal Reports 2008 v12.2.0.290 full.
The error is:
[COMException (0x80004005): The system cannot find the file specified.
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +95
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +356
[Exception: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +419
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +895
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +84
nettax.newtax_cr_1.GenerateReport(String Reportname) in F:\the cloud nettax with codebehind\nettax\newtax_cr_1.aspx.vb:137
nettax.newtax_cr_1.page_load(object sender, eventargs e) in F:\the cloud nettax with codebehind\nettax\newtax_cr_1.aspx.vb:1316
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Again, we have made no changes ... it has just stopped working for her, yet other remote users are creating the report just fine .... BUT, each has their own SQL database that the report is being created from. Any help??I moved your post to the .NET - SAP Crystal Reports forum.
Only idea I have at this time is to get [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx] on this. You'll have to download it on to the server. Filter for the worker process so you limit the log size. Then have the customer attempt to load the report. Once she gets the error, you can save the log. Look for any errors re. load of files (DLLs, rpt files, etc.) and also look for "Access Denied" errors on files as well as registries.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Message: The system cannot find the file specified
Hi,
I'm getting the following error when trying to view a report.
Message: The system cannot find the file specified.
Line: 25
Char: 2
Code: 0
URI: http://localhost:xxxx/OracleBAM/8533/shared/scripts/utilities/UserData.js
Any ideas?
Regards,
Kevinjust for the record: i am experiencing the same problem.
It appears while loading any active viewer report in one specific PC, Windows OS.
The report was created in Oracle BAM. I don't get what you mean by other environment, it's any report i try to open. -
Hi Everyone.
I have configured GoldenGate on Win2008 R2, but when I start replicat, this fall.
Initially:
GGSCI (WIN-NKC50KUIT0G) 19> start replicat rep1
Sending START request to MANAGER ...
REPLICAT REP1 starting
GGSCI (WIN-NKC50KUIT0G) 20> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
REPLICAT STOPPED REP1 00:00:00 00:37:53
GGSCI (WIN-NKC50KUIT0G) 21> info replicat rep1
REPLICAT REP1 Initialized 2013-11-02 22:23 Status STOPPED
Checkpoint Lag 00:00:00 (updated 00:40:28 ago)
Log Read Checkpoint File C:\app\Oracle\product\gg\dirdat\tr000000
2013-11-02 22:23:55.000000
With VIEW GGSEVT:
2013-11-02 23:15:31 INFO OGG-01815 Oracle GoldenGate Delivery for Oracle, R
EP1.prm: Virtual Memory Facilities for: COM
anon alloc: MapViewOfFile anon free: UnmapViewOfFile
file alloc: MapViewOfFile file free: UnmapViewOfFile
target directories:
C:\app\Oracle\product\gg\dirtmp.
2013-11-02 23:15:31 ERROR OGG-00446 Oracle GoldenGate Delivery for Oracle, R
EP1.prm: Extract file not found or no records beyond begin time. why???
2013-11-02 23:15:31 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, R
EP1.prm: PROCESS ABENDING.
After I tried with:
GGSCI (WIN-NKC50KUIT0G) 8>Alter rep1, EXTSEQNO 0
but
GGSCI (WIN-NKC50KUIT0G) 9> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
REPLICAT ABENDED REP1 00:00:00 01:11:50
why??? abended??
In logs:
2013-11-03 14:07:02 INFO OGG-00996 Oracle GoldenGate Delivery for Oracle, REP1.prm: REPLICAT REP1 started.
2013-11-03 14:07:02 ERROR OGG-01091 Oracle GoldenGate Delivery for Oracle, REP1.prm: Unable to open file ".\dirdat\tr000000" (error 2, The system cannot find the file specified.). why???
2013-11-03 14:07:02 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, REP1.prm: PROCESS ABENDING.
GGSCI (WIN-NKC50KUIT0G) 12> info rep1, detail
REPLICAT REP1 Last Started 2013-11-03 14:30 Status ABENDED
Checkpoint Lag 00:00:00 (updated 01:19:03 ago)
Log Read Checkpoint File .\dirdat\tr000000
First Record
Extract Source Begin End
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * First Record
.\dirdat\tr000000 * Initialized * 2013-11-03 12:54
Current directory C:\app\Oracle\product\gg
Report file C:\app\Oracle\product\gg\dirrpt\REP1.rpt
Parameter file C:\app\Oracle\product\gg\dirprm\REP1.prm
Checkpoint file C:\app\Oracle\product\gg\dirchk\REP1.cpr
Checkpoint table target.checkpoint
Process file C:\app\Oracle\product\gg\dirpcs\REP1.pcr
Error log C:\app\Oracle\product\gg\ggserr.log
GGSCI (WIN-NKC50KUIT0G) 13> view param rep1
REPLICAT rep1
ASSUMETARGETDEFS
USERID target, PASSWORD oracle
discardfile .\discard\rep1_discard.txt, append, megabytes 10
DDL
map source.*, target target.*;
I don´t understand it, How I could solve?? Please help me!
Thank you.What steps did you use to add the Replicat? Can you list those commands out.
Also, does this file actually exist on the server where Replicat is running: C:\app\Oracle\product\gg\dirdat\tr000000 -
Cannot find resource ' on Solaris Platform
Hi:
I have two weblogic server running one on NT works find second on Solaris I
can find index.html and that all.
Went I try to run one of the sample jsp no luck on the solars , NT no
problem
I get this error message from the Solaris
Sat Jun 24 13:35:24 EDT 2000:<E> <ServletContext-General> Cannot find
resource '
snoop' in document root '/opt/weblogic/myserver/public_html'
The correct files are the dir comparie to NT
I am owner !
# WEBLOGIC JHTML PROPERTIES
# Sets up automatic page compilation for JHTML. Adjust init args for
# directory locations and uncomment to use.
weblogic.httpd.register.*.jhtml=\
weblogic.servlet.jhtmlc.PageCompileServlet
weblogic.httpd.initArgs.*.jhtml=\
pageCheckSeconds=1,\
packagePrefix=examples.jhtml,\
compileCommand=/usr/jdk1.2.2/bin/javac.exe,\
workingDir=/opt/weblogic/myserver/classfiles,\
verbose=true
# WEBLOGIC JSP PROPERTIES
# Sets up automatic page compilation for JSP. Adjust init args for
# directory locations and uncomment to use.
weblogic.httpd.register.*.jsp=\
weblogic.servlet.JSPServlet
weblogic.httpd.initArgs.*.jsp=\
pageCheckSeconds=1,\
compileCommand=/usr/jdk1.2.2/bin/javac.exe,\
workingDir=/opt/weblogic/myserver/classfiles,\
verbose=true
Thank You In advance
David L. Wasler
[email protected]
Hi:
Found problem, Solaris doesn't use .EXE works fine.
Thank You for your great help.
David L. Wasler
[email protected]
Wei Guan wrote in message <[email protected]>...
>Still, this is your configuration problem. Please find the location of your
>javac (not javac.exe) and replace it with /usr/jdk1.2.2/bin/javac.exe in
>your JSP configuration in weblogic.properties.
>
>--
>Cheers - Wei
>
>
>David L. Wasler <[email protected]> wrote in message
>news:[email protected]...
>> Hi:
>>
>> I used the source setEnv.sh and complie from
>> myserver/public_html/examples/servlet/*.java no problems.
>>
>> Went I try to invoke Hellowworld.jap I get can't find java.exc
>>
>> Here my error message
>>
>> Mon Jun 26 07:52:02 EDT 2000:<I> <ServletContext-General> Generated java
>> file: /
>>
>opt/weblogic/myserver/classfiles/jsp_servlet/_examples/_jsp/_HelloWorld.jav
a
>> Mon Jun 26 07:52:02 EDT 2000:<E> <ServletContext-General> Compilation of
>> /opt/we
>> blogic/myserver/classfiles/jsp_servlet/_examples/_jsp/_HelloWorld.java
>> failed: j
>> ava.io.IOException: /usr/jdk1.2.2/bin/javac.exe: not found
>> at java.lang.UNIXProcess.forkAndExec(Native Method)
>> at java.lang.UNIXProcess.<init>(UNIXProcess.java, Compiled Code)
>> at java.lang.Runtime.execInternal(Native Method)
>> at java.lang.Runtime.exec(Runtime.java, Compiled Code)
>> at java.lang.Runtime.exec(Runtime.java, Compiled Code)
>> at weblogic.utils.Executable.exec(Executable.java, Compiled Code)
>> at weblogic.utils.Executable.exec(Executable.java, Compiled Code)
>> at
>> weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvo
>> ker.java, Compiled Code)
>> at
>> weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java,
>> Compiled Code)
>> at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java,
Compiled
>> Code)
>> at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java,
>> Compiled Co
>> de)
>> at
>> weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
>> java, Compiled Code)
>> at
>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
>> pl.java, Compiled Code)
>> at
>> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
>>
>>
>> Thank You very much
>>
>> David L. Wasler
>> [email protected]
>>
>> Robert Patrick wrote in message <[email protected]>...
>> >Make sure that setEnv.sh is exporting the CLASSPATH environment
variable.
>> Also,
>> >you need to source setEnv.sh not execute it. For example,
>> >
>> >% . ./setEnv.sh
>> >
>> >Hope this helps,
>> >Robert
>> >
>> >"David L. Wasler" wrote:
>> >
>> >> Hi:
>> >>
>> >> Here is my output after I run setEnv.sh
>> >>
>> >> ============= Setting Environment ================
>> >> Starting Java 2
>> >> ******************************
>> >>
>>
>/usr/jdk1.2.2/lib/tools.jar:/opt/weblogic/license:/opt/weblogic/classes:/op
t
>> >> /web
>> >>
>>
>logic/lib/weblogicaux.jar:/opt/weblogic/eval/cloudscape/lib/cloudscape.jar:
>> >> opt/
>> >> weblogic/myserver/clientclasses:/opt/weblogic/myserver/serverclasses
>> >> *******************************
>> >> WL_HOME=/opt/weblogic
>> >> JAVA_HOME=/usr/jdk1.2.2
>> >> CLIENT_CLASSES=/opt/weblogic/myserver/clientclasses
>> >> SERVER_CLASSES=/opt/weblogic/myserver/serverclasses
>> >> SERVLET_CLASSES=/opt/weblogic/myserver/servletclasses
>> >>
>>
>PATH=/usr/jdk1.2.2/bin:/opt/rational/clearcase/bin:/usr/bin:/usr/ccs/bin:/u
s
>> >> r/X/
>> >>
>>
>bin:/usr/openwin/bin:/usr/bin/X11:/usr/sbin:/usr/bin:/opt/rational/clearcas
e
>> >> /bin
>> >>
>>
>:/bin:/usr/local/bin:/usr/local/bin/sparc-sun-solaris2.6:/usr/java/bin:/opt
>> >> orac
>> >> le8/8.1.5/bin:/opt/oracle8/8.1.5/lib:./
>> >>
>>
>CLASSPATH=/usr/jdk1.2.2/lib/tools.jar:/opt/weblogic/license:/opt/weblogic/c
l
>> >> asse
>> >>
>>
>s:/opt/weblogic/lib/weblogicaux.jar:/opt/weblogic/eval/cloudscape/lib/cloud
s
>> >> cape
>> >>
>>
>.jar:/opt/weblogic/myserver/clientclasses:/opt/weblogic/myserver/serverclas
s
>> >> es
>> >>
>>
>LD_LIBRARY_PATH=:/usr/X/lib:/usr/openwin/lib:/usr/dt/lib:/opt/oracle8/8.1.5
>> >> lib:
>> >> /opt/weblogic/lib/solaris/oci815_8:/opt/weblogic/lib/solaris
>> >> ==================================================
>> >>
>> >> Wei Guan wrote in message <[email protected]>...
>> >> >Open your setEnv.sh, make sure $WL_HOME/lib/weblogicaux.jar is in
>your
>> >> >CLASSPATH. After you run setEnv.sh, do a "echo $CLASSPATH", double
>check
>> >> >weblogicaux.jar is CLASSPATH.
>> >> >
>> >> >Hope it helps.
>> >> >
>> >> >--
>> >> >Cheers - Wei
>> >> >
>> >> >
>> >> >David L. Wasler <[email protected]> wrote in message
>> >> >news:[email protected]...
>> >> >> Hi:
>> >> >>
>> >> >> I think I found the problem went I try to compile from the dir were
>> >> >> snoop.jsp
>> >> >> which is /opt/weblogic/myserver/public_html/examples/servlets
>> >> >> I using the same setEnv.sh
>> >> >>
>> >> >> I get the following error message
>> >> >>
>> >> >> bash-2.03$ pwd
>> >> >> /opt/weblogic/myserver/public_html/examples/servlets
>> >> >> bash-2.03$ javac SnoopServlet.java
>> >> >> SnoopServlet.java:26: Package javax.servlet not found in import.
>> >> >> import javax.servlet.*;
>> >> >>
>> >> >> It telling me, there no path to the WL weblogicaux.jar in my
>setEnv.sh
>> or
>> >> >> startWeblogic.sh
>> >> >>
>> >> >> If you can provide additional information, that would be great.
>> >> >>
>> >> >> Thank You in Advance
>> >> >> David L. Wasler
>> >> >> [email protected]
>> >> >>
>> >> >> Wei Guan wrote in message <[email protected]>...
>> >> >> >snoop is a servlet. Did you register snoop in your
>> weblogic.properties?
>> >> >> >
>> >> >> >Cheers - Wei
>> >> >> >David L. Wasler <[email protected]> wrote in message
>> >> >> >news:[email protected]...
>> >> >> >> Hi:
>> >> >> >>
>> >> >> >> I have two weblogic server running one on NT works find second
on
>> >> >Solaris
>> >> >> >I
>> >> >> >> can find index.html and that all.
>> >> >> >>
>> >> >> >> Went I try to run one of the sample jsp no luck on the solars ,
>NT
>> no
>> >> >> >> problem
>> >> >> >>
>> >> >> >> I get this error message from the Solaris
>> >> >> >> Sat Jun 24 13:35:24 EDT 2000:<E> <ServletContext-General> Cannot
>> find
>> >> >> >> resource '
>> >> >> >> snoop' in document root '/opt/weblogic/myserver/public_html'
>> >> >> >>
>> >> >> >> The correct files are the dir comparie to NT
>> >> >> >>
>> >> >> >> I am owner !
>> >> >> >>
>> >> >> >> # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
>#
>> >> >> >> # WEBLOGIC JHTML PROPERTIES
>> >> >> >> # ------------------------------------------------
>> >> >> >> # Sets up automatic page compilation for JHTML. Adjust init args
>> for
>> >> >> >> # directory locations and uncomment to use.
>> >> >> >> weblogic.httpd.register.*.jhtml=\
>> >> >> >> weblogic.servlet.jhtmlc.PageCompileServlet
>> >> >> >> weblogic.httpd.initArgs.*.jhtml=\
>> >> >> >> pageCheckSeconds=1,\
>> >> >> >> packagePrefix=examples.jhtml,\
>> >> >> >> compileCommand=/usr/jdk1.2.2/bin/javac.exe,\
>> >> >> >> workingDir=/opt/weblogic/myserver/classfiles,\
>> >> >> >> verbose=true
>> >> >> >>
>> >> >> >>
>> >> >> >>>> >> Thank You In advance
>> >> >> >>
>> >> >> >> David L. Wasler
>> >> >> >> [email protected]
>> >>
>> >> >> >>
>> >> >> >> # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
>#
>> >> >> >> # WEBLOGIC JSP PROPERTIES
>> >> >> >> # ------------------------------------------------
>> >> >> >> # Sets up automatic page compilation for JSP. Adjust init args
>for
>> >> >> >> # directory locations and uncomment to use.
>> >> >> >> weblogic.httpd.register.*.jsp=\
>> >> >> >> weblogic.servlet.JSPServlet
>> >> >> >> weblogic.httpd.initArgs.*.jsp=\
>> >> >> >> pageCheckSeconds=1,\
>> >> >> >> compileCommand=/usr/jdk1.2.2/bin/javac.exe,\
>> >> >> >> workingDir=/opt/weblogic/myserver/classfiles,\
>> >> >> >> verbose=true
>> >> >> >>
>> >> >> >>
>> >> >> >> Thank You In advance
>> >> >> >>
>> >> >> >> David L. Wasler
>> >> >> >> [email protected]
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> David L. Wasler wrote in message <[email protected]>...
>> >> >Hi:
>> >> >
>> >> >I have two weblogic server running one on NT works find second on
>> Solaris I
>> >> >can find index.html and that all.
>> >> >
>> >> >Went I try to run one of the sample jsp no luck on the solars , NT no
>> >> >problem
>> >> >
>> >> >I get this error message from the Solaris
>> >> >Sat Jun 24 13:35:24 EDT 2000:<E> <ServletContext-General> Cannot find
>> >> >resource '
>> >> >snoop' in document root '/opt/weblogic/myserver/public_html'
>> >> >
>> >> >The correct files are the dir comparie to NT
>> >> >
>> >> >I am owner !
>> >> >
>> >> ># # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
>> >> ># WEBLOGIC JHTML PROPERTIES
>> >> ># ------------------------------------------------
>> >> ># Sets up automatic page compilation for JHTML. Adjust init args for
>> >> ># directory locations and uncomment to use.
>> >> >weblogic.httpd.register.*.jhtml=\
>> >> > weblogic.servlet.jhtmlc.PageCompileServlet
>> >> >weblogic.httpd.initArgs.*.jhtml=\
>> >> > pageCheckSeconds=1,\
>> >> > packagePrefix=examples.jhtml,\
>> >> > compileCommand=/usr/jdk1.2.2/bin/javac.exe,\
>> >> > workingDir=/opt/weblogic/myserver/classfiles,\
>> >> > verbose=true
>> >> >
>> >> >
>> >> >
>> >> >
>> >> ># # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
>> >> ># WEBLOGIC JSP PROPERTIES
>> >> ># ------------------------------------------------
>> >> ># Sets up automatic page compilation for JSP. Adjust init args for
>> >> ># directory locations and uncomment to use.
>> >> >weblogic.httpd.register.*.jsp=\
>> >> > weblogic.servlet.JSPServlet
>> >> >weblogic.httpd.initArgs.*.jsp=\
>> >> > pageCheckSeconds=1,\
>> >> > compileCommand=/usr/jdk1.2.2/bin/javac.exe,\
>> >> > workingDir=/opt/weblogic/myserver/classfiles,\
>> >> > verbose=true
>> >> >
>> >> >
>> >> >Thank You In advance
>> >> >
>> >> >David L. Wasler
>> >> >[email protected]
>> >> >
>> >> >
>> >> >
>> >> >
>> >
>>
>>
>
>
Maybe you are looking for
-
What is the best video converter for DVD to iMovie? Either free or to purchase.
What is the best video converter for DVD to iMovie? Either free or to purchase. And one that is 'fool-proof' and very easy to use. Many thanks, anyone who can advise.
-
Hitting "Enter" on selected folder icon renames instead of opens
As a former Windows user, I'm used to being able to hit "Enter" to open a selected folder or file in Finder, but hitting "Enter" on a selected folder in OS X merely sets it to rename the file (the same as F2 in Windows). Is there an equivalent of the
-
Keep getting "error occured durring loading this content"
have access to other apps, just switched to Ethernet between router and AppleTV unit but WiFi also gets this message?? Unit was operational for months just slow to download.
-
When I export a playlist from iTunes 8.2.1 using File > Library > Export Playlist, the time column is in an odd format. Can anyone explain how to convert the number iTunes provides into minutes and seconds?
-
Hi, How can I style my html content of a TextArea? I tried it like this but it keeps throwing errors: var h1:Object = new Object(); h1.fontFamily = "DistrictThin"; h1.color = "#FFCC00"; h1.fontSize = 30; h1.leading = 15; h1.display = "block"; var css