Java.lang.ClassCastException while creating array descriptor
( This post was moved from SQL / PLSQL forum to here )
Hi everyone, i used to pass string array from java to plsql. I wrote a java source, then i load db with loadjava. And i wrote java spec. Then i run the function but i am getting this error :
java.lang.ClassCastException
at oracle.jdbc.driver.PhysicalConnection.putDescriptor(PhysicalConnection.java:4921)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:208)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:175)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:158)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:125)
at SplitterOracle3.tokens2(SplitterOracle3.java:29)
My Java Source is :
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.sql.DataSource;
import oracle.sql.*;
import oracle.jdbc.driver.OracleConnection;
import oracle.jdbc.driver.OracleDriver;
public class SplitterOracle3 {
public static oracle.sql.ARRAY tokens2(String str,String delim)
try
//Class.forName("oracle.jdbc.driver.OracleDriver");
//DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
//Connection conn = new OracleDriver().defaultConnection( );
OracleDriver ora = new OracleDriver();
OracleConnection conn = (OracleConnection) ora.defaultConnection();
//ArrayDescriptor arrayDesc = ArrayDescriptor.createDescriptor("MY_ARRAY", ((conn).getRealConnection());
//Connection conn = DriverManager.getConnection("jdbc:default:connection:");
//Connection conn = ((DelegatingConnection) getDataSource().getConnection()).getInnermostDelegate();
// get an initial context
//OracleConnection oracleConnection = (OracleConnection)WSJdbcUtil.getNativeConnection((WSJdbcConnection) wsConn);
ArrayDescriptor arraydesc =
ArrayDescriptor.createDescriptor ("ARR_VARCHAR_100", conn);
String strarr[] = new String[47];
strarr[0]="ahmet";
strarr[1]="mehmet";
int curIndex = 0;
int nextIndex = 0;
boolean nextIsLastToken = false;
int i=0;
while (true)
nextIndex = str.indexOf(delim, curIndex);
if (nextIsLastToken)
//return false;
break;
if (nextIndex == -1)
nextIsLastToken=true;
nextIndex = str.length();
strarr[i] = str.substring(curIndex, nextIndex);
curIndex = nextIndex + 1;
i++;
ARRAY dirArray = new ARRAY(arraydesc, conn, strarr);
return dirArray;*/
catch(Exception ex)
System.err.println(ex.getMessage());
ex.printStackTrace();
return null;
public static void main(String[] args)
String str="2000,2,123553168,1,10,64895,65535,27662,64860,64895,65535,27662,64860,0,,,,,,0,0,2491039806,,,,,,,,,0,0,1,,2491039106,,,,,,,,,,,,";
String strarr[] = new String[47];
long l1,l2;
int j=0;
l1 = System.currentTimeMillis();
for ( int i=0; i<20000000; i++)
strarr = tokens2(str,",");
l2 = System.currentTimeMillis();
System.out.println("Fark :"+ (l2-l1));
The line has "ArrayDescriptor.createDescriptor ("ARR_VARCHAR_100", conn);" causes this error.
java.lang.ClassCastException
at oracle.jdbc.driver.PhysicalConnection.putDescriptor(PhysicalConnection.java:4921)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:208)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:175)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:158)
at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:125)
at SplitterOracle3.tokens2(SplitterOracle3.java:29)
But i could not find the solution. Can you help me?
Thanks for responses.
Hi,
Did you try my suggestion from Re: java.lang.ClassCastException while create array descriptor
Try replacing
oracle.jdbc.driver.OracleConnectionwith
oracle.jdbc.OracleConnectionRegards
Peter
Similar Messages
-
Java.lang.NullPointerException while creating Communication Channel
Dear friends
First of all, I have already looked at many existing postings with java Null Pointer problems and also looked at the links that other users had suggested. It hasn't helped and therefore I am posting this question here.
I am trying to create Communication Channel using Integration Scenario Configurator.
I get to a stage where it gives a java.lang.NullPointerException error + an InternatlError. Here is the log of internal error. However, if i Continue ignoring the error message, it creates two communication channels that I wanted (Sender Soapadapter and Receiver RFC adapter), but the values in these adapters will not be completely filled.
Has anybody seen this problem before. We are using the latest and gratest SAP that is available in the market.
(PLEASE SCROLL DOWN TO SEE THE ERROR MESSAGES)
Thanks
Ram
#17 13:33:42 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.utilxi.swing.framework.FrameworkException: com.sap.aii.utilxi.swing.framework.FrameworkException: Internal problem occurred
at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.init(ExceptionDialog.java:116)
at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.<init>(ExceptionDialog.java:93)
at com.sap.aii.utilxi.swing.toolkit.Guitilities.showExceptionDialog(Guitilities.java:1137)
at com.sap.aii.ibdir.gui.scenario.generator.dialogs.CreateChannelAgent$CreateChannelWizardController.processPageEvent(CreateChannelAgent.java:500)
at com.sap.aii.utilxi.swing.framework.wizard.BasicWizard.firePageEvent(BasicWizard.java:64)
at com.sap.aii.utilxi.swing.framework.wizard.BasicWizard.finish(BasicWizard.java:202)
at com.sap.aii.utilxi.swing.framework.wizard.FinishAction.actionPerformed(FinishAction.java:39)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at com.sap.aii.utilxi.swing.toolkit.BaseDialog.show(BaseDialog.java:320)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog.showDialog(BasicWizardDialog.java:78)
at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog.showDialog(BasicWizardDialog.java:82)
at com.sap.aii.ibdir.gui.scenario.generator.dialogs.CreateChannelAgent$WizardDialog.startWizard(CreateChannelAgent.java:797)
at com.sap.aii.ibdir.gui.scenario.generator.dialogs.CreateChannelAgent$CreateChannelWithTemplateAction.actionPerformed(CreateChannelAgent.java:340)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:833)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at com.sap.aii.utilxi.swing.toolkit.BaseDialog.show(BaseDialog.java:320)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at com.sap.aii.utilxi.swing.framework.ModalDialog.showDialog(ModalDialog.java:65)
at com.sap.aii.ibdir.gui.scenario.generator.dialogs.ConnectionConfigurator.showDialog(ConnectionConfigurator.java:202)
at com.sap.aii.ibdir.gui.scenario.UsabilityPanel$createConfigurateConnectionListener.mouseClicked(UsabilityPanel.java:238)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#16 13:33:42 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.utilxi.swing.framework.FrameworkException: Internal problem occurred
#15 13:33:41 [AWT-EventQueue-0] FINE AutoLog.created.java.lang.NullPointerException: java.lang.NullPointerException
at com.sap.aii.ib.gui.cpa.generic.GenericGuiHandler.getMetaData(GenericGuiHandler.java:75)
at com.sap.aii.ib.gui.cpa.generic.GenericGuiHandler.getTransportProtocols(GenericGuiHandler.java:166)
at com.sap.aii.ibdir.gui.cpa.ChannelGenerator.getDefaultGenericChannel(ChannelGenerator.java:194)
at com.sap.aii.ibdir.gui.cpa.ChannelGenerator.getDefaultChannel(ChannelGenerator.java:179)
at com.sap.aii.ibdir.gui.scenario.generator.dialogs.CreateChannelAgent$CreateChannelWizardController.processPageEvent(CreateChannelAgent.java:497)
at com.sap.aii.utilxi.swing.framework.wizard.BasicWizard.firePageEvent(BasicWizard.java:64)
at com.sap.aii.utilxi.swing.framework.wizard.BasicWizard.finish(BasicWizard.java:202)
at com.sap.aii.utilxi.swing.framework.wizard.FinishAction.actionPerformed(FinishAction.java:39)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at com.sap.aii.utilxi.swing.toolkit.BaseDialog.show(BaseDialog.java:320)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog.showDialog(BasicWizardDialog.java:78)
at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog.showDialog(BasicWizardDialog.java:82)
at com.sap.aii.ibdir.gui.scenario.generator.dialogs.CreateChannelAgent$WizardDialog.startWizard(CreateChannelAgent.java:797)
at com.sap.aii.ibdir.gui.scenario.generator.dialogs.CreateChannelAgent$CreateChannelWithTemplateAction.actionPerformed(CreateChannelAgent.java:340)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:833)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at com.sap.aii.utilxi.swing.toolkit.BaseDialog.show(BaseDialog.java:320)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at com.sap.aii.utilxi.swing.framework.ModalDialog.showDialog(ModalDialog.java:65)
at com.sap.aii.ibdir.gui.scenario.generator.dialogs.ConnectionConfigurator.showDialog(ConnectionConfigurator.java:202)
at com.sap.aii.ibdir.gui.scenario.UsabilityPanel$createConfigurateConnectionListener.mouseClicked(UsabilityPanel.java:238)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#14 13:33:41 [AWT-EventQueue-0] DEBUG AutoLog.created.java.lang.NullPointerException: null
#13 13:33:41 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable
Thrown:
java.lang.NullPointerException: null
at com.sap.aii.ib.gui.cpa.generic.GenericGuiHandler.getMetaData(GenericGuiHandler.java:75)
at com.sap.aii.ib.gui.cpa.generic.GenericGuiHandler.getTransportProtocols(GenericGuiHandler.java:166)
at com.sap.aii.ibdir.gui.cpa.ChannelGenerator.getDefaultGenericChannel(ChannelGenerator.java:194)
at com.sap.aii.ibdir.gui.cpa.ChannelGenerator.getDefaultChannel(ChannelGenerator.java:179)
at com.sap.aii.ibdir.gui.scenario.generator.dialogs.CreateChannelAgent$CreateChannelWizardController.processPageEvent(CreateChannelAgent.java:497)
at com.sap.aii.utilxi.swing.framework.wizard.BasicWizard.firePageEvent(BasicWizard.java:64)
at com.sap.aii.utilxi.swing.framework.wizard.BasicWizard.finish(BasicWizard.java:202)
at com.sap.aii.utilxi.swing.framework.wizard.FinishAction.actionPerformed(FinishAction.java:39)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at com.sap.aii.utilxi.swing.toolkit.BaseDialog.show(BaseDialog.java:320)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog.showDialog(BasicWizardDialog.java:78)
at com.sap.aii.utilxi.swing.framework.wizard.BasicWizardDialog.showDialog(BasicWizardDialog.java:82)
at com.sap.aii.ibdir.gui.scenario.generator.dialogs.CreateChannelAgent$WizardDialog.startWizard(CreateChannelAgent.java:797)
at com.sap.aii.ibdir.gui.scenario.generator.dialogs.CreateChannelAgent$CreateChannelWithTemplateAction.actionPerformed(CreateChannelAgent.java:340)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:833)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at com.sap.aii.utilxi.swing.toolkit.BaseDialog.show(BaseDialog.java:320)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at com.sap.aii.utilxi.swing.framework.ModalDialog.showDialog(ModalDialog.java:65)
at com.sap.aii.ibdir.gui.scenario.generator.dialogs.ConnectionConfigurator.showDialog(ConnectionConfigurator.java:202)
at com.sap.aii.ibdir.gui.scenario.UsabilityPanel$createConfigurateConnectionListener.mouseClicked(UsabilityPanel.java:238)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#12 13:32:27 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.utilxi.swing.framework.PersistenceException: com.sap.aii.utilxi.swing.framework.PersistenceException: Object Configuration Scenario IS_CustomerSearch not found
at com.sap.aii.ib.gui.editor.XiDocument.load(XiDocument.java:320)
at com.sap.aii.ib.gui.operations.RevertCommand.reloadDocuments(RevertCommand.java:237)
at com.sap.aii.ib.gui.operations.RevertCommand.execute(RevertCommand.java:190)
at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)
at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)
at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:69)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:833)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#11 13:32:27 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.utilxi.swing.framework.PersistenceException: Object Configuration Scenario IS_CustomerSearch not found
#10 13:32:26 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.utilxi.misc.api.BaseRuntimeException: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Invalid key element attribute id "NAMESPACE". Valid values are: .
at com.sap.aii.ib.bom.gen.XiTypeInformation.validateKeyElementAttributeId(XiTypeInformation.java:890)
at com.sap.aii.ib.bom.gen.XiTypeInformation.getKeyElementIndex(XiTypeInformation.java:905)
at com.sap.aii.ib.bom.gen.XiKey.getPosition(XiKey.java:169)
at com.sap.aii.ib.bom.gen.XiKey.getKeyfield(XiKey.java:162)
at com.sap.aii.ib.bom.gen.XiKey.getNamespace(XiKey.java:157)
at com.sap.aii.ib.bom.docu.InternalDocuServiceDefault.getDocuKey(InternalDocuServiceDefault.java:143)
at com.sap.aii.ib.bom.docu.DocuServiceProvider$DocuServiceImpl.getDocuKey(DocuServiceProvider.java:164)
at com.sap.aii.ib.gui.editor.XiDocument.getDocumentationKey(XiDocument.java:892)
at com.sap.aii.ib.gui.editor.XiDocument.getDocumentationDocument(XiDocument.java:879)
at com.sap.aii.ib.gui.misc.ApplicationBase.getDocumentsForLinks(ApplicationBase.java:327)
at com.sap.aii.ib.gui.operations.RevertCommand.execute(RevertCommand.java:186)
at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)
at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)
at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:69)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:833)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#9 13:32:26 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.utilxi.misc.api.BaseRuntimeException: Invalid key element attribute id "NAMESPACE". Valid values are: .
#8 13:31:54 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable
Thrown:
MESSAGE ID: com.sap.aii.ib.core.roa.rb_all.ROA_MOA_NOTCOMPLETED
com.sap.aii.utilxi.misc.api.ResourceException: Attempt to access the 1 requested objects on 1 failed. Detailed information:
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata RFC | http://sap.com/xi/XI/System (3b787a80-35c1-11d6-bbe0-efe50a1145a5) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID 3b787a80-35c1-11d6-bbe0-efe50a1145a5 does not exist
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata RFC | http://sap.com/xi/XI/System (3b787a80-35c1-11d6-bbe0-efe50a1145a5) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID 3b787a80-35c1-11d6-bbe0-efe50a1145a5 does not exist
at com.sap.aii.ib.sbeans.gen.GeneralSessionBean.wrap(GeneralSessionBean.java:156)
at com.sap.aii.ib.sbeans.gen.GeneralSessionBean.wrap(GeneralSessionBean.java:131)
at com.sap.aii.ib.sbeans.misc.MiscServicesBean.getAdapterMetadata(MiscServicesBean.java:242)
at com.sap.aii.ib.sbeans.misc.MiscServicesRemoteObjectImpl10.getAdapterMetadata(MiscServicesRemoteObjectImpl10.java:2028)
at com.sap.aii.ib.sbeans.misc.MiscServicesRemoteObjectImpl10p4_Skel.dispatch(MiscServicesRemoteObjectImpl10p4_Skel.java:285)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Serialized server exceptions:
MESSAGE ID: com.sap.aii.ib.core.roa.rb_all.ROA_MOA_NOTCOMPLETED (serialized)
com.sap.aii.utilxi.misc.api.ResourceException: Attempt to access the 1 requested objects on 1 failed. Detailed information:
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata RFC | http://sap.com/xi/XI/System (3b787a80-35c1-11d6-bbe0-efe50a1145a5) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID 3b787a80-35c1-11d6-bbe0-efe50a1145a5 does not exist
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata RFC | http://sap.com/xi/XI/System (3b787a80-35c1-11d6-bbe0-efe50a1145a5) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID 3b787a80-35c1-11d6-bbe0-efe50a1145a5 does not exist
at com.sap.aii.ib.server.cpa.AdapterMDCache.readObject(AdapterMDCache.java:228)
at com.sap.aii.ib.server.cpa.AdapterMDCache.actualize(AdapterMDCache.java:209)
at com.sap.aii.utilxi.misc.api.LRUMapBasedCache.get(LRUMapBasedCache.java:34)
at com.sap.aii.ib.server.cpa.AdapterMDCache.get(AdapterMDCache.java:171)
at com.sap.aii.utilxi.misc.api.Cache.get(Cache.java:40)
at com.sap.aii.utilxi.misc.api.Cache.get(Cache.java:40)
at com.sap.aii.ib.sbeans.misc.MiscServicesBean.getAdapterMetadata(MiscServicesBean.java:238)
at com.sap.aii.ib.sbeans.misc.MiscServicesRemoteObjectImpl10.getAdapterMetadata(MiscServicesRemoteObjectImpl10.java:2028)
at com.sap.aii.ib.sbeans.misc.MiscServicesRemoteObjectImpl10p4_Skel.dispatch(MiscServicesRemoteObjectImpl10p4_Skel.java:285)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
MESSAGE ID: com.sap.aii.ib.core.roa.rb_all.ROA_MOA_NOTCOMPLETED (serialized)
com.sap.aii.ib.core.roa.RoaMultiObjectAccessException: Attempt to access the 1 requested objects on 1 failed. Detailed information:
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata RFC | http://sap.com/xi/XI/System (3b787a80-35c1-11d6-bbe0-efe50a1145a5) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID 3b787a80-35c1-11d6-bbe0-efe50a1145a5 does not exist
com.sap.aii.ib.core.roa.RoaObjectAccessException: Unable to read object Adapter Metadata RFC | http://sap.com/xi/XI/System (3b787a80-35c1-11d6-bbe0-efe50a1145a5) of type AdapterMetaData from application REPOSITORY on system REPOSITORY. Detailed information: Software component version with GUID 3b787a80-35c1-11d6-bbe0-efe50a1145a5 does not exist
at com.sap.aii.ib.core.roa.RoaMultiObjectAccessException.newObjectAccessNotCompleted(RoaMultiObjectAccessException.java:98)
at com.sap.aii.ib.core.roa.RoaServiceImpl.createObjectArrayFromRoaOutput(RoaServiceImpl.java:317)
at com.sap.aii.ib.core.roa.RoaServiceImpl.readObjectsImpl(RoaServiceImpl.java:231)
at com.sap.aii.ib.core.roa.RoaServiceImpl.readObjects(RoaServiceImpl.java:329)
at com.sap.aii.ib.server.cpa.AdapterMDCache.readObject(AdapterMDCache.java:219)
at com.sap.aii.ib.server.cpa.AdapterMDCache.actualize(AdapterMDCache.java:209)
at com.sap.aii.utilxi.misc.api.LRUMapBasedCache.get(LRUMapBasedCache.java:34)
at com.sap.aii.ib.server.cpa.AdapterMDCache.get(AdapterMDCache.java:171)
at com.sap.aii.utilxi.misc.api.Cache.get(Cache.java:40)
at com.sap.aii.utilxi.misc.api.Cache.get(Cache.java:40)
at com.sap.aii.ib.sbeans.misc.MiscServicesBean.getAdapterMetadata(MiscServicesBean.java:238)
at com.sap.aii.ib.sbeans.misc.MiscServicesRemoteObjectImpl10.getAdapterMetadata(MiscServicesRemoteObjectImpl10.java:2028)
at com.sap.aii.ib.sbeans.misc.MiscServicesRemoteObjectImpl10p4_Skel.dispatch(MiscServicesRemoteObjectImpl10p4_Skel.java:285)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
#7 13:28:46 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "ConfAsstntHelp" is not registered in the service class Type Service - Type Information
at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71)
at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.createEmptyXiItem(InternalXiItemService.java:92)
at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.createEmptyXiItem(XiItemServiceProvider.java:97)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.<init>(InternalXiItemServiceBase.java:38)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.<init>(InternalXiItemServiceBase.java:25)
at com.sap.aii.ibdir.gui.xiitem.DirInternalXiItemService$ForConfAssistantHelp.<init>(DirInternalXiItemService.java:607)
at com.sap.aii.ibdir.gui.applcomp.StartupCodeEntry.localStartup(StartupCodeEntry.java:119)
at com.sap.aii.ibdir.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:73)
at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:209)
at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#6 13:28:46 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "ConfAsstntHelp" is not registered in the service class Type Service - Type Information
#5 13:28:46 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "TypeGroupFolder" is not registered in the service class Type Service - Type Information
at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71)
at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.createEmptyXiItem(InternalXiItemService.java:92)
at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.createEmptyXiItem(XiItemServiceProvider.java:97)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.<init>(InternalXiItemServiceBase.java:38)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.<init>(InternalXiItemServiceBase.java:25)
at com.sap.aii.ibdir.gui.xiitem.DirInternalXiItemService$ForFolder.<init>(DirInternalXiItemService.java:752)
at com.sap.aii.ibdir.gui.applcomp.StartupCodeEntry.localStartup(StartupCodeEntry.java:113)
at com.sap.aii.ibdir.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:73)
at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:209)
at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#4 13:28:46 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "TypeGroupFolder" is not registered in the service class Type Service - Type Information
#3 13:28:46 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "TypeConntestObj" is not registered in the service class Type Service - Type Information
at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71)
at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.createEmptyXiItem(InternalXiItemService.java:92)
at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.createEmptyXiItem(XiItemServiceProvider.java:97)
at com.sap.aii.ib.gui.xiitem.InternalXiItemServiceForNameNamespaceObjects.addType(InternalXiItemServiceForNameNamespaceObjects.java:68)
at com.sap.aii.ib.gui.xiitem.InternalXiItemServiceForNameNamespaceObjects.<init>(InternalXiItemServiceForNameNamespaceObjects.java:55)
at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.guiStartup(StartupCodeEntry.java:151)
at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:108)
at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
at com.sap.aii.ibdir.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:52)
at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:209)
at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#2 13:28:46 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "TypeConntestObj" is not registered in the service class Type Service - Type Information
#1 13:28:46 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "versConflList" is not registered in the service class Type Service - Type Information
at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71)
at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23)
at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.<init>(InternalXiItemServiceBase.java:44)
at com.sap.aii.ib.gui.xiitem.CommonInternalXiItemService$ForVersionConflictList.<init>(CommonInternalXiItemService.java:326)
at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.guiStartup(StartupCodeEntry.java:147)
at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:108)
at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
at com.sap.aii.ibdir.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:52)
at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:209)
at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
#0 13:28:46 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "versConflList" is not registered in the service class Type Service - Type InformationThanks guys for the response..
I checked the IR and the SAP Basis has been added. Here are the details I got.
Name: SAP_BASIS
Version: 700
SWCV: SAP BASIS 7.00
Available Support Packages: 12
Any more suggesions/feedback will be greatly appreciated.
Thanks -
Hello all, I am trying to create a virtual classroom via Adobe Connect 9 Web Services with the code below.
https://XXXXXXXX.adobeconnect.com/api/xml?action=sco-update&type=virtual-classroom&name=My Virtual Classroom&folder-id=1358451232&date-begin=2014-01-02T10:00&date-end=2014-01-02T11:00
And the result below:
<results>
<status code="internal-error">
<exception>java.lang.NullPointerException</exception>
</status>
</results>
What could be the reason of this problem? I need your help.Hi Teomanx
To create a virtual classroom, you have to give type=meeting & icon = virtual-classroom. So the correct syntax is :
https://XXXXXXXX.adobeconnect.com/api/xml?action=sco-update&type=meeting&icon=virtual-clas sroom&name=My Virtual Classroom&folder-id=1358451232&date-begin=2014-01-02T10:00&date-end=2 014-01-02T11:00.
Hope that helps.
Thank you -
I need to create an array descriptor for a type that is defined in a package (Oracle 8.1.6).
If I define the type outside the package I can create the descriptor, otherwise I can't - even if I fully qualify the type with:
USER.PACKAGE.CUSTOMTYPE
or
PACKAGE.CUSTOMTYPE
The JDBC connection is created under the USER account.
Any ideea if this is a bug in JDBC or am I doing something wrong ?
Thanks,
Calin
nullHi,
Did you try my suggestion from Re: java.lang.ClassCastException while create array descriptor
Try replacing
oracle.jdbc.driver.OracleConnectionwith
oracle.jdbc.OracleConnectionRegards
Peter -
Hi,
I get error "Ex.. in processTrxBatch...java.lang.ClassCastException" while doing Miscellaneous Transcation.
In Miscellaneous Transcation, I gave Miscellaneous Recpt(RG Update), Item, Subinventory,Locator, Account and Lot/Serial and save.While saving it's gives error.
Please give the solution for the same.
Thanks
Regards
GSMHi,
I have query, in one of prerequisite Patch 2864765 the details is as below
Patchsets known to include or supersede Patch 2864765
Patch Description Type
6241631 Applications Technology 11i.ATG_PF.H.delta.7 Family Pack
What's above details means.It's means that if patch 6241631 is already applied then you don't have to apply prerequisite Patch 2864765 as it is already included in patch 6241631.
Thanks
Regards
GSM -
Hi All,
I am getting the java.lang.ClassCastException: com.bea.wsrp.producer.descriptor.DefaultPortletDescriptor
while loading a portlet from a portal.
I could see the jar for this class is wsrp-producer.jar.Is this due to a jar issue.I cant debug as it needs the java source files for the wsrp-producer.jar.Can anyone help us where we can get the source java files for the classes in wsrp-producer.jar.
The weblogic server is weblogic-10.3.2
Thanks in Advance
Edited by: user7437632 on Oct 5, 2012 4:55 AMHi All,
I am getting the java.lang.ClassCastException: com.bea.wsrp.producer.descriptor.DefaultPortletDescriptor
while loading a portlet from a portal.
I could see the jar for this class is wsrp-producer.jar.Is this due to a jar issue.I cant debug as it needs the java source files for the wsrp-producer.jar.Can anyone help us where we can get the source java files for the classes in wsrp-producer.jar.
The weblogic server is weblogic-10.3.2
Thanks in Advance
Edited by: user7437632 on Oct 5, 2012 4:55 AM -
Hi friends,
We are in to new development in Oracle ADF and newbie to this technology.
Created .jsf page and in corresponding pagedef, has "ControllerClass" with refering "DummyPagePhaseListener" and we have master-detail relationship using Viewlink(created using a SQL Query and entity based view).
Below exception raised when navigating from one to another record in Master af:table. Any help will be appreciated. Thanks in Advance......
java.lang.ClassCastException: DummyPagePhaseListener cannot be cast to oracle.adf.model.RegionController
at oracle.adf.model.binding.DCBindingContainer.getRegionController(DCBindingContainer.java:5197)
at oracle.adf.model.binding.DCBindingContainer.validate(DCBindingContainer.java:4247)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.validateModelUpdates(PageLifecycleImpl.java:300)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.validateModelUpdates(FacesPageLifecycle.java:70)
at oracle.adf.controller.v2.lifecycle.Lifecycle$6.execute(Lifecycle.java:202)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$600(ADFPhaseListener.java:23)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$3.after(ADFPhaseListener.java:323)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:447)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)Hi timo,
Thanks for ur reply...
we are using unbounded taskflow.
In Controller class(page def file), we refered the class that implements PagePhaseListener
The following override methods has created
public void afterPhase(PagePhaseEvent pagePhaseEvent) {
//In this area we used to read the session object file which is written and sent by another application(application to application navigate).
If session object file exists,will allow the user to navigate into the requested page else will navigate in to login(security aspect).
public void beforePhase(PagePhaseEvent pagePhaseEvent) {
Is we used Controller class wrongly ???
Is there any relationship with region controller???
Mani
[email protected] -
Java.lang.ClassCastException in Servle while using EJB
I m trying to get a ejb instant in a servlet.I am using Blazix EJB server as a EJB contianer and Blazix Web server as servlet container.I get a java.lang.ClassCastException.
I m using Demo bean with DemoHome as home interface and DemoBean as EJB name.
The servlet code contains....
Context initial = getInitialContext();
Object objref = initial.lookup("DemoBean");
DemoHome dhome =(DemoHome)PortableRemoteObject.narrow(objref,DemoHome.class);
demo = dhome.create();
The printStackTrace is as follows
java.lang.ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
at BeanServlet.init(BeanServlet.java:30)
at desisoft.server.servlets.Servlet.init(Servlet.java:52)
at desisoft.server.servlets.Context.getServletInstance(Context.java:1783
at desisoft.server.servlets.Context.getContextInternalDispatcher(Context.java:2583)
at desisoft.server.servlets.Context.getContextDispatcher(Context.java:2402)
at desisoft.server.servlets.Context.getDispatcher(Context.java:2212)
at desisoft.server.common.HttpStream.processRequest(HttpStream.java:617)
at desisoft.server.conn.ServerThread.run(ServerThread.java:335)
So please help me
Regards
PravinI am having a similar issue with stratightforward client code ...
I set properties values
java.naming.provider.url=iiop://officepc:3700
java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory
java.naming.factory.url.pkgs=com.sun.enterprise.naming
in a properties file.
When "Object objref = jndiContext.lookup( resourceId ) "
returns,objref is resolved as a "com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1"
instance. The "resourceId" is a String jndi-name for a Session Bean reference.
When the "javax.rmi.PortableRemoteObject.narrow((java.lang.Object) objref, CartHome.class )"
is called, the stack dumps:
java.lang.ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
Any thoughts? I have tried everything, I think.
HW -
Java.lang.ClassCastException in FOTable while inserting fo:table-row
Hi
Template Builder of in word was throwing error 'java.lang.ClassCastException:oracle.apps.xdo.template.fo.elements.table.FOTable'.This error comes whenever i introduce <fo:table-row> tag.
I am using XML Desktop Pubisher 5.5 Build Version
Please help me out.
Thanks
DarshanSorry for the trouble . I have found out the solution
So this thread can be closed.
Thanks
Darshan -
Java.lang.ClassCastException
My class CDRack is almost ready, but in the last method
sortAlphabetically() there
comes java.lang.ClassCastException. I found in the net
http://java.sun.com/docs/books/tutorial/collections/algorithms/
that with method Collections.sort(l) I can sort alphabetically.
The code compiles, but when I run it with a tester program, it stops
to ClassCastException in the almost last row.
Something is wrong with Collections.sort(l) ?
/** Class CDRack represents collections of compact discs. Discs are
located in the rack in slots numbered from zero upwards. The discs are
represented by Record objects and empty slots by null values. */
public class CDRack extends Object {
private Record[] mRecords;
private int size;
/**Creates a new, empty CD rack.
Parameters:
size - the size of the new rack, i.e. the number of slots it has */
public CDRack(int size) {
mRecords = new Record[size];
this.size = size;
/** "Organizes" the discs in the rack so that they will be located in
consecutive slots starting at slot number zero, and any and all empty
slots will be at the "end of the rack". After calling this method, the
discs are in an undefined (i.e. arbitrary) order - the only thing this
method guarantees is that there aren't any empty slots in between full
ones.
public void organize() {
// Turn array into a list - more flexible
List l = Arrays.asList(aanilevyt);
// Remove all nulls from a copy of the list which supports removal.
l = new ArrayList(l);
while (l.remove(null)) /*do nothing*/;
// Clear the original array.
for (int i = 0; i < mRecords.length; i++){
mRecords[i] = null;
} // Put the non-nulls back.
l.toArray(mRecords);
/**"Organizes" the discs in the rack to the beginning of the rack (see
the method organize) and sorts them in alphabetical order. Recordings
by the same artist are placed in alphabetical order by disc name. */
public void sortAlphabetically() {
// Turn array into a list - more flexible
List l = Arrays.asList(aanilevyt);
// Remove all nulls from a copy of the list which supports removal.
l = new ArrayList(l);
while (l.remove(null)) /*do nothing*/;
// Clear the original array.
for (int i = 0; i < mRecords.length; i++){
mRecords[i] = null;
} // Put the non-nulls back.
l.toArray(mRecords);
Collections.sort(l); // alphabetical order. THERE IS CLASSCASTEXCEPTION
}I have thought and thought but the sorting alphabetically doesnt work.
I can't use Collections.sort and class Record doesnt implement Comparable(and I can't change it).
One suggestion was that I could make my own class which implements Comparator. Could it be like this
import java.util.*;
public class AlphabeticComparator
implements Comparator{
public int compare(Object o1, Object o2) {
String s1 = (String)o1;
String s2 = (String)o2;
return s1.toLowerCase().compareTo(
s2.toLowerCase());
} But how an earth can I tell to CDRack class that it would
use the class AlphabeticComparator?
Somebody please save my Christmas!
/** Class CDRack represents collections of compact discs. Discs are
located in the rack in slots numbered from zero upwards. The discs are
represented by Record objects and empty slots by null values. */
public class CDRack extends Object {
private Record[] mRecords;
private int size;
/**Creates a new, empty CD rack.
Parameters:
size - the size of the new rack, i.e. the number of slots it has */
public CDRack(int size) {
mRecords = new Record[size];
this.size = size;
/** "Organizes" the discs in the rack so that they will be located in
consecutive slots starting at slot number zero, and any and all empty
slots will be at the "end of the rack". After calling this method, the
discs are in an undefined (i.e. arbitrary) order - the only thing this
method guarantees is that there aren't any empty slots in between full
ones.
public void organize() {
// Turn array into a list - more flexible
List l = Arrays.asList(aanilevyt);
// Remove all nulls from a copy of the list which supports removal.
l = new ArrayList(l);
while (l.remove(null)) /*do nothing*/;
// Clear the original array.
for (int i = 0; i < mRecords.length; i++){
mRecords<i> = null;
} // Put the non-nulls back.
l.toArray(mRecords);
/**"Organizes" the discs in the rack to the beginning of the rack (see
the method organize) and sorts them in alphabetical order. Recordings
by the same artist are placed in alphabetical order by disc name. */
public void sortAlphabetically() { -
Hi ,
I'm creating a dbadapter for a custom API written in APPS schema -
TYPE MISIPM_LOB IS RECORD (
FILE_ID IPM_LOBS.FILE_ID%TYPE,
FILE_NAME IPM_LOBS.LOB_NAME%TYPE );
TYPE MISIPM_LOB_LIST IS TABLE OF MISIPM_LOB;
PROCEDURE GET_FILE_ID_DETAILS(
P_SOURCE_SYSTEM IN VARCHAR2,
p_entity_value IN VARCHAR2,
p_entity_code IN VARCHAR2,
P_ORG_ID IN NUMBER,
P_MISIPM_FILES_LIST OUT MISIPM_LOB_LIST,
P_ERRCODE OUT VARCHAR2,
P_ERRMESSAGE OUT VARCHAR2);
From JDeveloper, there is a wrapper package is getting created and the compilation/deployment of this composite is also without any error.
But when I run the composite, I'm surprisingly getting the below error -
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'GetAttachmentMetaData' failed due to: Interaction processing error. Error while processing the execution of the APPS.BPEL_GETATTACHMENTMETADATA1.XX_DELIVER_BLOB$GET_FILE_ API interaction. An error occurred while processing the interaction for invoking the APPS.BPEL_GETATTACHMENTMETADATA1.XX_DELIVER_BLOB$GET_FILE_ API. Cause: java.lang.ClassCastException: oracle.sql.StructDescriptor Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
I recreated the adapter multiple times within the composite and also tried to create a separate composite and all the cases the error message received was same. There two more similar procedure call's in the composite and all rest of them are working fine.
I can call the wrapper from sql script separately.
Verified that the XSD generated and the wrapper package parameters are matching as well.
Did anyone face the same issue or any explanation/help is much appreciated.
Regards,
DebanjanHi Vijay,
I have checked the number of parameters as well.
<element name="InputParameters">
<complexType>
<sequence>
<element name="P_SOURCE_SYSTEM" type="string" db:index="1" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
<element name="P_ENTITY_VALUE" type="string" db:index="2" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
<element name="P_ENTITY_CODE" type="string" db:index="3" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
<element name="P_ORG_ID" type="decimal" db:index="4" db:type="NUMBER" minOccurs="0" nillable="true"/>
</sequence>
</complexType>
</element>
<element name="OutputParameters">
<complexType>
<sequence>
<element name="P_MISIPM_FILES_LIST" type="db:APPS.XX_DELIVER_X35784324X1X5" db:index="5" db:type="Array" minOccurs="0" nillable="true"/>
<element name="P_ERRCODE" type="string" db:index="6" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
<element name="P_ERRMESSAGE" type="string" db:index="7" db:type="VARCHAR2" minOccurs="0" nillable="true"/>
</sequence>
</complexType>
</element>
<complexType name="APPS.XX_DELIVER_X35784324X1X6">
<sequence>
<element name="FILE_ID" type="decimal" db:type="NUMBER" minOccurs="0" nillable="true"/>
<element name="FILE_NAME" db:type="VARCHAR2" minOccurs="0" nillable="true">
<simpleType>
<restriction base="string">
<maxLength value="2000"/>
</restriction>
</simpleType>
</element>
</sequence>
</complexType>
<complexType name="APPS.XX_DELIVER_X35784324X1X5">
<sequence>
<element name="P_MISIPM_FILES_LIST_ITEM" type="db:APPS.XX_DELIVER_X35784324X1X6" db:type="Struct" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</sequence>
</complexType>
Regards,
Debanjan -
ClassCastException while creating a new entity
Hi
When I run my BC4J application module using the BC4J Tester using Local Configuration (Jdev 9.0.3) I received the following exception when trying to create a new Customers record:
oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for Customers.
ewRowImpl.java:284
oracle.jbo.server.ViewRowImpl oracle.jbo.server.ViewObjectImpl.createInstance(oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
ViewObjectImpl.java:1922
oracle.jbo.server.RowImpl oracle.jbo.server.QueryCollection.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
QueryCollection.java:727
oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.AttributeList)
ViewRowSetImpl.java:1384
oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(oracle.jbo.AttributeList)
ViewRowSetImpl.java:1430
oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRow()
ViewRowSetImpl.java:1406
oracle.jbo.Row oracle.jbo.server.ViewObjectImpl.createRow()
ViewObjectImpl.java:5133
void oracle.dacf.dataset.RowsetAccessImpl.newRow()
RowsetAccessImpl.java:1013
void client.CustomerEditDlg2.reInitData(int, long, long)
CustomerEditDlg2.java:2017
void client.MainFrame.jMenuItem1_actionPerformed(java.awt.event.ActionEvent)
MainFrame.java:766
void client.MainFrame$17.actionPerformed(java.awt.event.ActionEvent)
MainFrame.java:283
void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
AbstractButton.java:1450
void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
AbstractButton.java:1504
void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
DefaultButtonModel.java:378
void javax.swing.DefaultButtonModel.setPressed(boolean)
DefaultButtonModel.java:250
void javax.swing.AbstractButton.doClick(int)
AbstractButton.java:279
void javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
BasicMenuItemUI.java:886
void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
Component.java:3715
void java.awt.Component.processEvent(java.awt.AWTEvent)
Component.java:3544
void java.awt.Container.processEvent(java.awt.AWTEvent)
Container.java:1164
void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
Component.java:2593
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1213
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
Container.java:2451
boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
Container.java:2216
boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
Container.java:2125
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1200
void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
Window.java:922
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
EventQueue.java:339
boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
EventDispatchThread.java:131
void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
EventDispatchThread.java:98
void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
EventDispatchThread.java:93
void java.awt.EventDispatchThread.run()
EventDispatchThread.java:85
## Detail 0 ##
java.lang.ClassCastException: oracle.jbo.server.EntityRowSetImpl
void oracle.jbo.server.EntityImpl.doCreate(oracle.jbo.AttributeList)
EntityImpl.java:399
void oracle.jbo.server.EntityImpl.create(oracle.jbo.AttributeList)
EntityImpl.java:337
void billing.CustomersImpl.create(oracle.jbo.AttributeList)
CustomersImpl.java:91
void oracle.jbo.server.ViewRowStorage.create(oracle.jbo.AttributeList)
ViewRowStorage.java:655
void oracle.jbo.server.ViewRowImpl.create(oracle.jbo.AttributeList)
ViewRowImpl.java:284
oracle.jbo.server.ViewRowImpl oracle.jbo.server.ViewObjectImpl.createInstance(oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
ViewObjectImpl.java:1922
oracle.jbo.server.RowImpl oracle.jbo.server.QueryCollection.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
QueryCollection.java:727
oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.AttributeList)
ViewRowSetImpl.java:1384
oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(oracle.jbo.AttributeList)
ViewRowSetImpl.java:1430
oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRow()
ViewRowSetImpl.java:1406
oracle.jbo.Row oracle.jbo.server.ViewObjectImpl.createRow()
ViewObjectImpl.java:5133
void oracle.dacf.dataset.RowsetAccessImpl.newRow()
RowsetAccessImpl.java:1013
void client.CustomerEditDlg2.reInitData(int, long, long)
CustomerEditDlg2.java:2017
void client.MainFrame.jMenuItem1_actionPerformed(java.awt.event.ActionEvent)
MainFrame.java:766
void client.MainFrame$17.actionPerformed(java.awt.event.ActionEvent)
MainFrame.java:283
void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
AbstractButton.java:1450
void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
AbstractButton.java:1504
void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
DefaultButtonModel.java:378
void javax.swing.DefaultButtonModel.setPressed(boolean)
DefaultButtonModel.java:250
void javax.swing.AbstractButton.doClick(int)
AbstractButton.java:279
void javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
BasicMenuItemUI.java:886
void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
Component.java:3715
void java.awt.Component.processEvent(java.awt.AWTEvent)
Component.java:3544
void java.awt.Container.processEvent(java.awt.AWTEvent)
Container.java:1164
void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
Component.java:2593
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1213
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
Container.java:2451
boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
Container.java:2216
boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
Container.java:2125
void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
Container.java:1200
void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
Window.java:922
void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
Component.java:2497
void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
EventQueue.java:339
boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
EventDispatchThread.java:131
void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
EventDispatchThread.java:98
void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
EventDispatchThread.java:93
void java.awt.EventDispatchThread.run()
EventDispatchThread.java:85
I have seen this type of error earlier but this time exception is throws from the very core of the BC4J framework.( void oracle.jbo.server.EntityImpl.doCreate(oracle.jbo.AttributeList) ). "Customers" entity object does have a number of associated objects and I think that this is somehow related to the associations.
Can anyone help me with this? Thank youjava.lang.ClassCastException: oracle.jbo.server.EntityRowSetImpl
void oracle.jbo.server.EntityImpl.doCreate(oracle.jbo.AttributeList)
EntityImpl.java:399
I have seen this type of error earlier but this time exception is throws from the very core of the BC4J framework.( void oracle.jbo.server.EntityImpl.doCreate(oracle.jbo.AttributeList) ). "Customers" entity object does have a number of associated objects and I think that this is somehow related to the associations. You're right on the target. It seems like you have a composition association where the master side returns a RowIterator rather than a Row (meaning association cardinality for the master/source side for the composition association is 'many'). That should not be allowed. Infact this is a design time bug for the BC4J association wizard. I've logged it as bug number 2678717
Can anyone help me with this? Thank you -
Hi All,
I am getting below exception when I am trying to establish HTTPS connection using
Exception: java.lang.ClassCastException: HTTPClient.HttpURLConnection
sometime my code works and some time it gives me this exception
below is the exception which i traced in a log file
2008/09/11 01:07:57->1_1210001776_0:1_1210001776_0URL CONNECTION CALLED https://netfundstest.com/fsu/router
2008/09/11 01:07:57->1_1210001776_0:1_1210001776_0URL CONNECTION Created HTTPClient.HttpURLConnection[https://netfundstest.com/fsu/router]
2008/09/11 01:07:57->1_1210001776_0:entered into else Block
2008/09/11 01:07:57->1_1210001776_0:1_1210001776_0Error URLC Not a instance of HTTPS Connection: HTTPClient.HttpURLConnection[https://netfundstest.com/fsu/router]
2008/09/11 01:07:57->1_1210001776_0:Exception: java.lang.ClassCastException: HTTPClient.HttpURLConnection
In the success case when my HTTPS connection gets established I am getting following in the log file.
2008/08/24 11:51:28->1_1210001776_0:1_1210001776_0URL CONNECTION CALLED https://netfunds.com/fsu/router
2008/08/24 11:51:28->1_1210001776_0:1_1210001776_0URL CONNECTION Created com.sun.net.ssl.internal.www.protocol.https.DelegateHttpsURLConnection:https://netfunds.com/fsu/router
Here is the code which I am using
I am importing following packages in my code
import java.security.*;
import java.security.cert.*;
//import javax.net.ssl.*;
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.HandshakeCompletedListener;
import javax.net.ssl.HandshakeCompletedEvent;
import javax.net.ssl.SSLSession;
import java.net.*;
import java.util.*;
import java.io.*;
//import javax.security.cert.*;
import com.sun.net.ssl.*;
//import org.apache.xalan.*;
//import org.apache.xerces.*;
import org.apache.xerces.dom.*;
import org.apache.xml.serialize.*;
import javax.xml.parsers.*;
import org.w3c.dom.*;
import oracle.xml.classgen.*;
try
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
System.setProperty("https.proxyHost",geProxy);
System.setProperty("https.proxyPort",geProxyPort);
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
int n=0;
while(n<3)
debugMsg(instCount+"URL CONNECTION CALLED " + fsuFrontEndURL);
url = new URL(fsuFrontEndURL);
/* Changed to include Tunnel code */
urlc = url.openConnection();
debugMsg(instCount+"URL CONNECTION Created " + urlc);
if (urlc instanceof com.sun.net.ssl.HttpsURLConnection)
debugMsg("entered into If Block");
debugMsg("Value of n:" + n);
((com.sun.net.ssl.HttpsURLConnection) urlc).setSSLSocketFactory(new SSLTunnelSocketFactory(geProxy, geProxyPort));
((com.sun.net.ssl.HttpsURLConnection) urlc).setRequestMethod("POST");
debugMsg("after If Block");
break;
else {
try{
debugMsg("entered into else Block");
((javax.net.ssl.HttpsURLConnection) urlc).setSSLSocketFactory(new SSLTunnelSocketFactory(geProxy, geProxyPort));
((javax.net.ssl.HttpsURLConnection) urlc).setRequestMethod("POST");
debugMsg("after else Block");
break;
catch(Exception e) {
debugMsg(instCount+"Error URLC Not a instance of HTTPS Connection: " + urlc);
debugMsg("Exception: " + e);
I am using JDK 1.5 and Apache/1.3.19
Can anyone help me out ....?for URL'S Starting with HTTPS only.....Sometimes it works and sometimes it gives me the classcast exception
As soon as I bounces my Apache application server...then it starts working...I dont know why its happening like that..
Is there any issue with the Ports I am trying to connect or some Apache configuration files settings are getting changed ? -
Getting java.lang.ClassCastException
Hi All,
I am getting below exception when I am trying to establish HTTPS connection using
Exception: java.lang.ClassCastException: HTTPClient.HttpURLConnection
sometime my code works and some time it gives me this exception
below is the exception which i traced in a log file
2008/09/11 01:07:57->1_1210001776_0:1_1210001776_0URL CONNECTION CALLED https://netfundstest.com/fsu/router
2008/09/11 01:07:57->1_1210001776_0:1_1210001776_0URL CONNECTION Created HTTPClient.HttpURLConnection[https://netfundstest.com/fsu/router]
2008/09/11 01:07:57->1_1210001776_0:entered into else Block
2008/09/11 01:07:57->1_1210001776_0:1_1210001776_0Error URLC Not a instance of HTTPS Connection: HTTPClient.HttpURLConnection[https://netfundstest.com/fsu/router]
2008/09/11 01:07:57->1_1210001776_0:Exception: java.lang.ClassCastException: HTTPClient.HttpURLConnection
In the success case when my HTTPS connection gets established I am getting following in the log file.
2008/08/24 11:51:28->1_1210001776_0:1_1210001776_0URL CONNECTION CALLED https://netfunds.com/fsu/router
2008/08/24 11:51:28->1_1210001776_0:1_1210001776_0URL CONNECTION Created com.sun.net.ssl.internal.www.protocol.https.DelegateHttpsURLConnection:https://netfunds.com/fsu/router
Here is the code which I am using
I am importing following packages in my code
import java.security.*;
import java.security.cert.*;
//import javax.net.ssl.*;
import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.HandshakeCompletedListener;
import javax.net.ssl.HandshakeCompletedEvent;
import javax.net.ssl.SSLSession;
import java.net.*;
import java.util.*;
import java.io.*;
//import javax.security.cert.*;
import com.sun.net.ssl.*;
//import org.apache.xalan.*;
//import org.apache.xerces.*;
import org.apache.xerces.dom.*;
import org.apache.xml.serialize.*;
import javax.xml.parsers.*;
import org.w3c.dom.*;
import oracle.xml.classgen.*;
try
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
System.setProperty("https.proxyHost",geProxy);
System.setProperty("https.proxyPort",geProxyPort);
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
int n=0;
while(n<3)
debugMsg(instCount+"URL CONNECTION CALLED " + fsuFrontEndURL);
url = new URL(fsuFrontEndURL);
/* Changed to include Tunnel code */
urlc = url.openConnection();
debugMsg(instCount+"URL CONNECTION Created " + urlc);
if (urlc instanceof com.sun.net.ssl.HttpsURLConnection)
debugMsg("entered into If Block");
debugMsg("Value of n:" + n);
((com.sun.net.ssl.HttpsURLConnection) urlc).setSSLSocketFactory(new SSLTunnelSocketFactory(geProxy, geProxyPort));
((com.sun.net.ssl.HttpsURLConnection) urlc).setRequestMethod("POST");
debugMsg("after If Block");
break;
else {
try{
debugMsg("entered into else Block");
((javax.net.ssl.HttpsURLConnection) urlc).setSSLSocketFactory(new SSLTunnelSocketFactory(geProxy, geProxyPort));
((javax.net.ssl.HttpsURLConnection) urlc).setRequestMethod("POST");
debugMsg("after else Block");
break;
catch(Exception e) {
debugMsg(instCount+"Error URLC Not a instance of HTTPS Connection: " + urlc);
debugMsg("Exception: " + e);
I am using JDK 1.5 and Apache/1.3.19
Can anyone help me out ....?Hi ejp,
thanks for ur response
I did what ever u suggested ...but after compiling the code I am getting following errors
cannot find symbol
symbol : class X509TrustManager
location: class EPCardXMLExchange
class MyX509TrustManager implements X509TrustManager {
^
EPCardXMLExchange.java:594: cannot find symbol
symbol : class HostnameVerifier
location: class EPCardXMLExchange
class MyHostnameVerifier implements HostnameVerifier {
^
EPCardXMLExchange.java:413: cannot find symbol
symbol : class X509TrustManager
location: class EPCardXMLExchange
X509TrustManager tm = new MyX509TrustManager();
^
EPCardXMLExchange.java:414: cannot find symbol
symbol : class HostnameVerifier
location: class EPCardXMLExchange
HostnameVerifier hm = new MyHostnameVerifier();
^
EPCardXMLExchange.java:429: cannot find symbol
symbol : class KeyManagerFactory
location: class EPCardXMLExchange
KeyManagerFactory kmf;
^
EPCardXMLExchange.java:430: cannot find symbol
symbol : variable KeyManagerFactory
location: class EPCardXMLExchange
kmf = KeyManagerFactory.getInstance("SunX509");
^
EPCardXMLExchange.java:440: cannot find symbol
symbol : class TrustManager
location: class EPCardXMLExchange
TrustManager []tma = {tm};
^
EPCardXMLExchange.java:441: cannot find symbol
symbol : class SSLContext
location: class EPCardXMLExchange
SSLContext sc = SSLContext.getInstance("SSL");
^
EPCardXMLExchange.java:441: cannot find symbol
symbol : variable SSLContext
location: class EPCardXMLExchange
SSLContext sc = SSLContext.getInstance("SSL");
^
EPCardXMLExchange.java:444: cannot find symbol
symbol : variable HttpsURLConnection
location: class EPCardXMLExchange
HttpsURLConnection.setDefaultSSLSocketFactory(sf1);
^
EPCardXMLExchange.java:445: cannot find symbol
symbol : variable HttpsURLConnection
location: class EPCardXMLExchange
HttpsURLConnection.setDefaultHostnameVerifier(hm);
^
EPCardXMLExchange.java:643: cannot find symbol
symbol : class X509TrustManager
location: class EPCardXMLExchange.SSLTunnelSocketFactory
X509TrustManager tm = new MyX509TrustManager();
^
EPCardXMLExchange.java:644: cannot find symbol
symbol : class HostnameVerifier
location: class EPCardXMLExchange.SSLTunnelSocketFactory
HostnameVerifier hm = new MyHostnameVerifier();
^
EPCardXMLExchange.java:658: cannot find symbol
symbol : class KeyManagerFactory
location: class EPCardXMLExchange.SSLTunnelSocketFactory
KeyManagerFactory kmf;
^
EPCardXMLExchange.java:659: cannot find symbol
symbol : variable KeyManagerFactory
location: class EPCardXMLExchange.SSLTunnelSocketFactory
kmf = KeyManagerFactory.getInstance("SunX509");
^
EPCardXMLExchange.java:669: cannot find symbol
symbol : class TrustManager
location: class EPCardXMLExchange.SSLTunnelSocketFactory
TrustManager []tma = {tm};
^
EPCardXMLExchange.java:670: cannot find symbol
symbol : class SSLContext
location: class EPCardXMLExchange.SSLTunnelSocketFactory
SSLContext sc = SSLContext.getInstance("SSL");
^
EPCardXMLExchange.java:670: cannot find symbol
symbol : variable SSLContext
location: class EPCardXMLExchange.SSLTunnelSocketFactory
SSLContext sc = SSLContext.getInstance("SSL");
^
EPCardXMLExchange.java:675: cannot find symbol
symbol : variable HttpsURLConnection
location: class EPCardXMLExchange.SSLTunnelSocketFactory
HttpsURLConnection.setDefaultSSLSocketFactory(dfactory);
^
EPCardXMLExchange.java:676: cannot find symbol
symbol : variable HttpsURLConnection
location: class EPCardXMLExchange.SSLTunnelSocketFactory
HttpsURLConnection.setDefaultHostnameVerifier(hm);
^
20 errors
Can you tell me what I am getting errors ? -
I encountered a bug while using the deploytool to deploy
an EAR file to the Sun J2EE 1.3_01 server.
I submitted a bug report to Sun via the Sun Java Developer Connection.
(Sorry, it has not been assigned a BugID yet)
Question:
Does anybody know if the web container in Sun's
J2EE 1.3_01 server supports access to local enterprise beans?
Screenshots of the bug are available at
http://sync4j.sourceforge.net/deploymentbug/
Full details below....
-Sean
category: j2ee
subcategory: deployment
release: 1.3_01
hardware: x86
OSversion: windows_2000
synopsis: java.lang.ClassCastException thrown during deployment of Session bean
java -version
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
C:\j2sdkee1.3\bin>j2ee -version
Java 2 Enterprise Edition version 1.3_01, build 1.3_01-b01
I built a EJB 2.0 compliant stateful session bean.
The session bean has a remote interface (ISyncRemote),
a remote home interface (ISyncHomeRemote),
a local interface (ISyncLocal),
and a local home interface (ISyncHomeLocal).
I built an HTTP Servlet that is supposed to access
the Stateful Session Bean using ISyncHomeLocal and
ISyncLocal
I run "deploytool.bat" in GUI mode to perform the deployment.
During deployment, the deploytool GUI displays a message
box which states:
"There was a deployment error.
java.rmi.ServerException: RemoteException occurred in server thread;
nested exception is:
java.rmi.RemoteException: An error was encountered while loading
a web component.
Please refer to
<J2EE_HOME>/logs/<machine-name>/j2ee//j2ee/error.log
for more information. Please verify your Application with the
Verifier tool."
The "error.log" file did not contain any useful information.
I ran the J2EE "verifier.bat" tool to verify that my EAR archive is OK.
The Sun J2EE server output this error string:
"java.lang.ClassCastException:
com.sun.enterprise.deployment.EjbExternalDescriptor"
Here is the full output from the Sun J2EE server:
C:\j2sdkee1.3\bin>j2ee -verbose
J2EE server listen port: 1050
Naming service started:1050
Binding DataSource, name = jdbc/EstoreDB, url =
jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/Cloudscape, url =
jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB1, url =
jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/DB2, url =
jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/InventoryDB, url =
jdbc:cloudscape:rmi:CloudscapeDB;create=true
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Binding DataSource, name = jdbc/XACloudscape__xa, dataSource =
COM.cloudscape.core.RemoteXaDataSourc
e@245536
Starting JMS service...
Initialization complete - waiting for client requests
Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties
>
Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties
>
Starting web service at port: 8000
Starting secure web service at port: 7000
J2EE SDK/1.3
Starting web service at port: 9191
J2EE SDK/1.3
J2EE server startup complete.
Compiling c:\j2sdkee1.3\repository\rbi\gnrtrTMP\Sync4j Server enterprise
application\sync4j\server\s
yncbean\SyncBean_LocalHomeImpl.java ....
Compiling c:\j2sdkee1.3\repository\rbi\gnrtrTMP\Sync4j Server enterprise
application\sync4j\server\s
yncbean\SyncBean_EJBLocalObjectImpl.java ....
Compiling c:\j2sdkee1.3\repository\rbi\gnrtrTMP\Sync4j Server enterprise
application\sync4j\server\s
yncbean\SyncBean_RemoteHomeImpl.java ....
Compiling c:\j2sdkee1.3\repository\rbi\gnrtrTMP\Sync4j Server enterprise
application\sync4j\server\s
yncbean\SyncBean_EJBObjectImpl.java ....
rmic sync4j.server.syncbean.SyncBean_RemoteHomeImpl...
rmic sync4j.server.syncbean.SyncBean_EJBObjectImpl...
c:\j2sdkee1.3\repository\rbi\applications\Sync4j Server enterprise
application1004172068449Server.ja
r
Binding name:`java:comp/env/ejb/ISyncHomeRemote`
Binding name:`java:comp/env/ejb/ISyncHomeLocal`
java.lang.ClassCastException:
com.sun.enterprise.deployment.EjbExternalDescriptor
at com.sun.enterprise.deployment.EjbReferenceDescriptor.getValue
(EjbReferenceDescriptor.java
:202)
at com.sun.enterprise.naming.NamingManagerImpl.bindObjects
(NamingManagerImpl.java:394)
at com.sun.web.server.WebService.addContext(WebService.java:148)
at com.sun.web.server.ServletDeployerImpl.loadWebComponents
(ServletDeployerImpl.java:214)
at
com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployWebComponent
s
(JarInsta
llerImpl.java:791)
at
com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication
(JarInstall
erImpl.java:219)
at
org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie.
invoke(Un
known Source)
at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch
(ServerDelegate.java:355)
at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:273)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process
(RequestProcessor.java:84)
at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run
(ThreadPool.java:99)
Does the Sun J2EE server implementation support the invocation
of Session EJB's via a Local interface?
Does the Sun J2EE server implementation allow a Servlet to invoke
Session EJB's via the bean's Local interface?
While researching this issue, I read the J2EE 1.3 final specification.
The spec says:
"The EJB container is required to access to local enterprise beans.
We recommend that the web container also support access to local
enterprise beans."
Does the web container in Sun's J2EE server support access to local enterprise beans?I'm pretty much sure that you cannot access a
local Session bean from outside the EJB container.Please read the J2EE 1.3 specification before posting messages about EJB and J2EE.
According to the J2EE 1.3 specification:
"The EJB container is required to support access to local enterprise beans. We recommend that the web container also support access to local enterprise beans.
No support is provided for access to local enterprise beans from the application client container or the applet container."
If you use local interfaces for your session bean,
than your client must be local too. A local client is
a client that is collocated in the same JVM with the
session/entity that provides the local view and which
can be tightly coupled to the bean.My client is running in the same JVM as my EJB. The client is a servlet. The servlet is running in the same JVM as the EJB.
For what its worth, the error that I observed occurs during deployment. I haven't figured out why deployment is failing.
Maybe you are looking for
-
Have double bar and can not refresh the page.
I've been trying to get the double line out but no such luck. Can not see enough of the line to find anything of the other/ refresh / etc. lines of the task bar.
-
External Drive No Longer Recognized
I have a DiskGo Edge 500GB external hard drive that will no longer mount on my computer. It was dropped from about two feet, and no longer pops up on my desktop. Originally, when I launched Disk Utility, it would appear on the sidebar, but after abou
-
My macbook pro keeps freezing when it comes out of sleep mode
This is the issue.....when i open the macbook the screen comes on immediately but everything is locked up except for the cursor. it moves but i can't scroll or change pages. the screen totally locks up for about 3-5 minutes. it just started doing thi
-
Conversion of existing Down Payments - How can this be done.
All - We do not have the Travel or HR modules. We issue advances to employees who are travelling. We issue a down payment request (f-47) and pay this through F110. The advance is cleared when the voucher is processed. When we created this process
-
G550 Alps touchpad New driver 7.7.1602.501
Hi All, This topic is based on the G550 alps touchpad topic that has been discussed for some times. If you would like to know more, please check it out here, the topic created by digitaleagle. I created this new topic for the previous thread was too