Get JBO-27023 exception when programmatically inserting in view object
I am using Jdev 11 R2 (11.1.2.3.0) JSF2 & Facelet
In some use case I require to read information from some external source (a web service in this case)
and Programmatically insert into Oracle DB
I use below code to get view object from application module
//from ADFUtils
public static ApplicationModule getApplicationModuleForDataControl(String name) {
return (ApplicationModule)JSFUtils.resolveExpression("#{data." + name + ".dataProvider}");
public static ViewObject getViewObject(String appModCtrlNam, String viewObjCtrlNam) {
ApplicationModule am = getApplicationModuleForDataControl(appModCtrlNam);
return am.findViewObject(viewObjCtrlNam);
ViewObjectImpl testVW =
(ViewObjectImpl)ADFUtils.getViewObject("AppModuleDataControl", "View1");
Row testRow = testVW.createRow();
testRow.setAttribute("property1",value1);
testRow.setAttribute("property2",value1);
testRow.setAttribute("property3",value1);
testRow.setAttribute("property4",value1);
testVW.insertRow(testRow);
and finally commit bounded task flow
TaskFlowUtils taskFlowUtils = new TaskFlowUtils();
taskFlowUtils.commitTaskFlow();
public void commitTaskFlow() {
getDataControlFrame().commit();
public DataControlFrame getDataControlFrame() {
BindingContext bindingContext = oracle.adf.controller.binding.BindingUtils.getBindingContext();
String dataControlFrameName = bindingContext.getCurrentDataControlFrame();
DataControlFrame dataControlFrame = bindingContext.findDataControlFrame(dataControlFrameName);
return dataControlFrame;
There are some inner objects so I need to repeat this logic for some other view objects (don't put it here to make post shorter)
Every thing is OK but when number of record I read from that external source increased I will receive
JBO-27023: Failed to validate all rows in a transaction.
And system can not commit transaction
What I mean about the increase in number of records is totaly 50 records not 10000 records
I mean if I run my method with 3-5 records it is working fine , if I run it with 50 records I will receive JBO-27023
I am using a method in application module to get sequence from DB and transaction in bounded task flow defined as "Always Begin New Transaction"
Any idea where is wrong or what is work around?
Thanks
Mohsen
Hi Frank
I saw that blog from Jobinesh as he mentioned
public String someAction() {
BindingContainer bindings = getBindings();
OperationBinding ob = bindings.getOperationBinding("doSomething");
Object result = ob.execute();
if (!ob.getErrors().isEmpty()) {
return "error";
return "success";
But in my use case I need to insert into view objects programmatically not executing a method in app module
What is they best way of doing this?Should I put this inserts as method in app module?
and where I can find new version of ADFUtils?
Appreciate your comments
Regards
Mohsen
Similar Messages
-
Getting a security exception when invoking EJB from a webservice
Hi,
I am getting the following exception when Invoke an EJB from a web service.
The EJB fails when it tries to access a remote object(RMI).
When I invoke the EJB directly I dont get this exception.
Both the EJB and the WS are deployed as part of the same application on weblogic 9.2 .
the WS was created by jwsc ant task.
This is the exception:
java.rmi.ServerException: RemoteException occurred in server thread; nested exce
ption is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested excep
tion is:
java.lang.ClassNotFoundException: com.bea.xml.XmlCalendar (no security m
anager: RMI class loader disabled)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:292)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
60)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:701)
at java.lang.Thread.run(Thread.java:534)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream
RemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:
223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at com.netcom.server.rmi.RequestHandlerImpl_
Stub.copy(Unknown Source)
Message was edited by:
guyhHi Jitu,
I changed the wsdl. And so I don�t get the warning anymore. My Webservice also runs well, now. Thanks anyway for the reply.
There is a nice tech article on the sun network, which solved my problem. The basic idea is to split the wsdl into 2 wsdl documents. one containing all the porttypes messages and so on. And the other wsdl contains the binding and service elements.
If you are interested check out this link:
http://java.sun.com/developer/technicalArticles/xml/jaxrpcpatterns/index2.html
thanks,
footman -
Exception when trying to create pool Object
I've been trying to get the forte 4.0ee ProductRichClient example for container managed beans to work.
After the deployment to Sun One I got following exception when I'm using the client:
18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
INFO:
---------AppClient Container--------
18.10.2002 10:56:20 com.iplanet.ias.appclient.Main setTagetServerProperties
INFO: ACC001:Using ClientContainer file: [C:\Sun\AppServer7\appserv\domains\domain1\server1\config\sun-acc.xml].
18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
INFO: ACC014: ORB host name: [NOD]
18.10.2002 10:56:20 com.iplanet.ias.appclient.Main <init>
INFO: ACC013: ORB port number: [3700]
18.10.2002 10:56:21 com.sun.enterprise.appclient.AppContainer preInvoke
INFO: ACC007: Initiating Login ...
18.10.2002 10:56:21 com.iplanet.ias.appclient.Main <init>
INFO: ACC009: Load Application Class: [CMPClient.SwingClient]
18.10.2002 10:56:23 com.iplanet.ias.appclient.Main <init>
INFO: Application main() finished normally
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object ; nested exception is:
java.lang.RuntimeException: Caught Exception when trying to create pool Object
at com.sun.corba.ee.internal.iiop.ShutdownUtilDelegate.mapSystemException(Unknown Source)
at javax.rmi.CORBA.Util.mapSystemException(Util.java:65)
at CMPServer._ProductHome_Stub.create(Unknown Source)
at CMPClient.SwingClient.AddRow_ButtonActionPerformed(SwingClient.java:127)
at CMPClient.SwingClient.access$100(SwingClient.java:24)
at CMPClient.SwingClient$2.actionPerformed(SwingClient.java:89)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
at java.awt.Component.processMouseEvent(Component.java:5021)
at java.awt.Component.processEvent(Component.java:4818)
at java.awt.Container.processEvent(Container.java:1525)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Container.dispatchEventImpl(Container.java:1582)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3359)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3074)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3004)
at java.awt.Container.dispatchEventImpl(Container.java:1568)
at java.awt.Window.dispatchEventImpl(Window.java:1581)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Caused by: java.rmi.RemoteException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object ; nested exception is:
java.lang.RuntimeException: Caught Exception when trying to create pool Object
at com.sun.enterprise.iiop.POAProtocolMgr.mapException(Unknown Source)
at com.sun.ejb.containers.BaseContainer.postInvoke(Unknown Source)
at CMPServer.ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.create(ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.java:33)
at CMPServer._ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.RuntimeException: Caught Exception when trying to create pool Object
at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)
at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)
at com.sun.ejb.containers.EntityContainer.getPooledEJB(Unknown Source)
at com.sun.ejb.containers.EntityContainer.getContext(Unknown Source)
at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
at CMPServer.ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.create(ProductEJB2024414397_ConcreteImpl_RemoteHomeImpl.java:25)
... 9 more
Caused by: javax.ejb.EJBException: nested exception is: java.lang.NullPointerException
at com.sun.ejb.containers.EntityContainer$EntityContextFactory.create(Unknown Source)
... 15 more
Any thoughts on why this exception is being thrown?
Thanks for any help!
Richardthis sample has been tested by the SunONE TOOLs QA
and is working. Please check your deployment descriptors
and use the cmp samples which come with S1AS to see if your
descriptors are correct. -
Getting blank pdf files when I try to view them on computers other than my Mac
I need some assistance. I keep getting blank pdf files when I try to view them on anything other than my Mac. I create them in either Illustrator or InDesign and I make sure that I select High Image Quality. I can view them just fine in my Acrobat reader, but the minute I send them out to others or view them on a PC with Acrobat Reader 7 i can't view them. I get this message "There was a problem reading this document (111)" Does anyone know the solution to this problem?
Many PC users still use older versions of Acrobat or Acrobat Reader. I know some people that absolutely refuse to update beyond Acrobat Reader 4.5, often times, that can contribute. Also if you've run PDF Optimizer and removed all the fonts. That can cause a problem.
Also, make sure you save pdf's with the .pdf extension. As much as they say the opposite PC's need to see that extension. -
Caught Exception when trying to create pool Object
Hi All,
When a stateless session bean is looking up the entity bean following 'could not create pool object' exception is throwing.
[14/Jan/2003:09:12:50] SEVERE ( 1048): EJB5070: Exception creating stateless session bean : [java.lang.reflect.InvocationTargetException]
[14/Jan/2003:09:12:50] SEVERE ( 1048): EJB5017: Exception while running preinvoke : ejbName = [ConfigSessionBean]
[14/Jan/2003:09:12:50] SEVERE ( 1048):
javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: c
java.lang.RuntimeException: Caught Exception when trying to create pool Object
at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(Unknown Source)
at com.sun.ejb.containers.StatelessSessionContainer.getContext(Unknown Source)
at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
at com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl.getAllModules(ConfigSessionBean_EJBObjectImpl.java:255)
at com.siptech.pdf.ejb.config.session._ConfigSessionBean_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
Caused by: javax.ejb.EJBException: nested exception is: javax.ejb.CreateException: Could not create stateless EJB:
java.lang.reflect.InvocationTargetException
at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(Unknown Source)
... 13 more
javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: Caught Exception when trying to create pool Object
at com.sun.ejb.containers.StatelessSessionContainer.getContext(Unknown Source)
at com.sun.ejb.containers.BaseContainer.preInvoke(Unknown Source)
at com.siptech.pdf.ejb.config.session.ConfigSessionBean_EJBObjectImpl.getAllModules(ConfigSessionBean_EJBObjectImpl.java:255)
at com.siptech.pdf.ejb.config.session._ConfigSessionBean_EJBObjectImpl_Tie._invoke(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatchToServant(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(Unknown Source)
at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(Unknown Source)
at com.sun.corba.ee.internal.iiop.ORB.process(Unknown Source)
at com.sun.corba.ee.internal.iiop.RequestProcessor.process(Unknown Source)
at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(Unknown Source)
at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(Unknown Source)
at java.lang.Thread.run(Thread.java:536)
I have also specified the following properties in the sunejbjar.xml for the session bean.
<ejb>
<bean-pool>
<steady-pool-size>2</steady-pool-size>
<resize-quantity>5</resize-quantity>
<max-pool-size>200</max-pool-size>
<pool-idle-timeout-in-seconds>3600</pool-idle-timeout-in-seconds>
</bean-pool>
</ejb>
--Muthu.Muthu,
To find out whether the problem is with container setting or with your application, can you create a simple stateless session bean and check if it works fine. If it works fine send me ejb-jar.xml and sun-ejb-jar.xml for your application.
Deepak -
I downloaded PSE 12 yesterday and it does not work. i get an application error when I attempt to view any photo
Are using Apple's camera connection kit with the SD reader that came with the kit, or are you using a third-party kit ? Also what type of card are you using : SD, SDHC, SDXC ?
The message doesn't relate to the battery level of the iPad. Only a relatively small amount of power is supplied to the iPad's dock (it used to be higher), so a lot of other card readers can't be used with the kit because they require more power in order to operate. -
Why do I get the following exception when I press the cancel buuton?
My code is not complete as I am stubbing my code. Can someone tell me why i get the following exception
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at Phonebook.createNew(Phonebook.java:244)
at Phonebook.actionPerformed(Phonebook.java:222)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:19
95)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
72)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)in the following code whenever I press the cancel button in the part of code that tests fro when a user clicks the create button.
Filename: ContactsListInterface.java
Date: 16 March 2008
Programmer: Yucca Nel
Purpose: Provides a GUI for entering names and contact numbers into a telephone directory.
Also allows options for searching for a specific name and deleting of data from the record
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
import java.io.*;
import java.util.*;
import java.text.*;
public class Phonebook extends JFrame implements ActionListener
{ //start of class
// construct fields, buttons, labels,text boxes, ArrayLists etc
JTextPane displayPane = new JTextPane();
JLabel listOfContacts = new JLabel("List Of Contacts"); // creates a label for the scrollpane
JButton createButton = new JButton("Create");
JButton searchButton = new JButton("Search");
JButton modifyButton = new JButton("Modify");
JButton deleteButton = new JButton("Delete");
ArrayList fNameList = new ArrayList();
ArrayList sNameList = new ArrayList();
ArrayList hList = new ArrayList();
ArrayList wList = new ArrayList();
ArrayList cList = new ArrayList();
public String name, surname, home, work, cell;
// create an instance of the ContactsListInterface
public Phonebook()
{ // start of cli()
super("Phonebook Interface");
} // end of cli()
public JMenuBar createMenuBar()
{ // start of the createMenuBar()
// construct and populate a menu bar
JMenuBar mnuBar = new JMenuBar(); // creates a menu bar
setJMenuBar(mnuBar);
JMenu mnuFile = new JMenu("File",true); // creates a file menu in the menu bar which is visible
mnuFile.setMnemonic(KeyEvent.VK_F);
mnuFile.setDisplayedMnemonicIndex(0);
mnuFile.setToolTipText("File Options");
mnuBar.add(mnuFile);
JMenuItem mnuFileExit = new JMenuItem("Save And Exit"); // creates an exit option in the file menu
mnuFileExit.setMnemonic(KeyEvent.VK_X);
mnuFileExit.setDisplayedMnemonicIndex(1);
mnuFileExit.setToolTipText("Close Application");
mnuFile.add(mnuFileExit);
mnuFileExit.setActionCommand("Exit");
mnuFileExit.addActionListener(this);
JMenu mnuEdit = new JMenu("Edit",true); // creates a menu for editing options
mnuEdit.setMnemonic(KeyEvent.VK_E);
mnuEdit.setDisplayedMnemonicIndex(0);
mnuEdit.setToolTipText("Edit Options");
mnuBar.add(mnuEdit);
JMenu mnuEditSort = new JMenu("Sort",true); // creates an option for sorting entries
mnuEditSort.setMnemonic(KeyEvent.VK_S);
mnuEditSort.setDisplayedMnemonicIndex(0);
mnuEdit.add(mnuEditSort);
JMenuItem mnuEditSortByName = new JMenuItem("Sort By Name"); // to sort entries by name
mnuEditSortByName.setMnemonic(KeyEvent.VK_N);
mnuEditSortByName.setDisplayedMnemonicIndex(8);
mnuEditSortByName.setToolTipText("Sort entries by first name");
mnuEditSortByName.setActionCommand("Name");
mnuEditSortByName.addActionListener(this);
mnuEditSort.add(mnuEditSortByName);
JMenuItem mnuEditSortBySurname = new JMenuItem("Sort By Surname"); // to sort entries by surname
mnuEditSortBySurname.setMnemonic(KeyEvent.VK_R);
mnuEditSortBySurname.setDisplayedMnemonicIndex(10);
mnuEditSortBySurname.setToolTipText("Sort entries by surname");
mnuEditSortBySurname.setActionCommand("Surname");
mnuEditSortBySurname.addActionListener(this);
mnuEditSort.add(mnuEditSortBySurname);
JMenu mnuHelp = new JMenu("Help",true); // creates a menu for help options
mnuHelp.setMnemonic(KeyEvent.VK_H);
mnuHelp.setDisplayedMnemonicIndex(0);
mnuHelp.setToolTipText("Help options");
mnuBar.add(mnuHelp);
JMenuItem mnuHelpHelp = new JMenuItem("Help"); // creates a help option for help topic
mnuHelpHelp.setMnemonic(KeyEvent.VK_P);
mnuHelpHelp.setDisplayedMnemonicIndex(3);
mnuHelpHelp.setToolTipText("Help Topic");
mnuHelpHelp.setActionCommand("Help");
mnuHelpHelp.addActionListener(this);
mnuHelp.add(mnuHelpHelp);
JMenuItem mnuHelpAbout = new JMenuItem("About"); // creates a about option for info about api
mnuHelpAbout.setMnemonic(KeyEvent.VK_T);
mnuHelpAbout.setDisplayedMnemonicIndex(4);
mnuHelpAbout.setToolTipText("About this program");
mnuHelpAbout.setActionCommand("About");
mnuHelpAbout.addActionListener(this);
mnuHelp.add(mnuHelpAbout);
return mnuBar;
} // end of the createMenuBar()
// create the content pane
public Container createContentPane()
{ // start of createContentPane()
//construct and populate panels and content pane
JPanel labelPanel = new JPanel(); // panel is only used to put the label for the textpane in
labelPanel.setLayout(new FlowLayout());
labelPanel.add(listOfContacts);
JPanel displayPanel = new JPanel();// panel is used to display all the contacts and thier numbers
setTabsAndStyles(displayPane);
displayPane = addTextToTextPane();
displayPane.setEditable(false);
JScrollPane scrollPane = new JScrollPane(displayPane);
scrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS); // pane is scrollable vertically
scrollPane.setWheelScrollingEnabled(true);// pane is scrollable by use of the mouse wheel
scrollPane.setPreferredSize(new Dimension(400,320));
displayPanel.add(scrollPane);
JPanel workPanel = new JPanel();// panel is used to enter, edit and delete data
workPanel.setLayout(new FlowLayout());
workPanel.add(createButton);
createButton.setToolTipText("Create a new entry");
createButton.addActionListener(this);
workPanel.add(searchButton);
searchButton.setToolTipText("Search for an entry by name number or surname");
searchButton.addActionListener(this);
workPanel.add(modifyButton);
modifyButton.setToolTipText("Modify an existing entry");
modifyButton.addActionListener(this);
workPanel.add(deleteButton);
deleteButton.setToolTipText("Delete an existing entry");
deleteButton.addActionListener(this);
labelPanel.setBackground(Color.red);
displayPanel.setBackground(Color.red);
workPanel.setBackground(Color.red);
// create container and set attributes
Container c = getContentPane();
c.setLayout(new BorderLayout(30,30));
c.add(labelPanel,BorderLayout.NORTH);
c.add(displayPanel,BorderLayout.CENTER);
c.add(workPanel,BorderLayout.SOUTH);
c.setBackground(Color.red);
// add a listener for the window closing and save
addWindowListener(
new WindowAdapter()
public void windowClosing(WindowEvent e)
int answer = JOptionPane.showConfirmDialog(null,"Are you sure you would like to save all changes and exit?","File submission",JOptionPane.YES_NO_OPTION);
if(answer == JOptionPane.YES_OPTION)
System.exit(0);
return c;
} // end of createContentPane()
protected void setTabsAndStyles(JTextPane displayPane)
{ // Start of setTabsAndStyles()
// set Font style
Style fontStyle = StyleContext.getDefaultStyleContext().getStyle(StyleContext.DEFAULT_STYLE);
Style regular = displayPane.addStyle("regular", fontStyle);
StyleConstants.setFontFamily(fontStyle, "SansSerif");
Style s = displayPane.addStyle("bold", regular);
StyleConstants.setBold(s,true);
} // End of setTabsAndStyles()
public JTextPane addTextToTextPane()
{ // start of addTextToTextPane()
Document doc = displayPane.getDocument();
try
{ // start of tryblock
// clear previous text
doc.remove(0,doc.getLength());
// insert titles of columns
doc.insertString(0,"NAME\tSURNAME\tHOME NO\tWORK NO\tCELL NO\n",displayPane.getStyle("bold"));
} // end of try block
catch(BadLocationException ble)
{ // start of ble exception handler
System.err.println("Could not insert text.");
} // end of ble exception handler
return displayPane;
} // end of addTextToTextPane()
// code to process user clicks
public void actionPerformed(ActionEvent e)
{ // start of actionPerformed()
String arg = e.getActionCommand();
// user clicks create button
if(arg.equals("Create"))
createNew();
if(arg.equals("Search"))
if(arg.equals("Modify"))
if(arg.equals("Delete"))
if(arg.equals("Exit"))
} // end of actionPerformed()
// method to create a new contact
public void createNew()
{ // start of create new contact()
name = JOptionPane.showInputDialog(null,"Please enter the new contacts first name or press cancel to exit.");
if(name == null) finish(); // if user clicks cancel
if(name.length() <=0)
JOptionPane.showMessageDialog(null,"You did not enter a valid name.\nPlease make sure you enter data correctly.","Error",JOptionPane.ERROR_MESSAGE);
createNew(); // To return to the create method
surname = JOptionPane.showInputDialog(null,"Please enter the new contacts surname or press cancel to exit.");
if(surname == null) finish(); // if user clicks cancel
if(surname.equals(""))
int answer = JOptionPane.showConfirmDialog(null,"You did not enter a surname.\nAre you sure you wish to leave the surname empty?","No data entered",JOptionPane.YES_NO_OPTION); // Asks if data was valid
if(answer == JOptionPane.NO_OPTION)
surname = JOptionPane.showInputDialog(null,"Please enter the new contacts surname.");
home = JOptionPane.showInputDialog(null,"Please enter the new contacts home number or press cancel to exit.");
if(home == null) finish(); // if user clicks cancel
work = JOptionPane.showInputDialog(null,"Please enter the new contacts work number or press cancel to exit.");
if(work == null) finish(); // if user clicks cancel
cell = JOptionPane.showInputDialog(null,"Please enter the new contacts cell number or press cancel to exit.");
if(cell == null) finish(); // if user clicks cancel
} // end of create new contact()
// method to close applicatin
public void finish()
// method to search a contact
public static void main(String[] args)
{ // start of main()
// Set look and feel of interface
try
{ // start of try block
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
} // end of try block
catch(Exception e)
{ // start of catch block
JOptionPane.showMessageDialog(null,"There was an error in setting the look and feel of this application","Error",JOptionPane.INFORMATION_MESSAGE);
} // end of catch block
Phonebook p = new Phonebook();
p.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
p.setJMenuBar(p.createMenuBar());
p.setContentPane(p.createContentPane());
p.setSize(520,500);
p.setVisible(true);
p.setResizable(false);
} // end of main()
} //end of classYucca wrote:
Line 244 is where I test for if the user actuallu entered a String at all. Is there an alternative way of writing that code?
if(name.length() <=0)
JOptionPane.showMessageDialog(null,"You did not enter a valid name.\nPlease make sure you enter data correctly.","Error",JOptionPane.ERROR_MESSAGE);
createNew(); // To return to the create method
Change:
if(name == null) finish(); To
if(name == null) {
finish();
return;
} -
HELP! Exception when Programmatically Adding a Portlet to a Page
We have been able to programmatically add WSRP Producers and Portlets into the BEA's local registry with WebLogic Portal 8.1 SP3. When we try to programmatically add a portlet to a page from within a JSP portlet we are hitting an issue. We are getting an exception when we try to call the addPlaceable method on the page instance manager. Here's the code snippet I'm using to programmatically add a portlet to a page:
IPageInstanceManager ipiManager = new PortalCustomizationManagerImpl();
CustomizationContext customizationContext = new CustomizationContext(ProxyPortletManager.LocaleHelper.findLocale("en"));
DesktopDefinitionId desktopDefinitionId = new DesktopDefinitionId("portal", new PortalPath("rdec"), new DesktopPath("enterprisePortal"));
PageInstanceId pageInstanceId = new PageInstanceId(6001);
PortletDefinitionId portletDefinitionId = new PortletDefinitionId(6002);
PlaceholderDefinitionId placeholderDefinitionId = new PlaceholderDefinitionId(2001);
PlaceableInstance placeableInstance = ipiManager.addPlaceable(customizationContext, desktopDefinitionId, pageInstanceId, portletDefinitionId, placeholderDefinitionId, 0);However, I get the following stack trace when the last line executes (ipiManager.addPlaceable):
Error opening /WEB-INF/views/registry/registry.jsp.
The source of this error is javax.ejb.EJBException: DataSource [java:comp/env/jdbc/portalFrameworkPool] not found due to
[javax.naming.NameNotFoundException: While trying to look up comp/env/jdbc/portalFrameworkPool in /app/webapp/portal/38957322.; remaining name 'comp/env/jdbc/portalFrameworkPool']. at com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
anagerImpl.getDataSource()Ljavax.sql.DataSource;(PortalCustomizationMana
gerImpl.java:1420) at
com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
anagerImpl.getConnection()Ljava.sql.Connection;(PortalCustomizationManag
erImpl.java:1396) at
com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
anagerImpl.getPageInstance(Lcom.bea.netuix.application.manager.Customiza
tionContext;Lcom.bea.netuix.application.identifier.PageInstanceId;)Lcom.
bea.netuix.application.instance.PageInstance;(PortalCustomizationManager
Impl.java:401) at
com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
anagerImpl.getPageDefinitionId(Lcom.bea.netuix.application.manager.Custo
mizationContext;Lcom.bea.netuix.application.identifier.PageInstanceId;)L
com.bea.netuix.application.identifier.PageDefinitionId;(PortalCustomizat
ionManagerImpl.java:1438) at
com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationM
anagerImpl.addPlaceable(Lcom.bea.netuix.application.manager.Customizatio
nContext;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Lcom
.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.applic
ation.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.ident
ifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.Pla
ceableInstance;(PortalCustomizationManagerImpl.java:473) at jsp_servlet._web_45_inf._views._registry.__registry._jspService(Ljavax.s
ervlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)
V(registry.jsp:107) at
weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljava
x.servlet.ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()L
java.lang.Object;(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.S
ervletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.
FilterChainImpl;)V(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.S
ervletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.
FilterChainImpl;)V(ServletStubImpl.java:463) at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequ
est;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFil
ter.java:28) at
weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.Servle
tRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax.servlet.Servle
tRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(Po
rtalServletFilter.java:351) at
weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.Servle
tRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(Ljavax.servlet.Ser
vletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V
(PageFlowJspFilter.java:101) at
weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.Servle
tRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.S
ervletRequest;Ljavax.servlet.ServletResponse;Z)V(RequestDispatcherImpl.j
ava:628) at
weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.S
ervletRequest;Ljavax.servlet.ServletResponse;)V(RequestDispatcherImpl.ja
va:412) at
com.bea.netuix.servlets.controls.content.JspContent.beginRender(Ljava.io
.Writer;)Z(JspContent.java:483) at
com.bea.netuix.nf.ControlLifecycle$6.visit(Lcom.bea.netuix.nf.UIControl;
Ljava.lang.Object;)Z(ControlLifecycle.java:441) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.
nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(Control
TreeWalker.java:433) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.
nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(Control
TreeWalker.java:443) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.
nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(Control
TreeWalker.java:443) at
com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.
nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(Control
TreeWalker.java:443) at
com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;
Lcom.bea.netuix.nf.UIControl;Lcom.bea.netuix.nf.concurrency.ControlTreeW
alkerPool;)V(ControlTreeWalker.java:175) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;
Lcom.bea.netuix.nf.UIControl;)V(ControlTreeWalker.java:95) at com.bea.netuix.nf.Lifecycle.run(Lcom.bea.netuix.nf.UIControl;[Lcom.bea.n
etuix.nf.VisitorType;Lcom.bea.netuix.nf.VisitorMap;)V(Lifecycle.java:388
) at com.bea.netuix.nf.UIControl.render()V(UIControl.java:584) at com.bea.netuix.servlets.controls.PresentationContext.render(Ljavax.servl
et.http.HttpServletRequest;)V(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(Lcom.bea.netuix.s
ervlets.controls.PresentationContext;Ljavax.servlet.http.HttpServletRequ
est;)V(RenderToolkit.java:123) at
com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag()I(RenderChild
.java:58) at
jsp_servlet._framework._skeletons._rdec.__flowlayout._jspService(Ljavax.
servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;
)V(flowlayout.jsp:33)Could anyone please help? Thank you.
- T.C.sorry for all the replys (but i keep finding stuff)
PortalCustomizationManger is an EJB you can't just
instantiate a new instance
IPageInstanceManager ipiManager = new
PortalCustomizationManagerImpl();
you need to look it up
String JNDI_NAME =
ApplicationHelper.getApplicationName() +
".BEA_netuix.PortalPresentationManager";
portalCustomizationManagerHome =
(PortalCustomizationManagerHome)initialContext.lookup(
JNDI_NAME);
portalCustomizationManager =
portalCustomizationManagerHome.create();No need to apologize for all the replies, they are VERY MUCH appreciated. Thank you.
I tried your suggestion (although I had to change the JNDI lookup to lookup the PortalCustomizationManager instead of the PortalPresentationManager because of a ClassCastException) and I get a NullPointerException. Here is the code I am using:
InitialContext initialContext = new InitialContext();
CustomizationContext customizationContext = new CustomizationContext(ProxyPortletManager.LocaleHelper.findLocale("en"), request);
DesktopDefinitionId desktopDefinitionId = new DesktopDefinitionId("portal", new PortalPath("rdec"), new DesktopPath("enterprisePortal"));
PageInstanceId pageInstanceId = new PageInstanceId(6001);
PortletDefinitionId portletDefinitionId = new PortletDefinitionId(6002);
PlaceholderDefinitionId placeholderDefinitionId = new PlaceholderDefinitionId(2001);
PortalCustomizationManagerHome pageDefinitionManagerHome = (PortalCustomizationManagerHome) initialContext.lookup("RDECPortal.BEA_netuix.PortalCustomizationManager");
PortalCustomizationManager pageDefinitionManager = pageDefinitionManagerHome.create();
PlaceableInstance placeableInstance = pageDefinitionManager.addPlaceable(customizationContext, desktopDefinitionId, pageInstanceId, portletDefinitionId, placeholderDefinitionId, 0);...and here is the full stack trace I get when the code is executed:
Error opening /WEB-INF/views/registry/registry.jsp.
The source of this error is java.rmi.RemoteException: EJB Exception: ; nested exception is: java.lang.NullPointerException at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(Ljava.lang.String;Ljava.lang.Throwable;)V(EJBRuntimeUtils.java:102) at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(BaseEJBHome.java:307) at weblogic.ejb20.internal.BaseEJBObject.postInvoke(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(BaseEJBObject.java:263) at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(Lweblogic.ejb20.internal.InvocationWrapper;Ljava.lang.Throwable;)V(StatelessEJBObject.java:140) at com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationManager_z7jdbo_EOImpl.addPlaceable(Lcom.bea.netuix.application.manager.CustomizationContext;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.PlaceableInstance;(PortalCustomizationManager_z7jdbo_EOImpl.java:1202) at jsp_servlet._web_45_inf._views._registry.__registry._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(registry.jsp:119) at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419) at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PortalServletFilter.java:351) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PageFlowJspFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Z)V(RequestDispatcherImpl.java:628) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(RequestDispatcherImpl.java:412) at com.bea.netuix.servlets.controls.content.JspContent.beginRender(Ljava.io.Writer;)Z(JspContent.java:483) at com.bea.netuix.nf.ControlLifecycle$6.visit(Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)Z(ControlLifecycle.java:441) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:433) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Lcom.bea.netuix.nf.concurrency.ControlTreeWalkerPool;)V(ControlTreeWalker.java:175) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;)V(ControlTreeWalker.java:95) at com.bea.netuix.nf.Lifecycle.run(Lcom.bea.netuix.nf.UIControl;[Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.VisitorMap;)V(Lifecycle.java:388) at com.bea.netuix.nf.UIControl.render()V(UIControl.java:584) at com.bea.netuix.servlets.controls.PresentationContext.render(Ljavax.servlet.http.HttpServletRequest;)V(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(Lcom.bea.netuix.servlets.controls.PresentationContext;Ljavax.servlet.http.HttpServletRequest;)V(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag()I(RenderChild.java:58) at jsp_servlet._framework._skeletons._rdec.__flowlayout._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(flowlayout.jsp:33) at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33) Caused by: java.lang.NullPointerException at com.bea.netuix.application.manager.persistence.jdbc.PageInstanceDelegate.addPlaceable(Ljava.sql.Connection;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Ljava.lang.String;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.instance.PlaceableInstance;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;IZ)Lcom.bea.netuix.application.instance.PlaceableInstance;(PageInstanceDelegate.java:722) at com.bea.netuix.application.manager.persistence.jdbc.PageInstanceDelegate.addPlaceable(Ljava.sql.Connection;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Ljava.lang.String;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.PlaceableInstance;(PageInstanceDelegate.java:669) at com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationManagerImpl.addPlaceable(Lcom.bea.netuix.application.manager.CustomizationContext;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.PlaceableInstance;(PortalCustomizationManagerImpl.java:503) at com.bea.netuix.application.manager.persistence.jdbc.PortalCustomizationManager_z7jdbo_EOImpl.addPlaceable(Lcom.bea.netuix.application.manager.CustomizationContext;Lcom.bea.netuix.application.identifier.DesktopDefinitionId;Lcom.bea.netuix.application.identifier.PageInstanceId;Lcom.bea.netuix.application.identifier.PlaceableDefinitionId;Lcom.bea.netuix.application.identifier.PlaceholderDefinitionId;I)Lcom.bea.netuix.application.instance.PlaceableInstance;(PortalCustomizationManager_z7jdbo_EOImpl.java:1192) at jsp_servlet._web_45_inf._views._registry.__registry._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(registry.jsp:119) at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419) at weblogic.servlet.internal.TailFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(TailFilter.java:28) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.p13n.servlets.PortalServletFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PortalServletFilter.java:351) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at com.bea.wlw.netui.pageflow.PageFlowJspFilter.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Ljavax.servlet.FilterChain;)V(PageFlowJspFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(FilterChainImpl.java:27) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Z)V(RequestDispatcherImpl.java:628) at weblogic.servlet.internal.RequestDispatcherImpl.include(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(RequestDispatcherImpl.java:412) at com.bea.netuix.servlets.controls.content.JspContent.beginRender(Ljava.io.Writer;)Z(JspContent.java:483) at com.bea.netuix.nf.ControlLifecycle$6.visit(Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)Z(ControlLifecycle.java:441) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:433) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Ljava.lang.Object;)V(ControlTreeWalker.java:443) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;Lcom.bea.netuix.nf.concurrency.ControlTreeWalkerPool;)V(ControlTreeWalker.java:175) at com.bea.netuix.nf.ControlTreeWalker.walk(Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.UIControl;)V(ControlTreeWalker.java:95) at com.bea.netuix.nf.Lifecycle.run(Lcom.bea.netuix.nf.UIControl;[Lcom.bea.netuix.nf.VisitorType;Lcom.bea.netuix.nf.VisitorMap;)V(Lifecycle.java:388) at com.bea.netuix.nf.UIControl.render()V(UIControl.java:584) at com.bea.netuix.servlets.controls.PresentationContext.render(Ljavax.servlet.http.HttpServletRequest;)V(PresentationContext.java:405) at com.bea.netuix.servlets.util.RenderToolkit.renderChild(Lcom.bea.netuix.servlets.controls.PresentationContext;Ljavax.servlet.http.HttpServletRequest;)V(RenderToolkit.java:123) at com.bea.netuix.servlets.jsp.taglib.RenderChild.doStartTag()I(RenderChild.java:58) at jsp_servlet._framework._skeletons._rdec.__flowlayout._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(flowlayout.jsp:33) at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
Any ideas why I'm getting a NPE??? Thanks.
- T.C. -
Getting a SQL exception when trying to coonet to SQL2000.
Hi,
I am getting the follwoing error when I run my Jrun on the server. My application is trying to talk to IPC(Internet Pricing COnfiguration) using TDS Driver. Now we upgraded the server to MSSQL2000 and OS as Window2000.
here is the error.
com.sap.sxe.sys.exc.exc_database_error: [TDS driver]Error in the TDS datastream: unknown block: 68 (44)
45 ffffffd1 2 0 45 4e fffffffd 10 0 ffffffc1 0 2 0 0 0
at com/sap/sxe/db/imp/jdbc/conn_jdbc.create_sql_exception
at com/sap/sxe/db/imp/jdbc/conn_jdbc.db_execute_query
at com/sap/sxe/db/conn.db_read_table
at com/sap/sxe/db/db.db_read_table
at com/sap/sxe/db/db.db_read_table
at com/sap/sxe/db/sys_t100.t100_contains_single_lang_ids
at com/sap/sxe/db/sys_t100.new_sys_t100
at com/sap/sxe/db/sys_t100.t100_init
at com/sap/sce/front/base/DataBase._connect
at com/sap/sce/front/base/DataBase.<init>
at com/sap/spc/base/SPCSession.newSceDb
at com/sap/spc/base/SPCSession.init
at com/sap/spc/base/SPCSession.<init>
at com/sap/spc/base/SPCSession.<init>
at com/hp/ibs/ipc/SPCEngine.<init>
at com/hp/ibs/confighpd/HpdServlet.getSPCEngine
at com/hp/ibs/confighpd/HpdServlet.initSceAndPrice
at com/hp/ibs/basket/Dispatcher.init
at com/livesoftware/jrun/JRunServletLoader.loadServlet
at com/livesoftware/jrun/JRun.getServlet
at com/livesoftware/jrun/JRun.getServlet
at com/livesoftware/jrun/JRun.runServlet
at com/livesoftware/jrun/JRunGeneric.handleConnection
at com/livesoftware/jrun/service/web/JRunWebServiceHandler.handleOutput
at com/livesoftware/jrun/service/web/JRunWebServiceHandler.handleRequest
at com/livesoftware/jrun/service/ThreadConfigHandler.run
com.sap.sxe.sys.exc.exc_database_error: [TDS driver]Error in the TDS datastream: unknown block: 0 (0)
0 8 0 34 5 42 0 55 0 49 0 4c 0 44 0 0 0 8 0 3d
Can any one help me out.
Thank You
NeelimaError in the TDS datastream: unknown block: 68Sounds like Microsoft have updated the TDS protocol for MSSQL2000. If you're using the Free TDS (www.freetds.org) driver I know you can configure the it for different versions of TDS (check out the FAQ or the doco on their web site) but whether it works with SQL 2000 or not I don't know.
Col -
Get Inaccessible WSDL Exception when call the CRMOD WS
Hi All,
I download the Contact general WSDL, then Generate Web Service Proxy with JAX-WS(Version = Oracle WebServices (11.1.1.0.0, build 100408.1504.05443)) in JDeveloper(11.1.1.0).
Then I wrote the following code to invoke the ContactInsert method.
public class ContactClient
@WebServiceRef
private static Contact_Service contact_Service;
final static QName qName = new QName("urn:crmondemand/ws/ecbs/contact/", "Contact");
private static String server = "https://secure-ausomxdsa.crmondemand.com/Services/Integration;";
public static void main(String [] args) throws Exception
File kstore = new File("D:\\Oracle\\Middleware\\jdk160_18\\jre\\lib\\security\\jssecacerts");
boolean exists = kstore.exists();
if(!exists) {
throw new FileNotFoundException(kstore.getName());
System.setProperty("javax.net.ssl.trustStore", kstore.getAbsolutePath());
URL url = getWSDLURL(server);
System.out.println(url.toString());
Contact_Service contact_Service = new Contact_Service(url, qName);
Contact contact = contact_Service.getContact();
ContactInsertInput contactInsertInput = new ContactInsertInput();
contactInsertInput.setListOfContact(prepareInsertData());
contactInsertInput.setEcho("off");
ContactInsertOutput contactInsertOutput = new ContactInsertOutput();
contactInsertOutput = contact.contactInsert(contactInsertInput);
getOutPutResult(contactInsertOutput);
private static URL getWSDLURL (String urlStr) throws Exception{
GetSessionId getSessionId = new GetSessionId();
URL url = null;
try {
url = new URL(urlStr+"JSESSIONID="+getSessionId.getSessionId());
} catch (MalformedURLException e) {
e.printStackTrace();
throw new RuntimeException(e);
return url;
private static ListOfContactData prepareInsertData(){
ListOfContactData listOfContactData = new ListOfContactData();
ContactData contactData = new ContactData();
contactData.setContactFirstName("Joerg");
contactData.setContactLastName("Wallmueller");
contactData.setExternalSystemId("1234");
listOfContactData.getContact().add(contactData);
return listOfContactData;
private static void getOutPutResult(ContactInsertOutput result){
ListOfContactData listOfContactData = new ListOfContactData();
listOfContactData = result.getListOfContact();
ContactData contactData = new ContactData();
contactData = listOfContactData.getContact().get(0);
System.out.println(contactData.getCustomerId());
Then I run the script, get the error:
Exception in thread "main" com.sun.xml.internal.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException.
java.io.IOException: Server returned HTTP response code: 400 for URL: https://secure-ausomxdsa.crmondemand.com/Services/Integration;jsessionid=7c48ff64e251b2dc4667415290e54afbc2dd3762264182ea62b35aec974aa1b5.e3iRbxmSbx50ax8NbxuSbN8Se0
java.io.IOException: Server returned HTTP response code: 400 for URL: https://secure-ausomxdsa.crmondemand.com/Services/Integration;jsessionid=7c48ff64e251b2dc4667415290e54afbc2dd3762264182ea62b35aec974aa1b5.e3iRbxmSbx50ax8NbxuSbN8Se0?wsdl
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unknown Source)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)
at javax.xml.ws.Service.<init>(Unknown Source)
at crmondemand.ws.ecbs.user.User_Service.<init>(User_Service.java:42)
at ws.crmod.oracle.UserWSInvoke.main(UserWSInvoke.java:33)
Any body can tell me why the response is 400? It takes me a lot of time. Thanks
帖子经 [email protected]编辑过Hi All,
I download the Contact general WSDL, then Generate Web Service Proxy with JAX-WS(Version = Oracle WebServices (11.1.1.0.0, build 100408.1504.05443)) in JDeveloper(11.1.1.0).
Then I wrote the following code to invoke the ContactInsert method.
public class ContactClient
@WebServiceRef
private static Contact_Service contact_Service;
final static QName qName = new QName("urn:crmondemand/ws/ecbs/contact/", "Contact");
private static String server = "https://secure-ausomxdsa.crmondemand.com/Services/Integration;";
public static void main(String [] args) throws Exception
File kstore = new File("D:\\Oracle\\Middleware\\jdk160_18\\jre\\lib\\security\\jssecacerts");
boolean exists = kstore.exists();
if(!exists) {
throw new FileNotFoundException(kstore.getName());
System.setProperty("javax.net.ssl.trustStore", kstore.getAbsolutePath());
URL url = getWSDLURL(server);
System.out.println(url.toString());
Contact_Service contact_Service = new Contact_Service(url, qName);
Contact contact = contact_Service.getContact();
ContactInsertInput contactInsertInput = new ContactInsertInput();
contactInsertInput.setListOfContact(prepareInsertData());
contactInsertInput.setEcho("off");
ContactInsertOutput contactInsertOutput = new ContactInsertOutput();
contactInsertOutput = contact.contactInsert(contactInsertInput);
getOutPutResult(contactInsertOutput);
private static URL getWSDLURL (String urlStr) throws Exception{
GetSessionId getSessionId = new GetSessionId();
URL url = null;
try {
url = new URL(urlStr+"JSESSIONID="+getSessionId.getSessionId());
} catch (MalformedURLException e) {
e.printStackTrace();
throw new RuntimeException(e);
return url;
private static ListOfContactData prepareInsertData(){
ListOfContactData listOfContactData = new ListOfContactData();
ContactData contactData = new ContactData();
contactData.setContactFirstName("Joerg");
contactData.setContactLastName("Wallmueller");
contactData.setExternalSystemId("1234");
listOfContactData.getContact().add(contactData);
return listOfContactData;
private static void getOutPutResult(ContactInsertOutput result){
ListOfContactData listOfContactData = new ListOfContactData();
listOfContactData = result.getListOfContact();
ContactData contactData = new ContactData();
contactData = listOfContactData.getContact().get(0);
System.out.println(contactData.getCustomerId());
Then I run the script, get the error:
Exception in thread "main" com.sun.xml.internal.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException.
java.io.IOException: Server returned HTTP response code: 400 for URL: https://secure-ausomxdsa.crmondemand.com/Services/Integration;jsessionid=7c48ff64e251b2dc4667415290e54afbc2dd3762264182ea62b35aec974aa1b5.e3iRbxmSbx50ax8NbxuSbN8Se0
java.io.IOException: Server returned HTTP response code: 400 for URL: https://secure-ausomxdsa.crmondemand.com/Services/Integration;jsessionid=7c48ff64e251b2dc4667415290e54afbc2dd3762264182ea62b35aec974aa1b5.e3iRbxmSbx50ax8NbxuSbN8Se0?wsdl
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(Unknown Source)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(Unknown Source)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Unknown Source)
at javax.xml.ws.Service.<init>(Unknown Source)
at crmondemand.ws.ecbs.user.User_Service.<init>(User_Service.java:42)
at ws.crmod.oracle.UserWSInvoke.main(UserWSInvoke.java:33)
Any body can tell me why the response is 400? It takes me a lot of time. Thanks
帖子经 [email protected]编辑过 -
Getting an interrupted exception when trying to bring down the service
Hi,
From the client side , I started an invocation service which is giving an interrupted exception when trying to shut it down.
2013-08-01 12:21:15.576 PDT ERROR - - - - Oracle Coherence 3.7.1.6 (thread=Invocation:customerLoaderWM:EventDispatcher, member=5): This thread was interrupted while waiting for the results of a request:
Poll
PollId=20, active
InitTimeMillis=1375384875574
Service=Cluster (0)
RespondedMemberSet=[]
LeftMemberSet=[]
RemainingMemberSet=[1]
2013-08-01 12:21:15.576 PDT ERROR - - - - Oracle Coherence 3.7.1.6 (thread=Invocation:customerLoaderWM:EventDispatcher, member=5): Error while starting service "customerLoaderWM": (Wrapped: Interrupted while waiting for response from:[Member(Id=1, Timestamp=2013-08-01 12:20:11.375, Address=10.241.100.189:18088, MachineId=42483, Location=site:,machine:slc05esi,process:4777,member:ecs1, Role=OracleChargingLauncher)]) java.lang.InterruptedException
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.processPollInterrupt(Grid.CDB:40)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:54)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:11)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ClusterService.ensureService(ClusterService.CDB:15)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.register(Grid.CDB:5)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:3)
at com.tangosol.coherence.component.util.SafeService.startService(SafeService.CDB:39)
at com.tangosol.coherence.component.util.SafeService.restartService(SafeService.CDB:28)
at com.tangosol.coherence.component.util.SafeService.ensureRunningService(SafeService.CDB:23)
at com.tangosol.coherence.component.util.SafeService.start(SafeService.CDB:14)
at com.tangosol.coherence.commonj.WorkManager.getServers(WorkManager.java:599)
at com.tangosol.coherence.commonj.WorkManager.disableServer(WorkManager.java:656)
at com.tangosol.coherence.commonj.WorkManager$ServiceListener.memberLeft(WorkManager.java:1213)
at com.tangosol.net.MemberEvent.dispatch(MemberEvent.java:116)
at com.tangosol.net.MemberEvent.dispatch(MemberEvent.java:87)
at com.tangosol.coherence.component.util.SafeService.translateEvent(SafeService.CDB:28)
at com.tangosol.coherence.component.util.SafeService.memberLeft(SafeService.CDB:1)
at com.tangosol.net.MemberEvent.dispatch(MemberEvent.java:116)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$DispatchEvent.run(Grid.CDB:7)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service$EventDispatcher.onNotify(Service.CDB:26)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:39)
It says one thread is interrupted by another. Has anyone faced this issue?.
Any info on this is appreciated.
Thanks.Error in the TDS datastream: unknown block: 68Sounds like Microsoft have updated the TDS protocol for MSSQL2000. If you're using the Free TDS (www.freetds.org) driver I know you can configure the it for different versions of TDS (check out the FAQ or the doco on their web site) but whether it works with SQL 2000 or not I don't know.
Col -
Ive downloaded a TV programme on itunes and when I click to view it I get an error message "itunes has stopped working" and it shuts down
Please helpLet's try the following user tip with that one:
iTunes for Windows 10.7.0.21: "iTunes has stopped working" error messages when playing videos, video podcasts, movies and TV shows -
I've been getting "plug in failure" when I try to view tv shows
I've been getting "plug in failure" when I try to watch video
shows on Safari. It happened in the middle of a commercial break.From your Safari menu ba click Safari > Preferences then select the Security tab.
Select: Allow Plug-Ins -
Possible bug when creating multiple detail view objects
using jdev 11.1.1.0.0 to build jsf/adf applications. I wanted to report what seems like a bug in 11g. I have a parent table which has two child tables. After creating the appropriate entities, associations, views, and view links, the app module looks like this:
MasterView
--DetailView1
--DetailView2
The two detail view objects are on the same level, they are both direct children of the Master view.
Here's what's happening:
1) I create the master entity/view objects (MasterView)
2) I create one of the detail entity/view objects (DetailView1).
3) I create the association and view link to establish relationship between MasterView and DetailView1. Everything works fine.
4) I create the entity/view objects for second detail view (DetailView2)
5) When I attempt to create a second view link (based off an association) to establish the relationship between MasterView and DetailView2, the query clauses of the Create View Link wizard (screens 4 and 5) do not get created properly. I finish the wizard and save. Not only does this view link not get created properly, but in the process the query clauses that were defined in the first view link between MasterView and DetailView1 are wiped out. This will break any coordination between master and detail views in both the app module tester and runtime. Has anyone seen this problem?fyi, it looks like this issue has been resolved with jdev 11.1.1.0.2 (Update 2)
-
Jbo-30003 exception when logged in users exceed 100
hi
when users connected in application exceed 100 or some times 70
following error raised:
Error 500--Internal Server Error
oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (org.myapp.model.services.appModuleLocal) failed to checkout an application module due to the following exception:
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1543)
at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1404)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
at oracle.adf.model.BindingContext.get(BindingContext.java:457)
at oracle.adf.model.BindingContext.findDataControl(BindingContext.java:308)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.getDataControl(JUCtrlActionBinding.java:489)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.isOperationEnabled(JUCtrlActionBinding.java:262)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.isActionEnabled(JUCtrlActionBinding.java:249)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.getEnabled(JUCtrlActionBinding.java:1473)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.internalGet(JUCtrlActionBinding.java:1567)
at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:649)
at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)
at oracle.adfinternal.view.faces.model.FacesPropertyResolver.getValue(FacesPropertyResolver.java:92)
at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:187)
at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:171)
at com.sun.faces.el.impl.UnaryOperatorExpression.evaluate(UnaryOperatorExpression.java:187)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
at oracle.adfinternal.view.faces.uinode.ValueBindingBoundValue.getValue(ValueBindingBoundValue.java:30)
at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.getAttributeValueImpl(UIXComponentUINode.java:392)
at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.getAttributeValue(UIXComponentUINode.java:127)
at oracle.adfinternal.view.faces.ui.laf.base.BaseLafUtils.getLocalBooleanAttribute(BaseLafUtils.java:449)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.LinkRenderer.isDisabled(LinkRenderer.java:119)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.LinkRenderer.getStyleClass(LinkRenderer.java:349)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.renderStyleAttrs(XhtmlLafRenderer.java:508)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.renderAttributesExceptID(XhtmlLafRenderer.java:248)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.renderAttributes(XhtmlLafRenderer.java:267)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.LinkRenderer.renderAttributes(LinkRenderer.java:68)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.ButtonRenderer.renderAttributes(ButtonRenderer.java:72)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.ButtonRenderer.prerender(ButtonRenderer.java:158)
at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:79)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.XhtmlLafRenderer.render(XhtmlLafRenderer.java:69)
at oracle.adfinternal.view.faces.ui.laf.base.xhtml.LinkRenderer.render(LinkRenderer.java:40)
at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.ButtonRenderer.renderAltContent(ButtonRenderer.java:211)
at oracle.adfinternal.view.faces.ui.laf.oracle.desktop.ButtonRenderer.render(ButtonRenderer.java:192)
at oracle.adfinternal.view.faces.uinode.UIXComponentUINode.renderInternal(UIXComponentUINode.java:177)
at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.encodeEnd(UINodeRendererBase.java:53)
at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:246)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelHorizontalRenderer._encodeChild(PanelHorizontalRenderer.java:158)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelHorizontalRenderer._encodeChildren(PanelHorizontalRenderer.java:139)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelHorizontalRenderer.encodeAll(PanelHorizontalRenderer.java:62)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:473)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:253)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:465)
at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:253)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:721)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:234)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.encodeColumnChild(PanelFormRenderer.java:275)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.renderColumn(PanelFormRenderer.java:251)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer._renderColumns(PanelFormRenderer.java:545)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer._encodeChildren(PanelFormRenderer.java:153)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelFormRenderer.encodeAll(PanelFormRenderer.java:69)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:242)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:265)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:169)
at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:645)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:568)
at oracle.adf.view.faces.webapp.UIXComponentTag.doEndTag(UIXComponentTag.java:100)
at jsp_servlet._pages.__login_jspx._jspService(__login_jspx.java:286)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
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:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:261)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
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:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at org.nict.pp10.controller.jsf.NictAuthenticationFilter.doFilter(NictAuthenticationFilter.java:220)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3229)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
can any body help me?
is there links for configure application module and it's properties?Hi,
the developer guide has a section about tuning and configuration
http://download-uk.oracle.com/docs/html/B25947_01/toc.htm
Frank
Note that a single OC4J container wont be able to handle any size of user population. So you may need to consider additional OC4J instances
Maybe you are looking for
-
Can't access Aperture 2 library from Motion 3
I can't seem to access my Aperture 2 library from Motion 3, am I missing something? Many thanks Mark
-
Is it possible to get one sliding panel to automatically display a web site?
I have a slinding panel widget with 6 content panes. One of the tabs is named "Online Help'. I would like the content pane for that tab to automattically display a form that is on a website. The 'onclick' that is associated with the "Online Help" t
-
How to set focus on a input field in a selected row of a table?
In a previous discussion (http://scn.sap.com/thread/3564789) I asked how to access an input (sap.m.Input) field of a selected row in a table. In the answer that was supplied I was shown how to get the items of the table. Then using the selected index
-
Unable to connect to FDM workbench and workspace Authentication failure 2007
Hi I am not able to login to FDM workbench and workspace through Admin user . when i tried to login i am getting Authentication Failure 2007 message. i had created .udl file and checked whether its connecting to SQL DB its working fine i am getting
-
N70 Backup error code 0x80400005 ,pls inform
Hi i have a problem during back-up does anyone know a solution to this. there has been an fatal error during making of a backup Faultcode : 0x80400005 Nokia PC Suite 6.85.14.1, Nederlands (Nederland) Nokia Stuurprogramma voor de connectivity cable 6.