Java.lang.parseInt() and NT???
Please help;
When I compile It is fine but when I run it it gives this message.
C:\jdk1.3.1_01\Html\classes>java myRectangle1
Enter Width:
34
java.lang.NumberFormatException: 34
at java.lang.Integer.parseInt(Integer.java:423)
at java.lang.Integer.valueOf(Integer.java:516)
at RecHW.run(myRectangle1.java:16)
at java.lang.Thread.run(Thread.java:484)
Here is the source code:
import java.io.*;
import java.lang.*;
import Shapes.Rectangle;
class RecHW implements Runnable {
Rectangle rect;
Thread kicker=null;
public void run() {
try {
int w,h;
char ch;
StringBuffer str=new StringBuffer();
System.out.println("Enter Width:");
while((ch = (char)System.in.read())!='\n') {
str.append(ch);
w = Integer.valueOf(str.toString()).intValue();
System.out.println("2");
System.out.println("Enter Height:");
str=new StringBuffer();
while((ch=(char)System.in.read())!='\n') {
str.append(ch);
h = Integer.valueOf(str.toString()).intValue();
Rectangle rect=new Rectangle(w,h);
rect.setWH(w,h);
rect.drawRect();
} catch (IOException e) {
System.out.println("Here");
public void start(Rectangle r) {
rect=r;
kicker=new Thread(this);
kicker.start();
class myRectangle1 {
public static void main(String args[]) {
RecHW rec=new RecHW();
new Thread(rec).start();
Can you tell me why an applet like this
<applet codebase="http://java.sun.com/applets/jdk/1.1/demo/NervousText"code="NervousText.class" width=400 height=75>
<param name="text" value="Welcome to HotJavaTM Browser!">
<hr>
If you were using a JavaTM technology-enabled browser such as HotJava,
you would see dancing text instead of this paragraph.
<hr>
</applet>
works fine when it is loaded and when I change codebase related to a file on my computer and change the code which runs fine as a standalone, then the html page does not give what it was expected to do?
Thanks!
Similar Messages
-
URGENT- PLEASE HELP: java.lang.threads and BC4J
Hi,
according to my issue "no def found for view" in the same titled thread I'm wondering how you would implement asynchronous calls of methods that use BC4J to update a couple of data.
To be more precise:
A requirement of our software is to start an update database job, which can take a couple of minutes/hours, from the web browser. Before it will be executed the logged-in user receives a notification that this batch job has been started.
I dont't want to use JMS overhead and MD Beans for this simple requirement, therefore I implemented a class that extends java.lang.Thread and put all the update codings within the run method. After having called the start-method of the thread I get a JBO-25022(No XML file found) error when I try to set a new value for an attribute of the row. The row consists of attributes which belong to four entity objects that mus be updated.
When calling the run method directly, everything works fine.
My questions:
* do you know any workaround how to make the xml files
reachable?
* how would you implement anschronous calls of long time-
consuming jobs?
* is this a bug of BC4J?
Any help, tip, hint is really appreciated.
StefanArno,
many thanks for your reply:
Here is an excerpt of the source code of my thread "Aenderungsdienst":
public class Aenderungsdienst extends java.lang.Thread
private SviAdministrationModuleImpl mSviModul;
// Application module that contains view object
// IKViewImpl
public Aenderungsdienst(SviAdministrationModuleImpl aSviModul)
mSviModul = aSviModul;
public void run()
ausfuehrenAenderungsdienst(mAenderungsdienstNr); <--error within this methode
private int ausfuehrenAenderungsdienst(String aAenderungsdienstNr)
int rAnzahlSaetze = 0;
try
IkViewImpl aenderungen = mSviModul.getIkView();
aenderungen.suchenAenderungssaetze(aAenderungsdienstNr); <-- method within View Object Impl that executes a query with customized where-clauses
if ((rAnzahlSaetze = aenderungen.getRowCount()) > 0)
IkViewRowImpl ik = null;
while (aenderungen.hasNext())
ik = (IkViewRowImpl) aenderungen.next();
ik.setBestandsstatus("B"); <-- error occurs here when setting the status of a current row in my rowset to "B"
mSviModul.getTransaction().postChanges();
mSviModul.getTransaction().commit();
catch (Exception e)
e.printStackTrace();
mSviModul.getTransaction().rollback();
//todo: Verarbeitungsprotokoll erstellen
return rAnzahlSaetze;
This thread will be called by the application module "sviAdministrationModuleImpl":
public void ausfuehrenAenderungsdienst(String
aAenderungsdienstNr)
Aenderungsdienst aenderungsdienst = new
Aenderungsdienst(this);
aenderungsdienst.setAenderungsdienstNr
(aAenderungsdienstNr);
aenderungsdienst.start();
Using the start() method of the thread causes this exception:
[653] No xml file: /hvbg/svi/model/businessobjects/businessobjects.xml, metaobj = hvbg.svi.model.businessobjects.businessobjects
[654] Cannot Load parent Package : hvbg.svi.model.businessobjects.businessobjects
[655] Business Object Browsing may be unavailable
[656] No xml file: /hvbg/svi/model/businessobjects/IK_Inlandsbankverb.xml, metaobj = hvbg.svi.model.businessobjects.IK_Inlandsbankverb
09.03.2004 10:27:41 hvbg.common.businessobjects.HvbgEntityImpl setAttributeInternal
SCHWERWIEGEND: Fehler beim Setzen des Attributs 1 im Entity Objekt: JBO-25002: Definition hvbg.svi.model.businessobjects.IK_Inlandsbankverb vom Typ Entitätszuordnung nicht gefunden.
09.03.2004 10:27:42 hvbg.svi.model.dienste.Aenderungsdienst ausfuehrenAenderungsdienst
SCHWERWIEGEND: Beim Ausführen des Aenderungsdienstes 618 trat während der DB-Aktualisierung ein schwerer Fehler auf:
JBO-25002: Definition hvbg.svi.model.businessobjects.IK_Inlandsbankverb vom Typ Entitätszuordnung nicht gefunden.
oracle.jbo.NoDefException: JBO-25002: Definition hvbg.svi.model.businessobjects.IK_Inlandsbankverb vom Typ Entitätszuordnung nicht gefunden.
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:328)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:268)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649)
at oracle.jbo.server.EntityAssociation.findEntityAssociation(EntityAssociation.java:98)
at oracle.jbo.server.AssociationDefImpl.resolveEntityAssociation(AssociationDefImpl.java:725)
at oracle.jbo.server.AssociationDefImpl.getEntityAssociation(AssociationDefImpl.java:135)
at oracle.jbo.server.AssociationDefImpl.hasContainer(AssociationDefImpl.java:546)
at oracle.jbo.server.AssociationDefImpl.getContainer(AssociationDefImpl.java:468)
at oracle.jbo.server.EntityImpl.getContainer(EntityImpl.java:1573)
at oracle.jbo.server.EntityImpl.setValidated(EntityImpl.java:1649)
at oracle.jbo.server.EntityImpl.setAttributeValueInternal(EntityImpl.java:2081)
at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:1985)
at oracle.jbo.server.AttributeDefImpl.set(AttributeDefImpl.java:1700)
at oracle.jbo.server.EntityImpl.setAttributeInternal(EntityImpl.java:946)
at hvbg.common.businessobjects.HvbgEntityImpl.setAttributeInternal(HvbgEntityImpl.java:56)
at hvbg.svi.model.businessobjects.IKImpl.setBestandsstatus(IKImpl.java:174)
at hvbg.svi.model.businessobjects.IKImpl.setAttrInvokeAccessor(IKImpl.java:770)
at oracle.jbo.server.EntityImpl.setAttribute(EntityImpl.java:859)
at oracle.jbo.server.ViewRowStorage.setAttributeValue(ViewRowStorage.java:1108)
at oracle.jbo.server.ViewRowStorage.setAttributeInternal(ViewRowStorage.java:1019)
at oracle.jbo.server.ViewRowImpl.setAttributeInternal(ViewRowImpl.java:1047)
at hvbg.svi.model.dataviews.IkViewRowImpl.setBestandsstatus(IkViewRowImpl.java:264)
at hvbg.svi.model.dienste.Aenderungsdienst.ausfuehrenAenderungsdienst(Aenderungsdienst.java:337)
at hvbg.svi.model.dienste.Aenderungsdienst.run(Aenderungsdienst.java:290)
Using run(), everything works perfectly.
The view object IKView consists of four entity objects which are linked by associations. There exists an association between the entity objects ik and inlandbankverb. The xml-file for the association object is named "ik_inlandsbankverb.xml". It seems so that this definition could not be found when calling my thread in asynchronous (via start()-method call) mode.
Is this a bug of JDeveloper?
Thanks in advance,
Stefan -
"AWT-EventQueue-0" java.lang.NullPointerException and JInternalFrame
I have two classes one with main method second with GUI methods (JFrame, JInternalFrame). When I call method to start second JInternalFrame from main everything is working but if i call it form any other method i get:
Exception in thread "main" java.lang.NullPointerException
at pkg1.GUI.createFrame(GUI.java:123)
at pkg1.GUI.startFrame2(GUI.java:66)
at pkg1.Top.cos(Top.java:25)
at pkg1.Top.main(Top.java:20) My code:
GUI class
package pkg1;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Frame;
import java.awt.Toolkit;
import java.awt.event.MouseMotionListener;
import javax.swing.JDesktopPane;
import javax.swing.JFrame;
import javax.swing.JInternalFrame;
import javax.swing.JPanel;
import javax.swing.plaf.basic.BasicInternalFrameUI;
import oracle.jdeveloper.layout.XYLayout;
public class GUI
public JDesktopPane desktop;
private XYLayout xYLayout1 = new XYLayout();
public int openFrameCount = 0;
JFrame f = new JFrame();
public void GUII() // Prepare JFrame
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.setSize(500, 600);
f.setVisible(true);
public void startFrame()
desktop = new JDesktopPane();
createFrame(); //create first "window"
f.setContentPane(desktop);
desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
public void startFrame2()
createFrame(); //create second "window"
f.setContentPane(desktop);
desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
public void createFrame()
MyInternalFrame frame = new MyInternalFrame();
frame.setVisible(true); //necessary as of 1.3
desktop.add(frame);
frame.add(new GUI2());
} Top class
public class Top
public static void main(String[] args)
GUI g = new GUI();
g.GUII(); //Create JFrame
g.startFrame(); //Create JInternalFrame
Top t = new Top();
t.sth();
public void sth()
GUI gui = new GUI();
gui.startFrame2();
} MyIntternalFrame class
import javax.swing.JInternalFrame;
import java.awt.event.*;
import java.awt.*;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
import oracle.jdeveloper.layout.XYConstraints;
import oracle.jdeveloper.layout.XYLayout;
/* Used by InternalFrameDemo.java. */
public class MyInternalFrame extends JInternalFrame {
static int openFrameCount = 0;
static final int xOffset = 30, yOffset = 30;
private XYLayout xYLayout1 = new XYLayout();
private JButton jButton1 = new JButton();
private JLabel jLabel1 = new JLabel();
private JFrame c = new JFrame();
private JPanel d = new JPanel();
private XYLayout xYLayout2 = new XYLayout();
public MyInternalFrame() {
super("Document #" + (++openFrameCount),true /*resizable*/,true /*closable*/,true /*maximizable*/,true);//iconifiable*/
//...Create the GUI and put it in the window...
//...Then set the window size or call pack...
int width = new GUI2().width + 10;
int height = new GUI2().height + 40;
setSize(width,height);
setLocation(xOffset*openFrameCount, yOffset*openFrameCount);
} Please tel me where is my mistake or maybe you knew another way to open JInternalFrame with public method form another classSome possibly helpful suggestions:
1) Create one JDesktopPane, and do it in the constructor of GUI. You should call this constructor only once.
2) Get rid of GUII. The GUI constructor will do all this and more.
3) Get rid of startFrame and startFrame2.
4) In GUI2, change your width and height to static variables if you are going to use them in outside classes. There is no reason to have to create a GUI2 object just to get those values. Get them from the class, not the instances.
5) You're doing something funky in your Top class with your mixing of static code and non-static code. My gut tells me that Top is just a static universe that exists to get your code up and running, and that the code within it should all be static, but that's just my personal opinion.
6) In MyInternalFrame, get the height and width from GUI2 (if that's what you want to do) again in a static fashion. Rather than new GUI2().width which makes no sense, use GUI2.width.
Why can't you put the button inside of the JInternalFrame object? I believe that the contentPane of this object which may hold your button (unless you embed a jpanel) uses BorderLayout, so you have to take care how you add jcomponents to the jinternalframe (or more precisely, it's contentPane). -
Help required on java.lang.StackOverFlowError and static initializer
I wanted to create an instance of a class that contains another instance of the same class. So I wrote:
class A {
A z = new A ();
void display () {
System.out.println ("Hello World");
public static void main (String [] args) {
A y = new A();
y.display ();
}During execution I got java.lang.StackOverFlowError. But if I put a static initializer, it works fine. Here is the code using static initializer.
class A {
static{
A z = new A ();
void display () {
System.out.println ("Hello World");
public static void main (String [] args) {
A y = new A();
y.display ();
}Could anyone please help me to understand the logic why "java.lang.StackOverFlowError" is happening here and how the same program runs fine by putting a static initializer ?
Regards,
ShambhuCould anyone please help me to understand the logic
why "java.lang.StackOverFlowError" is happening hereWhen you instantiate an A object with A y = new A () then A z = new A () also gets executed inside the A class, which in it's turn executes A z = new A () again, and again, and again...
and how the same program runs fine by putting a
static initializer ?Because the static block gets executed only once.
The use of class- and instance variables is explained in more detail here:
http://java.sun.com/docs/books/tutorial/java/javaOO/classvars.html -
Java.lang.NullPointerException and ConnectionPool problem
refresh page , problem gone
java.lang.NullPointerException
at Deferment.UpdatePostgraduate.getStatus(UpdatePostgraduate.java:278)
at Deferment.UpdatePostgraduate.doPost(UpdatePostgraduate.java:175)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:402)
at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:170)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
UpdatePostgraduate.java:278
->while (rs.next()) {
175-> tarCount=getStatus(userid);
now I have
Connection conn = null;
CallableStatement calstat=null;
ResultSet rs = null;
in every of my function
and my
public Connection getConnection() throws SQLException, ServletException { Connection conn = null; try{ pool.getConnection(); }catch (SQLException sqle) { throw new ServletException(sqle.getMessage()); } return conn; }private DataSource pool = null;
int tarCount;
int sendMail;
@Override
public void init() throws ServletException {
Context env = null;
try {
env = (Context) new InitialContext().lookup("java:comp/env");
pool = (DataSource) env.lookup("jdbc/test");
if (pool == null) {
throw new ServletException(
"'jdbc/test' is an unknown DataSource"); }
} catch (NamingException ne) {
throw new ServletException(ne);
public Connection getConnection()
throws SQLException, ServletException
Connection conn = null;
try{
conn=pool.getConnection();
}catch (SQLException sqle) {
System.out.println("JDBC error:" + sqle.getMessage());
sqle.printStackTrace();
return conn;
}then on every function I call it like
private int getFound(String UNumber) throws Exception {
Connection conn = null;
CallableStatement calstat=null;
ResultSet rs = null;
try {
conn = pool.getConnection();
calstat = (CallableStatement) conn.prepareCall("{call DuplicatePost(?)}");
calstat.setString(1, UNumber);
rs = calstat.executeQuery();
tarCount = 0;
while (rs.next()) {
tarCount++;
} catch (SQLException se) {
System.out.println("JDBC error:" + se.getMessage());
se.printStackTrace();
} catch (Exception e) {
System.out.println("other error:" + e.getMessage());
e.printStackTrace();
} finally {
try {
if (rs != null) {
rs.close();
if (calstat != null) {
calstat.close();
} catch (SQLException e) {
e.printStackTrace();
} //end finally
return tarCount;
}// end function
}// end -
Java.lang.system and InputStream
java.lang.system has 3 fields defined:
static PrintStream err;
static InputStream in;
static PrintStream out;
As InputStream is a abstract class, can it be used to declare a variable? If so, how to instantiate?
Thanksjava.lang.system has 3 fields defined:
static PrintStream err;
static InputStream in;
static PrintStream out;
As InputStream is a abstract class, can it be used to declare a variable? If so, how to instantiate?You cannot create an object from an abstract class; you can create an object from a sub class of
that abstract class, and that's exactly what that Stystem.in is refering to, an object from a sub
class of the abstract class InputStream. This sub class still IS-A Inputstream and all you have
to know that it behaves exacty as an InputStream.
Think of it this way -- 'birds' by themselves do not exist; sparrows exist and parrots and penguins exist.
Still you can point to a penguin and say "hey! That's a bird". And so is the object refered to by the
System.in variable an InputStream.
kind regards,
Jos -
Java.lang.OutOfMemoryError and PermGen errors
We are getting outOfMemoryErrors and cannot find the cause. Does anybody know how to solve this? Every day we get OutOfMemory and PermGen errors, and nobody seems to be able to solve them. This is from our logs:
<2008-11-18 13:45:04,627> <ERROR> <crps.collaxa.cube.engine.dispatch> <DispatchHelper::handleMessage> failed to handle message
javax.ejb.EJBException: java.lang.OutOfMemoryError
at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:317)
at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeDeliveryBean_LocalProxy_4bin6i8.resolveCallback(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.delivery.ResolveCallbackMessageHandler.handle(ResolveCallbackMessageHandler.java:46)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.OutOfMemoryError
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at oracle.classloader.SharedJar.doOpen(SharedJar.java:208)
at oracle.classloader.SharedCodeSource.open(SharedCodeSource.java:1136)
at oracle.classloader.SharedCodeSource.ensureOpen(SharedCodeSource.java:948)
at oracle.classloader.SharedCodeSource.getResourceBytes(SharedCodeSource.java:967)
at oracle.classloader.CodeSourceSearchPolicy.findResourceBytes(CodeSourceSearchPolicy.java:57)
at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1455)
at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
at oracle.classloader.SearchPolicy$CheckSharedLibraries.getClass(SearchPolicy.java:396)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at java.sql.DriverManager.getCallerClass(DriverManager.java:442)
at java.sql.DriverManager.getDrivers(DriverManager.java:336)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:587)
at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:116)
at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:75)
at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:211)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:170)
at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
at oracle.j2ee.connector.ConnectionPoolImpl$FixedWaitPoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1455)
at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:272)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:200)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
at com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.getConnection(ConnectionFactory.java:336)
at com.collaxa.cube.engine.data.ConnectionFactory.getConnection(ConnectionFactory.java:140)
at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.__loadCallback(BaseDeliveryPersistenceAdaptor.java:368)
at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadCallback(BaseDeliveryPersistenceAdaptor.java:247)
at com.collaxa.cube.engine.data.DeliveryPersistenceMgr.loadCallback(DeliveryPersistenceMgr.java:48)
at com.collaxa.cube.engine.delivery.DeliveryService.resolveCallback(DeliveryService.java:598)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.resolveCallback(CubeDeliveryBean.java:307)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
... 28 more
<2008-11-18 13:45:04,650> <ERROR> <crps.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at oracle.classloader.SharedJar.doOpen(SharedJar.java:208)
at oracle.classloader.SharedCodeSource.open(SharedCodeSource.java:1136)
at oracle.classloader.SharedCodeSource.ensureOpen(SharedCodeSource.java:948)
at oracle.classloader.SharedCodeSource.getResourceBytes(SharedCodeSource.java:967)
at oracle.classloader.CodeSourceSearchPolicy.findResourceBytes(CodeSourceSearchPolicy.java:57)
at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1455)
at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
at oracle.classloader.SearchPolicy$CheckSharedLibraries.getClass(SearchPolicy.java:396)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1050)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:925)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:762)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:699)
at com.collaxa.cube.CubeException.getResourceBundle(CubeException.java:142)
at com.collaxa.cube.engine.dispatch.DispatchException.<clinit>(DispatchException.java:39)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
<2008-11-18 13:45:07,781> <ERROR> <crps.collaxa.cube.engine.dispatch> <DispatchHelper::handleMessage> failed to handle message
javax.ejb.EJBException: java.lang.OutOfMemoryError
at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:317)
at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at CubeDeliveryBean_LocalProxy_4bin6i8.resolveCallback(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.delivery.ResolveCallbackMessageHandler.handle(ResolveCallbackMessageHandler.java:46)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.OutOfMemoryError
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at oracle.classloader.SharedJar.doOpen(SharedJar.java:208)
at oracle.classloader.SharedCodeSource.open(SharedCodeSource.java:1136)
at oracle.classloader.SharedCodeSource.ensureOpen(SharedCodeSource.java:948)
at oracle.classloader.SharedCodeSource.getResourceBytes(SharedCodeSource.java:967)
at oracle.classloader.CodeSourceSearchPolicy.findResourceBytes(CodeSourceSearchPolicy.java:57)
at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1455)
at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
at oracle.classloader.SearchPolicy$CheckSharedLibraries.getClass(SearchPolicy.java:396)
at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at java.sql.DriverManager.getCallerClass(DriverManager.java:442)
at java.sql.DriverManager.getDrivers(DriverManager.java:336)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:587)
at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:116)
at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:75)
at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:211)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:170)
at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
at oracle.j2ee.connector.ConnectionPoolImpl$FixedWaitPoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1455)
at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:272)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:200)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
at com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.getConnection(ConnectionFactory.java:336)
at com.collaxa.cube.engine.data.ConnectionFactory.getConnection(ConnectionFactory.java:140)
at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.__loadCallback(BaseDeliveryPersistenceAdaptor.java:368)
at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadCallback(BaseDeliveryPersistenceAdaptor.java:247)
at com.collaxa.cube.engine.data.DeliveryPersistenceMgr.loadCallback(DeliveryPersistenceMgr.java:48)
at com.collaxa.cube.engine.delivery.DeliveryService.resolveCallback(DeliveryService.java:598)
at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.resolveCallback(CubeDeliveryBean.java:307)
at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
... 28 more
<2008-11-18 13:45:07,782> <ERROR> <crps.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception java.lang.NoClassDefFoundError
java.lang.NoClassDefFoundError
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)Marc Kelderman wrote:
Make sure you set in heap size correctly.
I do not know how large the heap size is. But I suggest to increase is.
Oracle EM -> oc4j_soa -> administrtation -> Server
set min / max equal to 1GB
and the -XX:MaxPermSize is 256 M
Marc
>Make sure you set in heap size correctly.
I do not know how large the heap size is. But I suggest to increase is.
Oracle EM -> oc4j_soa -> administrtation -> Server
set min / max equal to 1GB
and the -XX:MaxPermSize is 256 M
Marc
Hi Tlwi and Marc,
Im facing the same error in my environment. This is an Oracle Application Server which hosts a J2EE envionment. The application works fine without any issues, but all of a sudden the following error comes up and stalls the application. I have to restart the conatiner to handle the situation, but this is not the solution.
Based on my searching it reveals that this error does not mean that the jvm is running out of heap space instead it uses some memory outside the heap to unzip the zip files.
Can you let me know on the solution that you had applied or what can be done to fix this as i have enough heap space.
09/03/11 14:58:23.851 APPNAME: Servlet error
java.lang.OutOfMemoryError
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at oracle.classloader.SharedJar.doOpen(SharedJar.java:208)
at oracle.classloader.SharedCodeSource.open(SharedCodeSource.java:1136)
Thanks, -
It was a blessing in disguise that the above error came about or else I wouldn't have taken the effort to find a solution. At first, I tried to delete several apps, do a hard reboot several variations but it still wouldn't go. Then I thought of downgrading the OS back to the default version so that made me give the Blackberry Desktop Manager a try. Linking handphone to notebook, it was only then I found out an updated version was available so immediately I decided to update since the jump from version 5 to 6 was worth it. After the corrupted version was wiped out being replaced by a newer one, my problem was solved!
ubuntu: Linux for human beingspoppi2000 wrote:
Hi,
After downloading the twitter app the following shows when I try to open it.
uncaught exception: Java.lang.Error
Does anyone know what it means and how to fix it.
Thanks!
Hi
1. Try to remove the batteries first reboot that will clear the application error
2. Also try uninstalling the last application you installed before the error appears and reboot / unplug the battery. You can reinstall these applications later.
3. If it still errors, you can wipe your handheld to clear / delete all the applications and reinstall the application required. How to delete all data and applications from the BlackBerry smartphone using the Security Wipe optio...
4. The final solution is to reinstall OS or all OS upgrade to the latest version. How to update or reinstall BlackBerry Device Software using BlackBerry Desktop Software
Please thank those who help you by clicking the button.
If your issue has been solved, please resolve it by marking "Accept as Solution" -
Java.lang.OutOfMemory and http error 404
Hi.
my application is throwing
<Oct 2, 2003 10:41:14 AM GMT+01:00> <Error> <HTTP> <SSESMADD001> <myserver_TDE_2>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_qu
eue'> <system> <> <101020> <[WebAppServletContext(4301103,console)] Servlet failed
with Exception>
java.lang.OutOfMemoryError
<<no stack trace available>>
After we did a deployed of the application, and then we recieved the error:
[02/Oct/2003:12:19:16 +0100] "POST /webgfdxt/xf HTTP/1.1" 404 0
What's happening? We re-started weblogic and we get the same error (http 404).
We use welogic 6.1 and jdk 1.3.1
Thanks in advancedIncrease the value of the -Xmx setting in the startWebLogic script file.
"oscar" <[email protected]> wrote:
>
Hi.
my application is throwing
<Oct 2, 2003 10:41:14 AM GMT+01:00> <Error> <HTTP> <SSESMADD001> <myserver_TDE_2>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_qu eue'> <system>
<> <101020>
<[WebAppServletContext(4301103,console)] Servlet failed with Exception>
java.lang.OutOfMemoryError
<<no stack trace available>>
After we did a deployed of the application, and then we recieved the
error: [02/Oct/2003:12:19:16
+0100] "POST /webgfdxt/xf HTTP/1.1" 404 0
What's happening? We re-started weblogic and we get the same error (http
404).
We use welogic 6.1 and jdk 1.3.1
Thanks in advanced -
Java.lang.NullPointerException and javaBeans
I think that part of the problem is due to some wonky requirements, but maybe not. There are three classes:
lab02.util.MySlider -- has a JSlider and a few other bits
lab02.util.ColorSelector -- has three JSliders and creates a Color (not a JColorChooser)
lab02.view.View -- the driver and JFrame, has two ColorSelectors and JTextField
However, a requirement is to have ColorSelector load as a jar file. The only way I could find of doing that was create two parallel projects: beans and lab2.
I added MySlider to the palette for ColorSelector, and then added ColorSelector to the palette. Switching over the lab2 project, I added ColorSelector to View. When I received the following error:
xception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at a00720398.lab02.util.MySlider.jSlider1StateChanged(MySlider.java:53)
at a00720398.lab02.util.MySlider.access$000(MySlider.java:6)
at a00720398.lab02.util.MySlider$1.stateChanged(MySlider.java:39)I then added both MySlider and ColorSlider to the Library Manager, and then added them to the library for lab2 project. Same result.
Is it a coding problem? A netbeans problem? A packaging problem? I've tried some System.out statements to try to track it down but couldn't get anywhere.
Keepin in mind that there are two projects with overlapping package structures, here's the code:
thufir@arrakis:~/bcit3621$
thufir@arrakis:~/bcit3621$ cat lab2beans/src/a00720398/lab02/util/MySlider.java
package a00720398.lab02.util;
import javax.swing.event.ChangeListener;
public class MySlider extends javax.swing.JPanel {
private ChangeListener changeListener;
/** Creates new form MySlider */
public MySlider() {
initComponents();
public MySlider(ChangeListener changeListener) {
this();
this.changeListener = changeListener;
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
// <editor-fold defaultstate="collapsed" desc="Generated
Code">//GEN-BEGIN:initComponents
private void initComponents() {
bindingGroup = new org.jdesktop.beansbinding.BindingGroup();
jLabel1 = new javax.swing.JLabel();
jSlider1 = new javax.swing.JSlider();
jTextField1 = new javax.swing.JTextField();
jLabel1.setText("jLabel1");
add(jLabel1);
jSlider1.setMaximum(255);
jSlider1.addChangeListener(new javax.swing.event.ChangeListener() {
public void stateChanged(javax.swing.event.ChangeEvent evt) {
jSlider1StateChanged(evt);
add(jSlider1);
org.jdesktop.beansbinding.Binding binding =
org.jdesktop.beansbinding.Bindings.createAutoBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE,
jSlider1, org.jdesktop.beansbinding.ELProperty.create("${value}"), jTextField1,
org.jdesktop.beansbinding.BeanProperty.create("text"));
bindingGroup.addBinding(binding);
add(jTextField1);
bindingGroup.bind();
}// </editor-fold>//GEN-END:initComponents
private void jSlider1StateChanged(javax.swing.event.ChangeEvent evt)
{//GEN-FIRST:event_jSlider1StateChanged
// TODO add your handling code here:
changeListener.stateChanged(evt);
}//GEN-LAST:event_jSlider1StateChanged
public void setName(String string) {
jLabel1.setText(string);
public int getValue() {
return jSlider1.getValue();
public void setValue(int value) {
jSlider1.setValue(value);
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JLabel jLabel1;
private javax.swing.JSlider jSlider1;
private javax.swing.JTextField jTextField1;
private org.jdesktop.beansbinding.BindingGroup bindingGroup;
// End of variables declaration//GEN-END:variables
thufir@arrakis:~/bcit3621$
thufir@arrakis:~/bcit3621$ cat lab2beans/src/a00720398/lab02/util/ColorSelector.java
package a00720398.lab02.util;
import java.awt.Color;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
public class ColorSelector extends javax.swing.JPanel implements ChangeListener {
private ChangeListener changeListener;
private Color color;
/** Creates new form ColorSelector */
public ColorSelector() {
initComponents();
public ColorSelector(Color color) {
//initComponents();
red = new a00720398.lab02.util.MySlider(this);
green = new a00720398.lab02.util.MySlider(this);
blue = new a00720398.lab02.util.MySlider(this);
setLayout(new javax.swing.BoxLayout(this, javax.swing.BoxLayout.Y_AXIS));
add(red);
add(green);
add(blue);
this.color = color;
public ColorSelector(Color color, ChangeListener changeListener) {
//initComponents();
this(color);
this.changeListener = changeListener;
//initComponents();
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
// <editor-fold defaultstate="collapsed" desc="Generated
Code">//GEN-BEGIN:initComponents
private void initComponents() {
red = new a00720398.lab02.util.MySlider();
green = new a00720398.lab02.util.MySlider();
blue = new a00720398.lab02.util.MySlider();
setLayout(new javax.swing.BoxLayout(this, javax.swing.BoxLayout.Y_AXIS));
add(red);
add(green);
add(blue);
}// </editor-fold>//GEN-END:initComponents
// Variables declaration - do not modify//GEN-BEGIN:variables
private a00720398.lab02.util.MySlider blue;
private a00720398.lab02.util.MySlider green;
private a00720398.lab02.util.MySlider red;
// End of variables declaration//GEN-END:variables
public void stateChanged(ChangeEvent arg0) {
throw new UnsupportedOperationException("Not supported yet.");
//color = new Color(red.getValue(), green.getValue(), blue.getValue());
public Color getColor() {
System.out.println("getColor " + color);
return color;
thufir@arrakis:~/bcit3621$
thufir@arrakis:~/bcit3621$ cat lab2/src/a00720398/lab02/view/Lab02View.java
package a00720398.lab02.view;
import a00720398.lab02.util.*;
import java.awt.*;
import javax.swing.*;
import javax.swing.event.*;
public class Lab02View extends javax.swing.JFrame implements ChangeListener {
private Color color;
/** Creates new form Lab02View */
public Lab02View() {
initComponents();
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
// <editor-fold defaultstate="collapsed" desc="Generated
Code">//GEN-BEGIN:initComponents
private void initComponents() {
jTextArea1 = new javax.swing.JTextArea();
colorSelector1 = new a00720398.lab02.util.ColorSelector();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
getContentPane().setLayout(new javax.swing.BoxLayout(getContentPane(),
javax.swing.BoxLayout.Y_AXIS));
jTextArea1.setColumns(20);
jTextArea1.setRows(5);
getContentPane().add(jTextArea1);
getContentPane().add(colorSelector1);
pack();
}// </editor-fold>//GEN-END:initComponents
* @param args the command line arguments
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
//new Lab02View().setVisible(true);
JFrame frame = new Lab02View();
frame.setLocationRelativeTo(null);
frame.setSize(600,400);
frame.setVisible(true);
public void stateChanged(ChangeEvent arg0) {
throw new UnsupportedOperationException("Not supported yet.");
//jTextArea1.setBackground(colorSelector1.getColor());
//color = colorSelector1.getColor();
// Variables declaration - do not modify//GEN-BEGIN:variables
private a00720398.lab02.util.ColorSelector colorSelector1;
private javax.swing.JTextArea jTextArea1;
// End of variables declaration//GEN-END:variables
thufir@arrakis:~/bcit3621$
thufir@arrakis:~/bcit3621$ thanks,
Thufirdon't respond to this question, it's too "large". I'm creating another thread.
-
Java.lang.IllegalThreadStateException and Thread.State ?TERMINATED?
Hi,
I have class derived from Thread. If I call the start() the run() method is called and the thread code is started being executed. After some time the run() method is finished. Then, using the same class instance I call the start() method again, but then I have exception java.lang.IllegalThreadStateException. I found that the first I start the thread, it is in the NEW state, while second time it is TERMINATED. What I have to do to start the thread again in the same instance?
Thank you for response
BR
STeNthanks for reply - surprising for me - I'm a newebie.Well, any Java question asked politely deserves and gets a response here. Being new doesn't make you underprivileged :p
The proper way to handle threads, which should be started more times is to create the insance of the class that extends Thread (or implements Runnable ) again. Right?You got the idea, but you can't create the same instance again -- you have to construct a new instance.
Just a matter of exactness in terminology, which is important in discussions.
cheers, db -
I have 2 Number attributes in my class, I have to subtract one value from the other and set to another Number Object... how shd I do this?
C=A-B
all A,B,C are java.lang.Number Objects
Please let me knowThat depends on what kind of number. Of course you could do this:
Number c = new Long(a.longValue()-b.longValue());But then you'd loose decimal digits. If on the other hand you'd use Double instead you might have higher precision as you liked ... and if any of those Numbers are BigDecimal things go totatly wonky ...
Basically you can't do this 100% correct without knowing what kind of Number objects you have to handle. -
I'm running a WLS 6.0 SP2 clustered application on HP-UX 11i. I'm seeing heap and
thread issues on start-up or invocation of my application as I deploy EJB's and create
DB connection pools. These are fairly trivial tasks that don't give me any issues
when starting the first node. It's only when I invoke the second node.
I'm pretty sure that my issue is tied to the following kernel areas:
1. Thread allocation
2. Heap allocation
3. Max Processes per user
Can anyone make some kernel recommendations that might be beneficial to my deployment?
My app runs on NT/2000 and Sun as well, and I haven't seen these issues. I typically
allocate 50 to 100 threads per node (3 nodes on a 4 CPU machine) and allocate about
1GB of RAM per node on a 4GB machine...
Regards,
Steve
I'm running a WLS 6.0 SP2 clustered application on HP-UX 11i. I'm seeing heap and
> thread issues on start-up or invocation of my application as I deploy
EJB's and create
> DB connection pools. These are fairly trivial tasks that don't give me any
issues
> when starting the first node. It's only when I invoke the second node.
>
> I'm pretty sure that my issue is tied to the following kernel areas:
>
> 1. Thread allocation
> 2. Heap allocation
> 3. Max Processes per user
>
> Can anyone make some kernel recommendations that might be beneficial to my
deployment?
> My app runs on NT/2000 and Sun as well, and I haven't seen these issues. I
typically
> allocate 50 to 100 threads per node (3 nodes on a 4 CPU machine) and
allocate about
> 1GB of RAM per node on a 4GB machine...
HP has some kernel tuning guidelines for Java server apps on their web site,
and BEA has some notes as well in their platform support page.
What issues specifically are you seeing?
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Steve Feldman" <[email protected]> wrote in message
news:3cdc046e$[email protected]..
>
-
Incompatable types:java.lang.String and phone number[]
i am trying to run a search of an array but i can not get the Class to compile.
The code is below:
public class People
private int numberSize;
private PhoneNumber[] number;
public People(int maxNumberSize)
number = new PhoneNumber[maxNumberSize];
numberSize = 0;
public void addAPerson(String personName, String Number)
PhoneNumber thePerson = new PhoneNumber (personName, Number);
number[numberSize] = thePerson;
numberSize++;
private String findPhoneNumber(String person)
int location = -1;
for (int i=0; i<numberSize; i++)
if (number.getNumber() == number)
location = i ;Hi.
you're using
private String findPhoneNumber(String person)
int location = -1;
for (int i=0; i<numberSize; i++)
if (number.getNumber() == number)
location = i ;
}Now - your method gets a name of a person, right?
And you want to find that person's object in the array, and retrieve the phone number.
Your first problem lies in -
if (number.getNumber()==number)Can you see the problem? number is an array. You want to check the data of the object in the array's location i, but you're not doing it. So, first, you would change it to read
if (number.getNumber()==number)
Now - what are we doing here? You are getting the number of the person in place i in the array, by using the getNumber() method. Then you check if it equals to number.
It won't be, because number is the array itself. And anyway - you are doing it the other way around, because you want to check if the object in place i in the array has the name that you got previously.
So, you're looking at something like
if (number.getName()==person)
(person is the argument you got on calling the method, remember?)
ok.
Now you can go on with the rest.
Nimo. -
Validate failure and report java.lang.NullPointerException
there are three required textinput field in my dialog window . after input data into them, i click button to commit data, meet the validate failure error . report a java.lang.NullPointerException at these three fields bottom. others non-required fields has no error.
The error message in page is
JBO-35007: Row currency has changed .... need oracle.jbo.Key[5 ] -
Length - java.lang.NullPointerException
RollId - java.lang.NullPointerException
VatId - java.lang.NullPointerException
and in application.log is
08/02/24 12:48:15.951 fabricmis: Servlet error
java.lang.NullPointerException
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 com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.webcache.adf.filter.PageCachingFilter.doFilter(PageCachingFilter.java:232)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
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 com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)the log in debug mode
08/03/01 16:31:45 [22632] Failed to validate :1 for binding:VatId
2008-3-1 16:31:45 oracle.adf.view.faces.util.MessageFactory getMessage
Warning:
java.lang.NullPointerException
at oracle.jbo.uicli.binding.JUCtrlValueBinding.validateAttributeValue(JUCtrlValueBinding.java:757)
at oracle.jbo.uicli.binding.JUCtrlValueBinding.validateInputValue(JUCtrlValueBinding.java:2128)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding$AttrValidator.validate(FacesCtrlAttrsBinding.java:189)
at oracle.adf.view.faces.component.UIXEditableValue.validateValue(UIXEditableValue.java:378)
at oracle.adf.view.faces.component.UIXEditableValue.validate(UIXEditableValue.java:206)
at oracle.adf.view.faces.component.UIXEditableValue._executeValidate(UIXEditableValue.java:522)
at oracle.adf.view.faces.component.UIXEditableValue.processValidators(UIXEditableValue.java:302)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
at oracle.adf.view.faces.component.UIXForm.processValidators(UIXForm.java:59)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildrenImpl(UIXComponentBase.java:855)
at oracle.adf.view.faces.component.UIXComponentBase.validateChildren(UIXComponentBase.java:839)
at oracle.adf.view.faces.component.UIXComponentBase.processValidators(UIXComponentBase.java:689)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:932)
at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:362)
at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:98)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.webcache.adf.filter.PageCachingFilter.doFilter(PageCachingFilter.java:274)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
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 com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
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 com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Maybe you are looking for
-
Target Unreachable, 'null' returned null
Hello, I have an ADF application developed with JDeveloper 11.1.2.2 and now mi client is asking me to upgrade to ADF 12. I have make an test to evaluate if this version improve the previous and likes that yes, thus I have started to update it. I have
-
Clear text if validation fails
I have a date field for which i have set a particular pattern("DD/MM/YYYY"). I want to clear off the entered value if user types in the value in wrong format. let me know how to achive this. thanks
-
Please dear sirs, I want to count the lov columns, and also i want to get the column title of the lov, and i use forms 6i , i know that there is "UTL_LOV.Get_LOV_Column_Property" but i can not use this package because i use forms 6i please please hel
-
ITunes can see my Apple TV 2 But can't select it
I can see the Apple TV in the remote speakers selection, however when I go to select it, it just reverts to computer. I have tried restarting everything in my house, laptop, router, apple tv... Not sure where to go from here, I can select it from ano
-
Contact phone # display options
I have an ATT Treo 680 and have loaded contact phone #'s with the special characters " ( - " ie (555)323-1234 to make it easier to read when I need to give out a phone #. When I search contacts, they are displayed as 5553231234. Is there a way