Error when using IMPDP command on import
I'm following an Oracle document guiding me thru the creation of schemas and importing of data for a Sample OBIEE App. But I'm getting an error using the IMPDP command. The command I'm issuing at the Command Prompt is as follows:
impdp sys/password@Eagle as sysdba directory=datapumpdir dumpfile=SASchemas.dmp version=11.2.0.0.0 schemas=BISAMPLE,OBIEE_NAVTEQ,BIFOD,BIBPM,DEV_ODI_REPO,ODI_STAGING LOGFILE=SASchemas_imp.log
(Note that I'm using my actual password in place of 'password')
Unfortunately, I keep getting the error: unknown command beginning "impdp sys/..." rest of line ignored'
Why is this not working? I've checked the syntax very carefully.
Thanks, John
Thanks for the replies. Yep it's a duplicate post, which I rarely do, but the subject matter related more to the database than OBIEE and I got no response in the OBIEE forum.
Yes, this is a single machine installation so I am running the command on the machine where the database is up and running. I tried leaving version= 11.2.0.0 out of the command as Fiedi Z suggested, but I still get the same error. I'm scratching my head as to why the error handler doesn't even recognize that I'm using the IMPDP command. Any other ideas?
Thanks, John
Similar Messages
-
Getting Errors while using IMPDP command in UNIX
Hi All,
My work involves Refreshing of DB with latest Data. For this i am using IMPDP command to import the data. But Every time during refresh i will get errors saying like "oracle Generated Errors Oracle Not available".
I don't know what is the reason for getting this error, and that too my db goes down after this error. Again i will startup the db , and i will try my luck to complete the process.
so please tell me what are the actual problems that might cause the IMPDP to be failed.
with one advise , i have stopped my listener and done the importing, Interestingly this time IMPDP works without errors. But this is also not always working.
But i feel that every time starting and stopping the listener is not the correct solution.
so please help me in this regard.
Regards
Naveen R.The error i am getting is...
UDI-03113: operation generated ORACLE error 3113
ORA-03113: end-of-file on communication channel
Process ID: 6208
Session ID: 346 Serial number: 298
UDI-03114: operation generated ORACLE error 3114
ORA-03114: not connected to ORACLE
[user1@node1 cpt]$
DB version is 11.1.0.6.0
os is.. Red Hat Linux -
Error when used hana studio to import Delivery Unit
HANA version:1.00.80.00.391861
HANA studio version:1.80.3
Plantform :SUSE Linux Enterprise Server 11.2
I meet a error when used hana studio followed that steps to import Delivery Unit:
Launch HANA Studio
Select your HANA instance
On the Quick launch page, choose Content -> Import
Now Select HANA Content -> Delivery unit.
Choose Next
Select the server, browse the Service DU (Service DU on server: SYS/global/hdb/content): HCO_INA_SERVICE.tgz
Who can help me what shoud i do.
thanks.I has Resolved.
You must set the OS directory privileges which has listed on the picutre to 777 by 'chmod' command ,
if it's 775 or others. -
Error when using "say" command
Hi guys,
VERY new here, but as i signed up i wanted to ask a quick question.
When using the say command in terminal today i noticed an error pop up in the two following lines saying;
MTBEAudioUnitSoundOutput::PropagateProperty Error -10851
MTBEAudioUnitSoundOutput::PropagateProperty Error -10851
The sound still played for the command, but i wondered if this error was important or something needed to be done.
I have tried looking elsewhere online to find an ansswer but can't find any information.
Any help would be greatly appreciated
JimiAre you using the stock voices, or something else? In general, I'd keep to the stock voices with say.
As a test, see if the following works:
say -v Alex "Testing"
Any anti-malware or anti-virus tools installed? -
Error when using sapgenpse import_own_cert to import a signed certificate
We have installed a WebDispatcher and want to use SSL and executed the following steps:
1. Generate Self-Signed Certificate and CSR by:
sapgenpse get_pse -p SAPSSLS.pse -r SAPSSL.req "CN=emsd3c.cs-apps.carestreamhealth.com, OU=IT, O=Carestream Health, C=US"
2. User service.sap.com/trust SSL Test Server Certifcated service to signed the CSR which looks like
BEGIN CERTIFICATE-----
MIIBpDCCAQ0CAQAwZDELMAkGA1UEBhMCVVMxGjAYBgNVBAoTEUNhcmVzdHJlYW0g
SGVhbHRoMQswCQYDVQQLEwJJVDEsMCoGA1UEAxMjZW1zZDNjLmNzLWFwcHMuY2Fy
ZXN0cmVhbWhlYWx0aC5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAP+w
TmRWeRlt1tg5GnjMloRhezO6lRJ1mhgNcWGQTECtAXDVypnznTFhimj3OG1zgW
gItJ1u4GjvQuYR2w2T92UrV3mnORrlHfpYOBCngRwQWfSaG7Ih5g3NeQ4bAq60Ap
0BwVg9hTpjZfTXfqYQHyzYPk6Pv9c+l0m3Va/DMfAgMBAAGgADANBgkqhkiG9w0B
AQUFAAOBgQBw6ipAyPUor96WGIOu93v7jjxE0uLuCMkfjaHnuqpYaOWM7z6XQn
2jWMwEKG4vsvU1X5azUuqA1yidH5+GXTD0VCbXUqLWZEP6S2FMJXixv/e3QELYrT
qBee2JDYPAdoMkKX/cwshFwXXo41R/gjEwn6aBDg9jkA70xFZEOjTQ==
BEGIN CERTIFICATE-----
The certificated signed by SAP looks like and I have created a file called d3c_test.cer to contain it:
BEGIN CERTIFICATE-----
MIIC5zCCAlCgAwIBAgIDANTZMA0GCSqGSIb3DQEBBQUAMFAxCzAJBgNVBAYTAkRF
MRwwGgYDVQQKExNTQVAgVHJ1c3QgQ29tbXVuaXR5MQ8wDQYDVQQLEwZTZXJ2ZXIx
EjAQBgNVBAMTCVNlcnZlciBDQTAeFw0wOTA3MjkxNzM4NDVaFw0wOTA5MjcxNzM4
NDVaMIGAMQswCQYDVQQGEwJERTEcMBoGA1UEChMTU0FQIFRydXN0IENvbW11bml0
eTEYMBYGA1UECxMPQ2FyZXN0cmVhbUhlYXRoMQswCQYDVQQLEwJJVDEsMCoGA1UE
AxMjZW1zZDNjLmNzLWFwcHMuY2FyZXN0cmVhbWhlYWx0aC5jb20wgZ8wDQYJKoZI
hvcNAQEBBQADgY0AMIGJAoGBAPjouDXa5nj8UQN77E53KCn1Xv2mI4uQMwz2cv
2YLL0086PfLzv+GZgMNsykmFzCAw2Nq2PthvhRhIUSZmCWgF36vN3GnwYPhc3flw
bvYGkeyFvJ3i3I0xiZTwVdvNDnd/GmLH6VCqCEbIwPXEJJamWop6SumaHl7h5KgV
aaqPAgMBAAGjgZ0wgZowDAYDVR0TAQH/BAIwADAlBgNVHRIEHjAchhpodHRwOi8v
c2VydmljZS5zYXAuY29tL1RDUzATBgNVHSUEDDAKBggrBgEFBQcDATAOBgNVHQ8B
Af8EBAMCBPAwHQYDVR0OBBYEFHBRAASwukLlThOY+NbGKycJGjjIMB8GA1UdIwQY
MBaAFIHbg/NK+zUYCLkBvbcdW51zNVtJMA0GCSqGSIb3DQEBBQUAA4GBAIxe9gRz
7UdawNwiIyKo2jvg6P0VnvPRMiyfMJdtbaTarinJmgP2yghMGKx84twvEds9GV42
xUXbX/AHdgI3ef8N/WXvs15Hi4GnMdb/d7zhz3DAcjajbr7xmFycFFqRSwJ68Kb0
JF2cZLtwh9G0dJZMbT5ihJ61mCVMXvIbH27s
END CERTIFICATE-----
3. Execute the following commend to import SAP's response (d3c_test.cer)
sapgenpse import_own_cert -c d3c-test.cer -p SAPSSLS.pse
Receive the following error:
sapgenpse import_own_cert -c d3c-test.cer -p SAPSSLS.pse
Please enter PIN: ****
import_own_cert: Installation of certificate failed
ERROR in ssf_install_CA_response: (1280/0x0500) Incomplete FCPath, need certificate of CA : "CN=Server CA, OU=Server, O=SAP Trust Community, C=DE"
ERROR in ssf_install_certs_into_pse: (1280/0x0500) Incomplete FCPath, need certificate of CA : "CN=Server CA, OU=Server, O=SAP Trust Community, C=DE"
Any help will be appreciated.
Thanks
RiversHi Sri Garimella,
As you have mentioned above to donwload root certificate also & giv the command as
sapgenpse -import_own_cert -c d3c-test.cer -p SAPSSLS.pse -r <RootCA_cert_file>.
Could you please help me from where can i get the RootCA_cert_file ?
In service market place I am unable to find RootCA_cert_file.
Could you please elloborate the issue ?
Regards
Hari -
Ora-31685 error when using impdp
Both the source and target database's version are 11g r1(11.1.0.6.0).The EXPDP finished well without error,But ORA-31685 error happened when IMPDP,error message as follow:
ORA-31685: Object type VIEW:"YDSJ"."MY_TAB_COLS" failed due to insufficient privileges. Failing sql is:
CREATE FORCE VIEW "YDSJ"."MY_TAB_COLS" ("COLUMN_NAME", "TABLE_NAME") AS select column_name,table_name from all_tab_cols
ORA-31685: Object type failed due to insufficient privileges. Failing sql is:
ORA-31685: Object type failed due to insufficient privileges. Failing sql is:
ORA-31685: Object type VIEW:"YDSJ"."YD_DAB121A_VIEW" failed due to insufficient privileges. Failing sql is:
CREATE FORCE VIEW "YDSJ"."YD_DAB121A_VIEW" ("LBDM", "LBMC", "XH", "ND", "ZHDYDM", "BJDYDM", "DYDM", "JJBZ") AS SELECT B."LBDM",B."LBMC",A."XH",A."ND",A."ZHDYDM",A."BJDYDM",A."DYDM",A."JJBZ" FROM YD_DAB121A A,YD_FLE9_VIEW B where JJBZ='0'
ORA-31685: Object type VIEW:"YDSJ"."YD_DAB121_VIEW" failed due to insufficient privileges. Failing sql is:
CREATE FORCE VIEW "YDSJ"."YD_DAB121_VIEW" ("LBDM", "LBMC", "YQTDM", "ZHDYDM", "DYDM", "ND", "DYBZ", "XZBZ", "SCBZ") AS SELECT B."LBDM",B."LBMC",A."YQTDM",A."ZHDYDM",A."DYDM",A."ND",A."DYBZ",A."XZBZ",A."SCBZ" FROM YD_DAB121 A,YD_FLE9_VIEW B
I can't find any information in oralce document.
Who can help me ?
Tel me why and how to resolve."insufficient privileges" means a grant is missing for the user your importing into. If this is a copy from one DB to another just compare the sorce user to the destination. Grants from the SYS schemas are not exported because SYS is not exported you will have to script these grants as needed.
For example grant sleect on v_$process to fred; whilst connected as "/ as sysdba". -
Elements 6 - Error when using Duplicate command in Organiser
I get the following error message if I try to use the "Duplicate" command within the Organiser:
"An error occurred while reading files or writing files to disc. The disc may be full or there may be a problem with the source media"
However, I have since realised that you can also access "Duplicate" from within the editor...and here it seems to work. That said, using "Duplicate" in the organizer would logically be where I think I'd want to duplicate an image. My images are all about 2Mb each and the computer has 1GB Ram and a 120GB capacity hard-drive.
Thanks for any help.Thanks John, but unfortunately your suggested answer did not work. Here is further information. When I click on "Duplicate" within the Organiser, the progress bar gets to 90% before the error message appears. It seems the programme does also actually duplicate the image but then puts that second copy straight into the recycle bin (presumably because it's damaged or incomplete, although the file size is the same as the original). Any further suggestions would be greatly welcomed.
Regards
David Combes -
Error when using SQL Developer to IMPORT Access data into Oracle
Hello,
I am using SQL Develoepr to export Access mdb file into Oracle. When I try to use Tools ---? Migration---> Microsssfot access exported -->
I am getting an error message upon attaching the Access database file, the error states
"Error#40179 - XMLExporter - Methiod'AddFromFile' of object'_References failed. Export did not complete successfully.
What could be the reason for this error please advise.
ThanksHi,
Try searching for:Re: 30EA2 - No Available Databases in Capture step with MS Access Migration
Thread: 30EA2 - No Available Databases in Capture step with MS Access Migration
Posted: Dec 20, 2010 11:04 AM
Also note that copy to oracle - (for just table/column information) is available on right click.
-Turloch
SQLDeveloper team -
Error when using jprselftest command
Hi All
I am facing a problem when I use the jprselftest as follows:
http://ssisup70:50000/ProxyServer/jprselftest
Starting JPR selftest via MS with timeout 60000 msec ...
Synchronous request: SystemFaultException: Error sending MS message. Exception: XIServer:CO_TXT_OUTBINDING_NOT_FOUND:
Synchronous request for application fault: SystemFaultException: Error sending MS message. Exception: XIServer:CO_TXT_OUTBINDING_NOT_FOUND:
Synchronous request for system error: SystemFaultException: Error sending MS message. Exception: XIServer:CO_TXT_OUTBINDING_NOT_FOUND:
Done
Can anybody help on this?Hi Arjun,
At first try to check whether the receiver determination and interface determination objects are active in change lists tab. If they are not active, activate the objects.
Also check the if the receiver determination and interface determination objects are referenced to the same namespace or not. Sender and receiver interface objects should always refer to the same Namespace
/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
pls have a look at the below links
/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
Java Proxy Server: cannot locate proxy bean...
Cannot locate proxy bean IN RWB
https://forums.sdn.sap.com/click.jspa?searchID=11113489&messageID=3039952
Related SAP Notes-824554, 906435, 783515, 910649, 706563 .
Regards,
Vinod. -
Error when using "vmstat" command
Hi everyone,
After running command "vmstat", I have a error concerned about core dumped. I don't know if it is a big problem or not, but our customers don't stop asking about it. Here is the output:
root@rechn2 # vmstat 2
Segmentation Fault: (core dumped)
So if anyone know how to fix this problem, please help me. Until now, I haven't known how to answer the customer's question. Thank you all.recent thread on the topic: [http://forums.sun.com/thread.jspa?threadID=5427649]
-
ERROR MESSAGE WHEN USING PACK COMMAND Missing file ////presenter.css Command then fails
Also: "This course requires JavaScript to be enabled in your browser. Please enable JavaScript, then relaunch the course." I have Java enabled in all browsers
Thoughts? Using Presenter 10 Win 8.1 Intel I7 new HP with plenty of memory
ThanksI had saved one copy as an .asp but then resaved it to .xhtml
I'm assuming this is a static web site. Rename (F2) all your pages with .html or .htm extension.
.xhtml is not a valid extension.
Nancy O. -
Exchange 2013 CU5 , Exchange Power Shell very very very slow reasponse when using get command.
First my organize has Exchange on 2 site like
site A (internet facing) : 2CAS 2 MB all are Services pack1
site B (DR Site , no user active on this site) : 2CAS 2MB all are Services pack 1
so today I upgrade Exchange 2013 from SP1 to CU5 start on "site B" and I found this issue and the details is....
When I open EMS on any CU5 for query something (like get-mailboxdatabasecopystatus) the response return very slow and some query will not return at all (like get-owavirtualdirectory).
But If I using EMS on SP1. Everything is ok then I try to use EMS on SP1 connect to CU5 and try to query something. the result is
some query command cannot return for any result that are server on siteB (just some query command)
Problem
EMS on CU5 return very slow result.
EMS on SP1 still ok.
Does anyone face this problem before for CU5??? Please help me figure this out. Thank you
reply from Social.technetHi,
Have you used the above cmdlets to check your Exchange server health?
"all other command that I ran on EMS didn't logged on event viewer.", my environment is the same with you. I use Exchange 2013, only errors will be displayed in MSExchange Management. Actually, it is not related to slow EMS response.
Hope it helps.
Best regards,
Amy Wang
TechNet Community Support -
Error When Using Class :(
Hey,
Class:
package
import flash.display.MovieClip;
import flash.events.Event;
public class Main extends MovieClip
public var enemyA:Array = [];
public var birdA:Array = [];
public var rowNum:int = 2;
private var gap:int = 100;
private var obj_no = 2;
public var enemy1:mychar = new mychar();
public var TheBird:BirdChar = new BirdChar();
public function Main()
// constructor code
createEnemyF();
createBirdF();
this.addEventListener(Event.ENTER_FRAME,loopF);
public function createEnemyF()
for (var i:int = 0; i < rowNum; i++)
for (var j:int = 0; j < obj_no; j++)
enemy1.x = Math.random() * stage.stageWidth - enemy1.width;
enemy1.y = - i * (gap + enemy1.height) - 30.65;
enemyA.push(enemy1);
addChild(enemy1);
public function createBirdF() {
TheBird.x = 270.95;
TheBird.y = 350.95;
birdA.push(TheBird);
addChild(TheBird);
public function loopF(event:Event) {
updateEnemyPositionsF();
updateBirdPositionsF();
hitTestF();
public function updateEnemyPositionsF() {
enemy1.y += 2;
public function updateBirdPositionsF() {
TheBird.x = mouseX;
public function hitTestF() {
if(TheBird.hitTestObject(enemy1))
gotoAndPlay(5);
trace('The Bird Hit Enemy 1');
This conflicts and causes this error:
1046: Type was not found or was not a compile-time constant: MouseEvent
^ ^ Code repeats to all of my event listeners
Thanks for your time.Thanks, i thought it might be this because of previous problems but i seen i already had : import flash.events.Event; so i thought that would be OK!
Second Error:
1180: Call to an undefined method Timer.
I think this is the same sort of thing but what to import to fix this?
So far these are my imports:
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.events.TimerEvent;
Thanks for helping.
Date: Thu, 3 Nov 2011 05:36:22 -0600
From: [email protected]
To: [email protected]
Subject: Error When Using Class
Re: Error When Using Class
created by markerline in Flash Pro - General - View the full discussion
Looks like you imported events.Event but not events.MouseEvent (or some similar syntax) basically you must import MouseEvents separately from other Events.
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4005227#4005227
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4005227#4005227. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Flash Pro - General by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Detecting transform errors when using org.xml.sax.XMLFilter
I am using javax.xml.transform.sax.SAXTransformerFactory.newXMLFilter to transform xml against a pipeline of stylesheets (See function testPipelineTransform in the example below). The process works okay, excepting that I cannot figure out how to detect errors in the transformation process.
I would like to achieve the same result for the pipeline process as I would for a single transformation using javax.xml.transform.Transformer.setErrorListener. The example below demonstrates how the call to javax.xml.transform.Transformer.setErrorListener does not generate the same result when using org.xml.sax.XMLFilter as it does when using a single transformation.
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.SAXException;
import org.xml.sax.InputSource;
import org.xml.sax.XMLReader;
import org.xml.sax.XMLFilter;
import javax.xml.transform.ErrorListener;
import javax.xml.transform.Source;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.TransformerConfigurationException;
import javax.xml.transform.sax.SAXTransformerFactory;
import javax.xml.transform.sax.SAXSource;
import javax.xml.transform.stream.StreamSource;
import javax.xml.transform.stream.StreamResult;
import java.io.*;
public class FilterChain {
static private final String newline = System.getProperty("line.separator");
public static void main(String argv[]) {
System.out.println("Testing pipeline transform");
testPipelineTransform();
System.out.println("Testing single transform");
testXsltSingleTransform();
} // main
static private void testPipelineTransform() {
try {
// Set up the input stream
BufferedInputStream bis = new BufferedInputStream(
new ByteArrayInputStream(getExample().getBytes()));
InputSource input = new InputSource(bis);
// Set up to read the input file
SAXParserFactory spf = SAXParserFactory.newInstance();
SAXParser parser = spf.newSAXParser();
XMLReader reader = parser.getXMLReader();
// Create the filters
SAXTransformerFactory stf = (SAXTransformerFactory) TransformerFactory
.newInstance();
XMLFilter filter1 = stf.newXMLFilter(new StreamSource(new StringReader(getStylesheet1())));
XMLFilter filter2 = stf.newXMLFilter(new StreamSource(new StringReader(getStylesheet2())));
// Wire the output of the reader to filter1
// and the output of filter1 to filter2
filter1.setParent(reader);
filter2.setParent(filter1);
// Set up the output stream
StreamResult result = new StreamResult(System.out);
// Set up the transformer to process the SAX events generated
// by the last filter in the chain
Transformer transformer = stf.newTransformer();
transformer.setErrorListener(new ErrorListener() {
public void error(TransformerException te)
throws TransformerException {
System.out.println("Transform generated Transform Error");
System.out.println(te.getMessage());
public void fatalError(TransformerException te)
throws TransformerException {
System.out
.println("Transform generated Transform Fatal Error");
System.out.println(te.getMessage());
public void warning(TransformerException te)
throws TransformerException {
System.out.println("Transform generated Transform Warning");
System.out.println(te.getMessage());
SAXSource transformSource = new SAXSource(filter2, input);
transformer.transform(transformSource, result);
} catch (TransformerConfigurationException tce) {
// Error generated by the parser
System.out.println("\n** Transformer Factory error");
System.out.println(" " + tce.getMessage());
// Use the contained exception, if any
Throwable x = tce;
if (tce.getException() != null)
x = tce.getException();
x.printStackTrace();
} catch (TransformerException te) {
// Error generated by the parser
System.out.println("\n** Transformation error");
System.out.println(" " + te.getMessage());
// Use the contained exception, if any
Throwable x = te;
if (te.getException() != null)
x = te.getException();
x.printStackTrace();
} catch (SAXException sxe) {
// Error generated by this application
// (or a parser-initialization error)
Exception x = sxe;
if (sxe.getException() != null)
x = sxe.getException();
x.printStackTrace();
} catch (ParserConfigurationException pce) {
// Parser with specified options can't be built
pce.printStackTrace();
static private void testXsltSingleTransform() {
try {
BufferedInputStream bis = new BufferedInputStream(
new ByteArrayInputStream(getExample().getBytes()));
// Set up the output stream
StreamResult result = new StreamResult(System.out);
InputSource input = new InputSource(bis);
TransformerFactory factory = TransformerFactory.newInstance();
Source source = new StreamSource(new StringReader(getStylesheet2()));
Transformer stylesheet = factory.newTransformer(source);
stylesheet.setErrorListener(new ErrorListener() {
public void error(TransformerException te)
throws TransformerException {
System.out.println("Transform generated Transform Error");
System.out.println(te.getMessage());
public void fatalError(TransformerException te)
throws TransformerException {
System.out
.println("Transform generated Transform Fatal Error");
System.out.println(te.getMessage());
public void warning(TransformerException te)
throws TransformerException {
System.out.println("Transform generated Transform Warning");
System.out.println(te.getMessage());
SAXSource transformSource = new SAXSource(input);
stylesheet.transform(transformSource, result);
} catch (Exception exc) {
exc.printStackTrace();
private static String getStylesheet1() {
return
"<?xml version='1.0' encoding='ISO-8859-1'?>" + newline
+ "<xsl:stylesheet" + newline
+ "xmlns:xsl='http://www.w3.org/1999/XSL/Transform'" + newline
+ "version='1.0'>" + newline
+ "<xsl:output method='xml'/>" + newline
+ "<xsl:template match='/'>" + newline
+ "<DontCareAboutContent></DontCareAboutContent>" + newline
+ "</xsl:template>" + newline
+ "</xsl:stylesheet>" + newline;
private static String getStylesheet2() {
return
"<?xml version='1.0' encoding='ISO-8859-1'?>" + newline
+ "<xsl:stylesheet" + newline
+ "xmlns:xsl='http://www.w3.org/1999/XSL/Transform'" + newline
+ "version='1.0'>" + newline
+ "<xsl:output method='html'/>" + newline
+ "<xsl:template match='/'>" + newline
+ "<html><body>" + newline
+ "<xsl:message>" + newline
+ "Error Message for the xslt processor" + newline
+ "</xsl:message>" + newline
+ "Dont care about the xslt content," + newline
+ "The only significant part is the xsl:message element" + newline
+ "which results in a error to be handled by the xslt" + newline
+ "processor" + newline
+ "</body></html>" + newline
+ "</xsl:template>" + newline
+ "</xsl:stylesheet>" + newline;
private static String getExample() {
return
"<?xml version='1.0' encoding='ISO-8859-1'?>" + newline
+ "<DontCareAboutContent>" + newline
+ "</DontCareAboutContent>" + newline;
}I made the following change which solves the problem but the sollution is tightly coupled to Xalan. If anyone has any ideas, I would still like to find a way to achieve the desired result using JAXP API's.
XMLFilter filter1 = stf.newXMLFilter(new StreamSource(new StringReader(getStylesheet1())));
if (filter1 instanceof org.apache.xalan.transformer.TrAXFilter) {
((org.apache.xalan.transformer.TrAXFilter)filter1).getTransformer().setErrorListener(...);
... -
Weblogic 9.2 error when using spring framework and taglibs.
I am getting the following error when using spring binding for a command form class.
Class ExCommandForm
private String firmCode;
public String getFirmCode ()
public void setFirmCode ()
In my jsp I have the following
<spring:bind path="exCommandForm.firmCode">
<input name="<c:out value="${status.expression}"/>" type="text" value="<c:out value="${status.value}"/>" >
</spring:bind>
Ps. exCommandForm is the commandForm declaration in my SiimpleFormController.
When I deploy the application to weblogic 9.2 I get the following error :
<Apr 26, 2007 4:34:44 PM BST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.int
ernal.WebAppServletContext@1f601c6 - appName: 'BDRui', name: 'BDRui', context-pa
th: '/BDRui'] Root cause of ServletException.
java.lang.ClassCastException: javax.servlet.jsp.jstl.core.LoopTagSupport$1Status
at jsp_servlet._web_45_inf._jsp.__tradesearch._jspService(__tradesearch.
java:1075)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:283)
Ps. Deploying application on Tomcat 5.23 works.
Can anyone help on this ?
cheers in advance.
More Info - Using Weblogic 9.2 on UNIX, servlet 2.4, jstl 1.1
regards
Edited by kings_citi at 04/26/2007 9:03 AM
Edited by kings_citi at 04/26/2007 10:35 AM
Edited by kings_citi at 04/26/2007 10:36 AMThe problem doesn't look like it has anything to do with wappers per se. The stack indicates that the JVM died when the persistent store tried to invoke a standard Java synchronize operation. JVM crashes need to be analyzed by a JVM expert, so I second the suggestion to solicit help from JVM experts and/or filing a case with customer support. In the mean-time, you can probably work-around the issue by either (A) ensuring you have a recent version of the JVM installed, or (B) temporarily switching to the Sun JVM.
Regards,
tom
Edited by: TomB on Sep 17, 2010 2:33 PM
Maybe you are looking for
-
Photos in 4.0.3 PDFs are unintentionally rotated
in IPHOTO 4.0.3, the "create a PDF" portion of the "print" function is rotating all photos in the PDF 90 degrees counterclockwise. in other applications including safari, appleworks, preview, and text edit the "create a PDF" function places the image
-
Hi - my family is military and we are moving to Singapore for a few years. We bought our mac mini in the US and love it. I know that the voltages are different there (although from what I have found here, the mini should automatically adjust for the
-
Why is my downloaded font "greyed out"
I am wanting to add a font to my font book that I downloaded; however. when I look it up, no matter where I put it, it appears greyed out and unselectable. neddless to say, as it stands I can't add the font due to this problem. Any thoughts?
-
I have 11 e-mail accounts that was working fine a minute ago, but now they all say that they can't connect to the IMAP and SMTP servers. They all work fine on my iphone. How should i troubleshoot this? Thanks in advance.
-
Cinema Tools 4.0.1 Crashing in Lion 10.7.1
Hi all: I'm not sure who else may be having problems, but I cannot get my Cinema Tools 4.0.1 to open in Lion 10.7.1. It continues to crash every time I click on the software program to open and launch. I understand there are some compatibility issues