Endeca initialize_services give encoding exception
HI I am in process of creating a new Endeca Product catalog Integration app. I was successfully able to deploy and see the sample Discover-data ref app but this does not seem to create record store in CAS. So I followed the same deployment steps for "discover-data-catalog-integration". I was able to create and deploy app using deployment template in ToolsAndFrameworks but when i initialize the app I get exception mentioned below:
What could possibly be wrong? which file it is trying to parse that is not right?
I found "\n" after D: in <app>/test_data\baseline\rs_baseline_data.xml. I removed it but to no avail. It still gives the same exception. Is it a bug?
Version for CAS and ToolsAndFrameworks is 3.1.1.
Setting EAC provisioning and performing initial setup...
[03.22.13 16:13:34] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.
[03.22.13 16:13:35] INFO: Setting definition for application 'CRS'.
[03.22.13 16:13:36] INFO: Setting definition for host 'AuthoringMDEXHost'.
[03.22.13 16:13:36] INFO: Setting definition for host 'LiveMDEXHostA'.
[03.22.13 16:13:36] INFO: Setting definition for host 'ReportGenerationHost'.
[03.22.13 16:13:36] INFO: Setting definition for host 'WorkbenchHost'.
[03.22.13 16:13:36] INFO: Setting definition for host 'ITLHost'.
[03.22.13 16:13:37] INFO: Setting definition for component 'AuthoringDgraph'.
[03.22.13 16:13:37] INFO: Setting definition for component 'DgraphA1'.
[03.22.13 16:13:38] INFO: Setting definition for script 'PromoteAuthoringToLive'.
[03.22.13 16:13:38] INFO: Setting definition for custom component 'WorkbenchManager'.
[03.22.13 16:13:38] INFO: Updating provisioning for host 'ITLHost'.
[03.22.13 16:13:38] INFO: Updating definition for host 'ITLHost'.
[03.22.13 16:13:38] INFO: [ITLHost] Starting shell utility 'mkpath_-'.
[03.22.13 16:13:40] INFO: Setting definition for custom component 'IFCR'.
[03.22.13 16:13:40] INFO: Updating provisioning for host 'ITLHost'.
[03.22.13 16:13:40] INFO: Updating definition for host 'ITLHost'.
[03.22.13 16:13:40] INFO: [ITLHost] Starting shell utility 'mkpath_-'.
[03.22.13 16:13:42] INFO: [ITLHost] Starting shell utility 'mkpath_-'.
[03.22.13 16:13:44] INFO: Setting definition for component 'LogServer'.
[03.22.13 16:13:44] INFO: Setting definition for script 'DaySoFarReports'.
[03.22.13 16:13:44] INFO: Setting definition for script 'DailyReports'.
[03.22.13 16:13:45] INFO: Setting definition for script 'WeeklyReports'.
[03.22.13 16:13:45] INFO: Setting definition for script 'DaySoFarHtmlReports'.
[03.22.13 16:13:45] INFO: Setting definition for script 'DailyHtmlReports'.
[03.22.13 16:13:45] INFO: Setting definition for script 'WeeklyHtmlReports'.
[03.22.13 16:13:45] INFO: Setting definition for component 'WeeklyReportGenerator'.
[03.22.13 16:13:46] INFO: Setting definition for component 'DailyReportGenerator'.
[03.22.13 16:13:46] INFO: Setting definition for component 'DaySoFarReportGenerator'.
[03.22.13 16:13:47] INFO: Setting definition for component 'WeeklyHtmlReportGenerator'.
[03.22.13 16:13:48] INFO: Setting definition for component 'DailyHtmlReportGenerator'.
[03.22.13 16:13:48] INFO: Setting definition for component 'DaySoFarHtmlReportGenerator'.
[03.22.13 16:13:49] INFO: Setting definition for script 'BaselineUpdate'.
[03.22.13 16:13:49] INFO: Setting definition for script 'PartialUpdate'.
[03.22.13 16:13:49] INFO: Setting definition for component 'ConfigurationGeneratorForge'.
Exception:
java.lang.IllegalArgumentException: The char '0xc' after 'D:' is not a valid XML character.
at org.apache.axis.components.encoding.UTF8Encoder.writeEncoded(UTF8Encoder.java:81)
at org.apache.axis.encoding.SerializationContext.writeSafeString(SerializationContext.java:1289)
at org.apache.axis.encoding.ser.SimpleSerializer.serialize(SimpleSerializer.java:104)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:734)
at org.apache.axis.encoding.ser.ArraySerializer.serialize(ArraySerializer.java:414)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:734)
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:230)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:734)
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:230)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:801)
at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208)
at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
at org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)
at org.apache.axis.Message.getContentType(Message.java:486)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:343)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.endeca.eac.client.ProvisioningPortSOAPBindingStub.addComponent(ProvisioningPortSOAPBindingStub.java:1068)
at com.endeca.soleng.eac.toolkit.component.Component.setDefinition(Component.java:838)
at com.endeca.soleng.eac.toolkit.component.Component.setDefinition(Component.java:815)
at com.endeca.soleng.eac.toolkit.Controller.provision(Controller.java:691)
at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:235)
at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:134)
Exception:
java.io.IOException: java.lang.IllegalArgumentException: The char '0xc' after 'D:' is not a valid XML character.
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:275)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:734)
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:230)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:801)
at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208)
at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
at org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)
at org.apache.axis.Message.getContentType(Message.java:486)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:343)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.endeca.eac.client.ProvisioningPortSOAPBindingStub.addComponent(ProvisioningPortSOAPBindingStub.java:1068)
at com.endeca.soleng.eac.toolkit.component.Component.setDefinition(Component.java:838)
at com.endeca.soleng.eac.toolkit.component.Component.setDefinition(Component.java:815)
at com.endeca.soleng.eac.toolkit.Controller.provision(Controller.java:691)
at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:235)
at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:134)
Exception:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.io.IOException: java.io.IOException: java.lang.IllegalArgumentException: The char '0xc' after 'D:' is not a valid XML character.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.io.IOException: java.io.IOException: java.lang.IllegalArgumentException: The char '0xc' after 'D:' is not a valid XML character.
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:275)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:801)
at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208)
at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
at org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)
at org.apache.axis.Message.getContentType(Message.java:486)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:343)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.endeca.eac.client.ProvisioningPortSOAPBindingStub.addComponent(ProvisioningPortSOAPBindingStub.java:1068)
at com.endeca.soleng.eac.toolkit.component.Component.setDefinition(Component.java:838)
at com.endeca.soleng.eac.toolkit.component.Component.setDefinition(Component.java:815)
at com.endeca.soleng.eac.toolkit.Controller.provision(Controller.java:691)
at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:235)
at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:134)
{http://xml.apache.org/axis/}hostname:nodswl0129
java.io.IOException: java.io.IOException: java.lang.IllegalArgumentException: The char '0xc' after 'D:' is not a valid XML character.
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:317)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
at org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:554)
at org.apache.axis.Message.getContentType(Message.java:486)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:343)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.endeca.eac.client.ProvisioningPortSOAPBindingStub.addComponent(ProvisioningPortSOAPBindingStub.java:1068)
at com.endeca.soleng.eac.toolkit.component.Component.setDefinition(Component.java:838)
at com.endeca.soleng.eac.toolkit.component.Component.setDefinition(Component.java:815)
at com.endeca.soleng.eac.toolkit.Controller.provision(Controller.java:691)
at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:235)
at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:134)
Caused by: java.io.IOException: java.io.IOException: java.lang.IllegalArgumentException: The char '0xc' after 'D:' is not a valid XML character.
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:275)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:801)
at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208)
at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
... 21 more
Exception:
java.lang.IllegalArgumentException: The char '0xc' after 'D:' is not a valid XML character.
at org.apache.axis.components.encoding.UTF8Encoder.writeEncoded(UTF8Encoder.java:81)
at org.apache.axis.encoding.SerializationContext.writeSafeString(SerializationContext.java:1289)
at org.apache.axis.encoding.ser.SimpleSerializer.serialize(SimpleSerializer.java:104)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:734)
at org.apache.axis.encoding.ser.ArraySerializer.serialize(ArraySerializer.java:414)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:734)
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:230)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:734)
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:230)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:801)
at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208)
at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
at org.apache.axis.SOAPPart.getContentLength(SOAPPart.java:229)
at org.apache.axis.Message.getContentLength(Message.java:510)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:371)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.endeca.eac.client.ProvisioningPortSOAPBindingStub.addComponent(ProvisioningPortSOAPBindingStub.java:1068)
at com.endeca.soleng.eac.toolkit.component.Component.setDefinition(Component.java:838)
at com.endeca.soleng.eac.toolkit.component.Component.setDefinition(Component.java:815)
at com.endeca.soleng.eac.toolkit.Controller.provision(Controller.java:691)
at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:235)
at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:134)
Exception:
java.io.IOException: java.lang.IllegalArgumentException: The char '0xc' after 'D:' is not a valid XML character.
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:275)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:734)
at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:230)
at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1504)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:980)
at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:801)
at org.apache.axis.message.RPCParam.serialize(RPCParam.java:208)
at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478)
at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
at org.apache.axis.SOAPPart.getContentLength(SOAPPart.java:229)
at org.apache.axis.Message.getContentLength(Message.java:510)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:371)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.endeca.eac.client.ProvisioningPortSOAPBindingStub.addComponent(ProvisioningPortSOAPBindingStub.java:1068)
at com.endeca.soleng.eac.toolkit.component.Component.setDefinition(Component.java:838)
at com.endeca.soleng.eac.toolkit.component.Component.setDefinition(Component.java:815)
at com.endeca.soleng.eac.toolkit.Controller.provision(Controller.java:691)
at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:235)
at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:134)
[03.22.13 16:13:50] SEVERE: Caught an exception while checking provisioning.
Caused by com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.component.Component setDefinition - Caught exception while setting component definition.
Caused by org.apache.axis.AxisFault
org.apache.axis.AxisFault makeFault - ; nested exception is:
java.io.IOException: java.io.IOException: java.lang.IllegalArgumentException: The char '0xc' after 'D:' is not a valid XML character.
Caused by java.io.IOException
org.apache.axis.encoding.ser.BeanSerializer serialize - java.io.IOException: java.lang.IllegalArgumentException: The char '0xc' after 'D:' is not a valid XML character.
Failed to setup EAC application.
D:\folders\installations\endeca\apps\CRS\control>
Problem is with AppConfig.xml file, check ConfigurationGeneratorForge component configuration. Path defined might be wrong.
Please provide the configuration here to provide more help.
If you are asking questions about Guided Search, you might have better luck if you ask questions in Technical Questions
-Srikanth
Similar Messages
-
If image file not exist in image path crystal report not open and give me exception error problem
Hi guys my code below show pictures for all employees
code is working but i have proplem
if image not exist in path
crystal report not open and give me exception error image file not exist in path
although the employee no found in database but if image not exist in path when loop crystal report will not open
how to ignore image files not exist in path and open report this is actually what i need
my code below as following
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
foreach (DataRow dr in dt.Rows)
FileStream fs = null;
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dr["Image"] = imgbyte;
fs.Dispose();
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();
and exception error as belowFirst: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
Second : Drag And drop this image Filed Where I want.
private void LoadReport()
frmCheckWeigher rpt = new frmCheckWeigher();
CryRe_DailyBatch report = new CryRe_DailyBatch();
DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
DataTable dt = GetImageRow(table, "Footer.Jpg");
report.SetDataSource(dt);
crv1.ReportSource = report;
crv1.Refresh();
By this Function I merge My Image data into dataTable
private DataTable GetImageRow(DataTable dt, string ImageName)
try
FileStream fs;
BinaryReader br;
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
else
// if photo does not exist show the nophoto.jpg file
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
// initialise the binary reader from file streamobject
br = new BinaryReader(fs);
// define the byte array of filelength
byte[] imgbyte = new byte[fs.Length + 1];
// read the bytes from the binary reader
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dt.Rows[0]["Image"] = imgbyte;
br.Close();
// close the binary reader
fs.Close();
// close the file stream
catch (Exception ex)
// error handling
MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
return dt;
// Return Datatable After Image Row Insertion
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
Interaction Record cannot be displayed, instead it gives an exception error
Hi Folks,
In the Web IC, when I click on "Interaction Record" in the Navigation bar, the page is not displayed, instead it gives an exception error:
Component ICCMP_BT_INR cannot be displayed
An exception has occurred Exception Class CX_BOL_EXCEPTION - Access Previously Deleted Entity
Method: CL_CRM_BOL_CORE=>GET_TRANSACTION
Source Text Row: 10
Can someone tell me where to correct this situation.
Thanks,
JohnHi,
please check this setting:
SPRO->IMG->Customer Relationship Management->Transactions->Basic Settings->Define Transaction Type
Define 0010 as default for IR.
Denis -
JSPC Compiler gives FileNotFound Exception from command line
I have problem running jspc from command line
From the browser, the jsp pages compile fine.
I have tested this on NT 4.0 and on HP UX 10.0 with Weblogic Server
4.5.1 and SP 9.
The command I typed in as follows:
$java weblogic.jspc -d /opt/b2berp/jspclassfiles/ - docroot
/opt/b2berp/web -keepgenerated true -classpath
/opt/jdk/1.2.2/lib/classes.zip:/opt/weblogic/weblogicaux.jar:/opt/b2berp/lib
I get the following exception:
I checked the file is in PATH and I am also specifying the absolute path
and filename.
My document directory is /opt/b2berp/web/auctions/
All of my jsp pages are under /opt/b2berp/web
This is also my web folder.
Gives error unable to find file
(FileNotFoundException)
Does anyone know what is going on.
Rauf
Hi,
did you place setWLSEnv in your path ?
----Anilkumar kari -
Java code runs normally through Eclipse but gives Encoding error thru cmd
I am executing the following query given below through Eclipse and cmd in Windows NT enviroment.
Statement stBMS = ConBMS.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
String myQuery = "SELECT AL1.APPL_NM, AL1.DATA_CAT_CD, AL1.GEO_NM, AL1.CTRY_CD, AL1.CMPNY_CD, AL1.JOB_NM, AL1.JOB_RUN_TMS, AL1.JOB_CMPLTN_IND FROM BMS.IW_CONTRO AL1 WHERE (AL1.APPL_NM='BCSDM ' AND AL1.DATA_CAT_CD='CURRLBR ' AND DATE(AL1.JOB_RUN_TMS) >= CURRENT DATE AND AL1.JOB_CMPLTN_IND='Y')";
ResultSet rsBMS = stBMS.executeQuery(myQuery);It runs normally through Eclipse but when i run it thru cmd i get the following error:-
Exception:Encoding not supported!! DB2ConnectionCorrelator: G9339865.ND54.
01F9C9142526encoding not supported!! DB2ConnectionCorrelator: G9339865.ND54.01F
9C9142526
com.ibm.db2.jcc.b.DisconnectException: encoding not supported!! DB2ConnectionCo
rrelator: G9339865.ND54.01F9C9142526Like most IDEs JBuilder too can be configured to not only use several compilers (in fact it can use a lot more than can Eclipse, basically any compiler you want it too rather than just a few built-in ones) and can also be set to accept different language compliance settings for each of them.
So even if your teacher has a 1.5 compiler installed it doesn't mean JBuilder will use it (it has to be told to use it) nor that his project settings will use 1.5 language compliance.
If he has a version older than JB 2005 he won't get syntax highlighting and things like that for 1.5 whatever he does, and won't get 1.5 level language features either (as those versions predate 1.5). He can plug in the 1.5 compiler but the IDE will reject the new language features because it simply doesn't recognise them.
Pre 3.1 Eclipse versions do the same. -
Java Compiler gives "Runtime" Exception, hahaha
What wrong with it. Some Java compiler versions give error, others may not but I am not sure what is the maximum no. of dimensions a java array can take. The compiler, while compiling, threw an exception and requested to report the bug at java site,, haha
String [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] myArray;
Regards,
Tayra Keya Banay Ga KaaliaYes, you are right. It throws an Stack Overflow exception, but... WILL EVER SOMEONE NEED AN ARRAY THAT LONG?. Maybe the developer make their languages to some "reasonable" limits.
CLOPHER. -
Why DBMS_LOB.CONVERTTOBLOB gives me exception?
Hi, guys:
I have a task to implement a download link in apex to download RTF file. I have finished the APEX part, however, I got the problem in the PL/SQl part. Here is my code:
procedure downloadTest is
strLetter clob;
strLetter_len number;
v_mime varchar2(48) := 'application/msword';
v_blob BLOB;
v_blob_offset integer;
v_clob_offset integer;
v_blob_csid integer:=DBMS_LOB.DEFAULT_CSID;
v_lang_context integer:=DBMS_LOB.DEFAULT_LANG_CTX;
v_warning integer;
l_server sor_email_config.server%type;
l_sender sor_email_config.sender%type;
error_message varchar2(500);
begin
strLetter:='Test if this file downloadable!';
--strLetter_len:=DBMS_LOB.GETLENGTH(strLetter);
strLetter_len:=DBMS_LOB.LOBMAXSIZE;
v_blob_offset:=1;
v_clob_offset:=1;
v_blob:=null;
DBMS_LOB.CONVERTTOBLOB(v_blob, strLetter, strLetter_len, v_blob_offset, v_clob_offset, v_blob_csid, v_lang_context, v_warning);
OWA_UTIL.mime_header (NVL (v_mime, 'application/pdf'), FALSE);
HTP.p ('Content-length: ' || strLetter_len);
OWA_UTIL.http_header_close;
WPG_DOCLOAD.download_file (v_blob);
exception
WHEN OTHERS THEN
error_message:=substr(SQLERRM, 1, 400);
raise_application_error(SOR_ERROR_CONSTANTS_PKG.errnum_GENERAL, 'SOR_COMPLIANCE_ADMIN.downloadTest when generating document '||SOR_ERROR_CONSTANTS_PKG.errmsg_GENERAL||error_message);
end downloadTest;however, I got exception as follows:
ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275 for Execute PL/SQL Code.
I know the problem occurs during DBMS_LOB.CONVERTTOBLOB. Could anyone give me a hint about this problem?
Thanks a lot!
Sam
Edited by: lxiscas on May 15, 2013 10:09 AMThank you for all help you guys provided! I finally made it. It looks APEX 4.1/11GR2 conflicts with wpg_docload.download_file, I have to raise APEX internal exception by calling apex_application.stop_apex_engine, and call the download process in a application process. check Blob download via wpg_docload is not working
for anyone's convenience:
procedure downloadTest is
strLetter clob;
strLetter_len number;
v_mime varchar2(48) := 'application/msword';
--v_mime varchar2(48);
v_blob BLOB;
v_file_name varchar2(100);
v_length number;
v_blob_offset integer;
v_clob_offset integer;
v_blob_csid integer:=DBMS_LOB.DEFAULT_CSID;
v_lang_context integer:=DBMS_LOB.DEFAULT_LANG_CTX;
v_warning integer;
l_server sor_email_config.server%type;
l_sender sor_email_config.sender%type;
error_message varchar2(500);
begin
strLetter:='Test if this file downloadable!';
--strLetter_len:=DBMS_LOB.GETLENGTH(strLetter);
strLetter_len:=DBMS_LOB.LOBMAXSIZE;
v_blob_offset:=1;
v_clob_offset:=1;
DBMS_LOB.CREATETEMPORARY(v_blob, true);
DBMS_LOB.CONVERTTOBLOB(v_blob, strLetter, strLetter_len, v_blob_offset, v_clob_offset, v_blob_csid, v_lang_context, v_warning);
OWA_UTIL.mime_header (NVL (v_mime, 'application/pdf'), FALSE);
HTP.p ('Content-length: ' || strLetter_len);
htp.p( 'Content-Disposition: filename="test"' );
OWA_UTIL.http_header_close;
-- download the BLOB
wpg_docload.download_file( v_blob );
apex_application.stop_apex_engine;
exception
WHEN OTHERS THEN
/*error_message:=substr(SQLERRM, 1, 400);
raise_application_error(SOR_ERROR_CONSTANTS_PKG.errnum_GENERAL, 'SOR_COMPLIANCE_ADMIN.downloadTest when generating document '||SOR_ERROR_CONSTANTS_PKG.errmsg_GENERAL||error_message);*/
HTP.htmlopen;
HTP.headopen;
HTP.title('File Downloaded');
HTP.headclose;
HTP.bodyopen;
HTP.header(1, 'Download Status');
HTP.print(SQLERRM);
HTP.bodyclose;
HTP.htmlclose;
end downloadTest;Thank you again for your help!
Sam
Edited by: lxiscas on May 17, 2013 6:52 AM -
Is there a way to give Sandbox exceptions to core applications?
Due to the sandboxing of the Contacts application functionality such as click-to-dial scripts no longer work. Is there a way to give Contacts an exception allowing it to give commands to another application?
No, at the moment ebooks bought from Apple cannot be gifted - from http://support.apple.com/kb/HT4059 :
No, you cannot gift a book in the iBookstore at this time -
Osgi workflowprocess gives classnotfound exception when osgi bundle is activated
I did create an osgi service that extends workflowprocess interrface using eclipse. I install the bundle that contains this service and then deploy and activate the bundle in day cq. However, on activation I receive an error stating that my class is not found. Please note that both this service and the referenced service(twitterservice that I created) gets registered and the bundle is activated, however, its unable to find the class SendMessageProcessAction on the activation of the bundle. Hope someone could assist.
POST /system/console/bundles/246 HTTP/1.1] com.day.twitter.workflow [com.day.twitter.service.impl.SendMessageProcessAction] Error during instantiation of the implementation object (java.lang.ClassNotFoundException: com.day.twitter.service.impl.SendMessageProcessAction not found by com.day.twitter.workflow [246]) java.lang.ClassNotFoundException: com.day.twitter.service.impl.SendMessageProcessAction not found by com.day.twitter.workflow [246]
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787 )
at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
package com.day.twitter.service.impl;
import javax.jcr.RepositoryException;
import javax.jcr.Session;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Properties;
import org.apache.felix.scr.annotations.Property;
import org.apache.felix.scr.annotations.Reference;
import org.apache.felix.scr.annotations.Service;
import org.osgi.framework.Constants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.day.cq.workflow.WorkflowException;
import com.day.cq.workflow.WorkflowSession;
import com.day.cq.workflow.exec.WorkItem;
import com.day.cq.workflow.exec.WorkflowData;
import com.day.cq.workflow.exec.WorkflowProcess;
import com.day.cq.workflow.metadata.MetaDataMap;
import com.day.twitter.service.SendMessageProcess;
import com.day.twitter.service.TwitterService;
@Component
@Service
@Properties({
@Property(name = Constants.SERVICE_DESCRIPTION, value = " An example of Social Publish Implementation"),
@Property(name = Constants.SERVICE_VENDOR, value = "RIM POC"),
@Property(name = "process.label", value = "RIM POC Social Publish")
public class SendMessageProcessAction implements WorkflowProcess{
@Reference
private TwitterService twitterService;
public TwitterService getTwitterService() {
return twitterService;
public void setTwitterService(TwitterService twitterService) {
this.twitterService = twitterService;
* @scr.reference
private static final String TYPE_JCR_PATH = "JCR_PATH";
private final Logger logger = LoggerFactory.getLogger(this.getClass()
.getName());
private final Logger logger1 = LoggerFactory.getLogger(SendMessageProcessAction.class);
public void execute(WorkItem workItem, WorkflowSession workflowSession,MetaDataMap args)
throws WorkflowException {
final Session session = workflowSession.getSession();
final WorkflowData data = workItem.getWorkflowData();
logger.info("TEST VIBHOR!!");
logger1.info("TEST VIBHOR BHATIA!!");
String path = null;
String type = data.getPayloadType();
if (type.equals(TYPE_JCR_PATH) && data.getPayload() != null) {
String payloadData = (String) data.getPayload();
try {
if (session.itemExists(payloadData)) {
path = payloadData;
} catch (RepositoryException e) {
// TODO Auto-generated catch block
logger.error("Exception - Check repository for Payload data path");
e.printStackTrace();
logger.info("arguments");
String msg = "CQ5 workflow event";
// is there a message?
String argument = args.get("PROCESS_ARGS", "default value");
boolean equal = argument.equals("argument1");
if(equal){
String recipient = argument.toString();
sendDirectMessageOnTwitter(recipient, msg, path);
} else {
logger
.error("for sending a DM on Twitter (make sure Twitter allows you to DM that account): dm,(recipient id)");
// return "Check config - error";
private void sendDirectMessageOnTwitter(String recipient, String msg, String path) {
getTwitterService().sendDirectMessage(recipient, msg + ", path: " + path);<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.0.1</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-Name>cq-core bundle</Bundle-Name>
<Export-Package>twitter4j.*</Export-Package>
<Import-Package>
!twitter4j.internal.http.alternative,
!org.slf4j.impl,com.day.*,*
</Import-Package>
<Private-Package>com.day.twitter</Private-Package>
</instructions>
</configuration>
</plugin>
Bnd-LastModified: 1334862237167
Build-Jdk: 1.6.0_21
Built-By: bvibor
Bundle-ManifestVersion: 2
Bundle-Name: cq-core bundle
Bundle-SymbolicName: com.day.twitter.workflow
Bundle-Version: 1.0.0
Created-By: Apache Maven Bundle Plugin
Export-Package: twitter4j.internal.util, twitter4j.internal.http; uses:="twitter4j, twitter4j.internal.logging, twitter4j.internal.util, twitter4j.http, twitter4j.conf, javax.xml.parsers, twitter4j.internal.org.json, org.w3c.dom, org.xml.sax", twitter4j; uses:="twitter4j.internal.org.json, twitter4j.internal.http, twitter4j.api, twitter4j.http, twitter4j.internal.async, twitter4j.conf, twitter4j.internal.logging", twitter4j.internal.org.json, twitter4j.api; uses:=twitter4j, twitter4j.http; uses:="twitter4j.internal.http, twitter4j, twitter4j.conf, javax.crypto.spec, javax.crypto, twitter4j.internal.logging", twitter4j.internal.async, twitter4j.conf; uses:="twitter4j.internal.http, twitter4j.http, twitter4j.internal.async, twitter4j", twitter4j.internal.logging; uses:="org.apache.commons.logging, org.apache.log4j, org.slf4j, twitter4j.conf", twitter4j.util; uses:="twitter4j.internal.http, twitter4j, twitter4j.internal.org.json, twitter4j.http"
Ignore-Package: org.slf4j.impl, twitter4j.internal.http.alternative
Import-Package: javax.crypto, javax.crypto.spec, javax.xml.parsers, org.apache.commons.logging, org.apache.log4j, org.osgi.framework; version="1.4", org.slf4j; version="1.5", org.w3c.dom, org.xml.sax, twitter4j, twitter4j.api, twitter4j.conf, twitter4j.http, twitter4j.internal.async, twitter4j.internal.http, twitter4j.internal.logging, twitter4j.internal.org.json, twitter4j.internal.util, twitter4j.util
Manifest-Version: 1.0
Service-Component: OSGI-INF/components.xml
Tool: Bnd-0.0.357 -
Amazon S3 Organizer add-on gives an exception error when downloading: "Too many arguments"
When I try to download any file from the S3 server to my PC, the above exception error comes up. "[Exception... "Not enough arguments [nslWebBrowserPersis.saveURI]" nsresult: 0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location "JS frame......" (much more that is not copied here). Interestingly, if I try to download a bucket, it will create a folder on the PC but it hangs on the files inside. I have uninstalled and reinstalled Firefox as well as the add-on S3 Firefox Add-on 0.7. Doesn't help.
Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift><br> ''(Mac Options)'' ''' key, and then starting Firefox. Is the problem still there?
Contact tech support for that program for help. -
CLOB.createTemporary gives Nullpointer Exception
Hello,
I'm trying to create a temporary clob in my java code, but when I run the program I get the following exception.
java.lang.NullPointerException
at oracle.sql.LobPlsqlUtil.plsql_createTemporaryLob(LobPlsqlUtil.java:1354)
at oracle.jdbc.dbaccess.DBAccess.createTemporaryLob(DBAccess.java:997)
at oracle.sql.LobDBAccessImpl.createTemporaryClob(LobDBAccessImpl.java:240)
at oracle.sql.CLOB.createTemporary(CLOB.java:527)
at org.tennet.utils.bc4j.ApplicationModuleImpl.createClob(ApplicationModuleImpl.java:278)
at org.tennet.utils.bc4j.ApplicationModuleImpl.createClobDomain(ApplicationModuleImpl.java:299)
at org.tennet.nevada.loader.ResultLoader.executeProcedure(ResultLoader.java:243)
at org.tennet.nevada.loader.ResultLoader.process(ResultLoader.java:77)
at org.tennet.nevada.broker.processor.RequestProcessor.processResult(RequestProcessor.java:374)
at org.tennet.nevada.broker.processor.LoadFlowVAProcessor.process(LoadFlowVAProcessor.java:132)
at org.tennet.nevada.broker.RequestHandler.processRequest(RequestHandler.java:289)
at org.tennet.nevada.broker.RequestHandler.run(RequestHandler.java:137)
This error started when I began using Data Sources instate of direct JDBC Connections.
The problem is there is no source available for this class so I cant look what is causing the Nullpointer Exception.
Can someone tell me what is causing this problem?
Regards,
Dennis LabordusHi Dennis,
I have had the same problem as this. I am going to get onto Oracle via Metalink about it.
However - there is a work around.
We are using OC4J with its data sources.
There is a method on the OC4J Connection called getCoreConnection(Connection). This returns the underlying Oracle connection.
If you then pass this underlying oracle connection to CLOB.createTemporary() it works.
We had to use reflection to call the method as I couldn't seem to cast it statically.
Paul McHugh
* getOracleConnection
* Derive oracle connection from DataSource connection
private static OracleConnection getOracleConnection (Connection connection) throws SQLException
System.err.println ("UserTypeImpl.getOracleConnection: " + connection);
* Check for an existing oracle connection
* This should be the case in a database deployment
if (connection instanceof oracle.jdbc.driver.OracleConnection)
System.err.println (" Connection is already the base Oracle Connection" + connection);
return (OracleConnection) connection;
* Check for an OC4J deployment
else
System.err.println (" Searching for core connection ...");
Object conObj = (Object) connection;
Class conclass = conObj.getClass();
OracleConnection coreCon = null;
Method meth = null;
// Locate method getCoreConnection on Orion data source
try {
Class[] parameterTypes = new Class[] {java.sql.Connection.class};
meth = conclass.getMethod("getCoreConnection", parameterTypes);
} catch (NoSuchMethodException e)
e.printStackTrace();
throw new SQLException ("UserTypeImpl.getOracleConnection: No such method: getCoreConnection: " + e);
// Invoke method getCoreConnection on orion data source
try {
Object[] args = new Object[] {connection};
coreCon = (OracleConnection) meth.invoke(conObj, args);
catch (InvocationTargetException e)
e.printStackTrace();
throw new SQLException ("UserTypeImpl.getOracleConnection: Invoke: getCoreConnection: " + e);
catch (IllegalAccessException e)
e.printStackTrace();
throw new SQLException ("UserTypeImpl.getOracleConnection: Invoke: getCoreConnection: " + e);
if (coreCon != null)
System.err.println (" Core connection found: " + coreCon);
return coreCon;
} else
System.err.println (" Unable to locate core connection.");
throw new SQLException ("UserTypeImpl.getOracleConnection: Unable to locate core oracle connection."); -
IASAT gives OutOfMemory exception when adding servers
Im trying to add a new server to the Admin Tool using File\New Server
dialog. If I enter the correct info for my server I get a
java.lang.OutOfMememory exception. The box Im using is a fresh
install of NT4 Server SP5 with Option Pack, IE5 and Oracle8i. I tried
turning off the JIT and setting max heap size in the JavaArgs
registry key for iAS6.0 but still the same problem. So far I can only
find references to problems running iASAT on Solaris.
Any help much appreciated. Its got to be something stupid and obvious
that I've missed.I know this forum isnt really the right place to ask this question as
strictly it isnt a JATO related problem, but I need to sort it before
starting the upgrade process.
--- In [email protected], steve.archer@f... wrote:
Im trying to add a new server to the Admin Tool using File\New Server
dialog. If I enter the correct info for my server I get a
java.lang.OutOfMememory exception. The box Im using is a fresh
install of NT4 Server SP5 with Option Pack, IE5 and Oracle8i. I tried
turning off the JIT and setting max heap size in the JavaArgs
registry key for iAS6.0 but still the same problem. So far I can only
find references to problems running iASAT on Solaris.
Any help much appreciated. Its got to be something stupid and obvious
that I've missed. -
Wwsec_api.add_user_to_list gives OTHERS Exception
when i try to add a few users to a list by using
wwsec_api.add_user_to_list
i am able to add a few users. for others i am getting an exception with SQLCODE=1 and SQLCODE=User Defined Exception
this exception occurs only for a few users.Yes, you are experiencing an access violation.
There are obvious security risks with allowing a non-owner to add
users to a list. People could then add themselves to the
privileged groups. -
JDBC-ODBC BRIDGE gives classcast exception
I want to use your XMLSQL Utility to exchange data between XML
and database( Access database ) through sun's jdbc-odbc bridge,
but got the following run time error:
oracle.xml.sql.OracleXMLSQLException:
java.lang.ClassCastException:While the SQL-to-XML functionality of XSU works with any JDBC driver, the 1.2.1 (current release) of XSU has the restriction that the insert/update/delete functionality only works with the Oracle JDBC driver.
We are testing the next version of XSU in house that fixes this limitation to allow it to support full functionality against any JDBC driver. We expect this release to be posted by next Friday (Oct 20th). -
If there is any way to give anyone except the object owner rights to rename a table
HEllo
Want to know if there is any way we can rename a table who is not the object ownerThe documentation on sp_rename says that the table owner and system administrators have permission to execute it. So I think it would be possible to do so using the "grant hidden sa_role" method documented at Rob Verschoor's website http://www.sypron.nl.
See Granting SA rights to non-SA users
Maybe you are looking for
-
Bad Start - Signal Help?
I was a Sprint customer but sick of Commodore 64 dialup modem speeds so decided to switch to Verizon when the 5S came out. The map shows great coverage in my area, but to be sure I chatted with CSR and they confirmed I am good. I woke up at 3am on re
-
Hello. I want to connect another monitor to my Mac Mini to use the 2 at the same time and move documents from one to another. Can any one give me some idea how to connrect them to the mini as there is only one out put for a monitor. Thanks for lookin
-
Extract Win8 serial number from Recovery DVD
Hello, I recently had a failure of hard disk and had to install a new one. Unfortunately, getting a recovery DVD from HP took time so i started using a trail version of Windows 8. Finally my Recovery DVD arrived from HP and now i am trying to avoid i
-
Structure of the context for declaring internal table
Hi, Can we use the structure of the context for declaring the internal ? -Sid
-
Hi gurus, I need to test my query..Can anyone explain me the steps to test a query.... Thanks S ram