[J2ME PORTING]: Porting MIDP to S3c2410(ARM) Error
Hi,
I try to porting MIDP to S3c2410, compiling get through.
A error occur when linking the objs.
I don't know how to deal with that, pls help me!
compiling and linking message as follow:
... obj/audiornd.o
... obj/cache.o
... obj/class.o
... obj/collector.o
./../../../../kvm/kvm/VmCommon/src/collector.c: In function `compactTheHeap':
./../../../../kvm/kvm/VmCommon/src/collector.c:1573: warning: unused variable `i'
... obj/commandState.o
... obj/commProtocol_md.o
... obj/commProtocol.o
... obj/configuration.o
... obj/conv.o
... obj/crc32.o
... obj/datagramProtocol_md.o
... obj/datagramProtocol.o
... obj/defaultLCDUI.o
./../../../src/share/native/defaultLCDUI.c: In function `Java_javax_microedition_lcdui_Graphics_drawImage':
./../../../src/share/native/defaultLCDUI.c:1703: warning: value computed is not used
./../../../src/share/native/defaultLCDUI.c: In function `Java_javax_microedition_lcdui_Graphics_drawRGB':
./../../../src/share/native/defaultLCDUI.c:1795: warning: value computed is not used
./../../../src/share/native/defaultLCDUI.c: In function `Java_javax_microedition_lcdui_Graphics_drawRegion':
./../../../src/share/native/defaultLCDUI.c:1888: warning: value computed is not used
... obj/eucjp.o
... obj/events.o
... obj/execute.o
./../../../../kvm/kvm/VmCommon/src/execute.c: In function `SlowInterpret':
./../../../../kvm/kvm/VmCommon/src/execute.c:235: warning: label `handleArrayStoreException' defined but not used
./../../../../kvm/kvm/VmCommon/src/execute.c:230: warning: label `handleArithmeticException' defined but not used
./../../../../kvm/kvm/VmCommon/src/execute.c:169: warning: label `branchPoint' defined but not used
... obj/exitInternal.o
... obj/fields.o
... obj/frame.o
... obj/garbage.o
... obj/genConv.o
... obj/global.o
... obj/graphics.o
... obj/hashtable.o
... obj/imageDecode.o
... obj/images.o
... obj/inflate.o
... obj/interpret.o
... obj/jar.o
... obj/JarReader.o
... obj/kni.o
... obj/lcWinJa.o
... obj/lcWin.o
... obj/loaderFile.o
... obj/loader.o
... obj/localeMethod.o
... obj/locale.o
./../../../src/solaris/native/i18n/locale.c: In function `getLocaleInfo':
./../../../src/solaris/native/i18n/locale.c:337: warning: assignment makes pointer from integer without a cast
./../../../src/solaris/native/i18n/locale.c:340: warning: assignment makes pointer from integer without a cast
./../../../src/solaris/native/i18n/locale.c:352: warning: assignment makes pointer from integer without a cast
./../../../src/solaris/native/i18n/locale.c:357: warning: assignment makes pointer from integer without a cast
./../../../src/solaris/native/i18n/locale.c:361: warning: assignment makes pointer from integer without a cast
./../../../src/solaris/native/i18n/locale.c:435: warning: assignment makes pointer from integer without a cast
... obj/log.o
... obj/main.o
... obj/menus.o
... obj/midlet_md.o
... obj/midlet.o
... obj/midpEvents.o
... obj/midpServices.o
... obj/midpStartup.o
... obj/mmaevt.o
... obj/mmatone.o
./../../../src/solaris/native/mmatone.c: In function `tonegen':
./../../../src/solaris/native/mmatone.c:135: warning: unused variable `tmp'
... obj/nativeCore.o
... obj/nativeFunctionTable.o
... obj/nativeGUI.o
./../../../src/solaris/native/nativeGUI.c: In function `GetAndStoreNextKVMEvent':
./../../../src/solaris/native/nativeGUI.c:2016: warning: unused variable `i'
... obj/native.o
... obj/phonesim.o
... obj/pngDecode.o
... obj/pool.o
... obj/popup.o
... obj/profiling.o
... obj/property.o
... obj/pushregistry.o
./../../../src/share/native/pushregistry.c: In function `pushfindfd':
./../../../src/share/native/pushregistry.c:600: warning: assignment makes pointer from integer without a cast
... obj/pvibrate.o
... obj/RandomAccessStream.o
... obj/ResourceInputStream.o
... obj/ROMjavaUnix.o
... obj/runtime_md.o
... obj/screenGrabber.o
... obj/screengrab.o
... obj/sjis.o
... obj/socketProtocol_md.o
... obj/socketProtocol.o
... obj/stackmap.o
... obj/StartJVM.o
./../../../../kvm/kvm/VmCommon/src/StartJVM.c: In function `KVM_Start':
./../../../../kvm/kvm/VmCommon/src/StartJVM.c:103: warning: variable `mainClass' might be clobbered by `longjmp' or `vfork'
./../../../../kvm/kvm/VmCommon/src/StartJVM.c:100: warning: argument `argv' might be clobbered by `longjmp' or `vfork'
... obj/staticGraphics.o
... obj/storageFile.o
... obj/storage.o
... obj/SystemOutputStream.o
... obj/text.o
... obj/thread.o
... obj/verifier.o
./../../../../kvm/kvm/VmCommon/src/verifier.c: In function `Vfy_verifyMethodOrAbort':
./../../../../kvm/kvm/VmCommon/src/verifier.c:1549: warning: initialization makes integer from pointer without a cast
./../../../../kvm/kvm/VmCommon/src/verifier.c:1750: warning: initialization makes integer from pointer without a cast
... obj/verifierUtil.o
... obj/vibrate.o
... obj/waveout.o
./../../../src/solaris/native/waveout.c: In function `audioCommon':
./../../../src/solaris/native/waveout.c:530: warning: unused variable `ad'
Linking ... bin/midp
collect2: ld terminated with signal 11 [???], core dumped
make: *** [bin/midp] Error 1
pls help! thank in advance!!
Simon Wang
thow
Welcome to the forum. Please don't post in old threads that are long dead. When you have a question, please start a topic of your own. Feel free to provide a link to an old thread if relevant.
I'm locking this thread now. It's more than 4 months old.
db
Similar Messages
-
Porting MIDP2.0 to arm xscale ARCH
Hi,
I have ported cldc 1.1 to arm xscale ARCH. Now i am trying to port MIDP2.0 to the same ARCH. I am getting struck while linking "midp"... Below is the error message from make....
no need to recompile .java files
Linking ... bin/midp
/opt/Olai/arm-xscale-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/lib/gcc/arm-xscale-linux-gnueabi/4.1.2/../../../../arm-xscale-linux-gnueabi/bin/ld: ssl_obj/bnlib.o: Relocations in generic ELF (EM: 3)
/opt/Olai/arm-xscale-linux-gnueabi/gcc-4.1.2-glibc-2.5-kernel-2.6.18/lib/gcc/arm-xscale-linux-gnueabi/4.1.2/../../../../arm-xscale-linux-gnueabi/bin/ld: ssl_obj/bnlib.o: Relocations in generic ELF (EM: 3)
ssl_obj/bnlib.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
imake: *** [bin/midp] Error 1
It seems object files in ssl_obj directory is for intel i386... Does anyone know how to solve this problem???
regards
hrshi,
i am also try to port cldc1.1 and midp2.0 to arm + linux this days. i have successfully cross-compile the kvm1.1. but it fails to run a java program with floating-point operations. it quits without any prompt as soon as the java program goes to a floating-point operation.
it would be very nice of you to share some of your successful experience with me. looking forward to your e-mail. thank you very much. -
I have a macbook pro. I just upgraded to Mavericks last night hoping this would fix the problem, but it hasn't. I received this error message and now none of my USB ports are working. I researched some and people have told me to reset the nvram, yet it is still not working. I have seen Thunderport docks that include USB ports on them, but they cost around $200. Just seeing if there is some sort of adapter or clever way to get around this problem? I mainly use my USB port for a Wacom Tablet. I was thinking about replacing the logic board, but that would be my last option. also, when i plug my phone into one of the USB ports, it shows that it is charging my phone, but it doesnt show up on my computer.
thank you!You may see if you can get a rise out of it by use of another reset...
•Intel-based Macs: Resetting the System Management Controller (SMC)
http://support.apple.com/kb/HT3964
Generally when combined total of items plugged into USB bus, where
ports are powered from one internal source, is too high, you'd get &
use a USB powered hub. This has a power adapter, so the USB bus
in computer does not need to try & support more load than it can.
Avoid charging an iPhone, iPad, etc from the computer, those little
USB chargers are better. And the Wacom tablet may be OK when
the computer is running on the power adapter.
The computer may not need a new logic board, but an adequate diagnosis
should be done before any major efforts are made into a big takeapart.
If you are in the USA or Canada, an Apple Store with Genius bar could
help determine the issues in the portable computer, if you check ahead &
set an appointment to discuss and diagnose this issue. This should be free
however the repair of any issue is another matter, and would cost. You can
take the unit anywhere qualified certified authorized trained Apple specialists
hang out, for further testing and repair. Or trust a reputable repair company
at a distance, and mail the computer away, after contacting them for details
on how they prefer to set up the repair, and how they want it shipped.
If you do get it repaired for one thing, while it is open consider items such as
a new larger capacity hard disk drive, etc. Otherwise a little while later, it may
be due for one, as they will fail. Even the fancy SSDs can fail quick enough.
Hopefully you can get USB to work good enough to further troubleshoot.
Good luck & happy computing! -
Hi, I'm new to this but trying to learn rapidly and need your help!
I am trying to develop a Java Application, that sends an automated SMS message back to the originator of an incomming message that is received at port 0 directly into the inbox of a Nokia series 40. Is there any way I can read the phone number of the sender of the original message from port 0 or grab it anywhere else as J2ME does not allow access to port 0 messages?
I only need the phone number of the originator of the SMS - nothing else, I do not need to read any of the message contents.
Is there any way at all of doing this in J2ME? I believe I can listen on port 0 using Pushregistry which I could use to activate my app every time an SMS is received, but how do I get the phone number of the originator so that I can reply?
Any ideas welcome!
Thanks for your help.I think the next step is try the PowerBook, using the
office ISP. Also, use the Network Utility to try and
ping the server, when back in the Office.
BTW, in my working days as an energy company
executive, I sometimes traveled to countries in the
UAE.
All the best,
Ernie
Hello Ernie. Here's the report: (1) Over the weekend, I tried to access mail.xxx.ae using Mail on my PowerBook from a Wi-Fi hotspot in a café where I know the ISP is Etisalat, which is the same ISP as the one used in my office. Mail worked perfectly. (2) From my home in Dubai at 7:30am, where the ISP is something called DIC Telecom, Mail on the PowerBook was able to access the mail server and check/download email. (3) From my office in Abu Dhabi at 9am, using the ISP Etisalat, the PowerBook (and the two iMacs in the office) cannot access the mail.xxx.ae server using Mail. Connection Doctor gives a red light for that particular server (but is able to access the Dot Mac server and the Verizon mail server on which I have personal accounts). (4) All of our Macs (PowerBook and iMacs) are able to access the mail.xxx.ae server using Entourage. (5) I pinged the server mail.xxx.ae using Network Utility on the PowerBook and was able to contact the server. 0% packet loss.
Other users in my office are running Outlook on Windows; they reported sporadic problems accessing email last week but no problems today. (Then again, I am not having problems so long as I am willing to use Entourage).
Any ideas?
Thanks,
DXB Law -
Problem about porting MIDP to CDC
Hello everyone,
I am now port a midp application to cdc.. but as the CDC FAQ says, the straightforward migration from midp to cdc is impossible because of the great difference between two UIs.
But SUN also says they are investing a solution for this. .. I wonder whether it has some result already.
Any comments will be welcome. Thanks!java.util.Properties, and you'll have to load and save it yourself.
-
Port 8080 is already bound error when i try to bind it with Tomcat
Hi,
I use Oracle 9i AS version 2 on Sun Solaris.
I start the oracle service with the following shell script
#orastart.sh
ORACLE_BASE=/users/ora9ias
export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/orainfra
export ORACLE_HOME
ORACLE_SID=iasdb
export ORACLE_SID
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib
export LD_LIBRARY_PATH
PATH=${PATH}:$ORACLE_HOME/bin:$ORACLE_HOME/Apache/Apache/bin
PATH=${PATH}:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin
export PATH
lsnrctl start
sqlplus
#Enter user-name: connect as sysdba
#Enter password: manager
#SQL>startup
#SQL>exit
oidmon start
oidctl server=oidldapd instance=1 configset=1 start
dcmctl start -cl
I also run Tomcat Web Server on port 8080.
When I run the orastart.sh before running the Tomcat Web Server than I am not able to run the web server because the port 8080 is already bound by some process in Oracle 9i AS.
If I run the web server first than the orastart.sh then there is no problem in anything.
As per requirements by the client we have to run the web server on port 8080 only. There is absolutely no guarantee that the client will run the processes in some specified order i.e. orastart first then Tomcat or vice-versa. Please provide me help so that i can change the port 8080 used by some oracle process to some other port number, so that it does not conflict with the port 8080 used by Tomcat.
AnuragHi Tugdual,
I have done as u have mentioned, but in $ORACLE_HOME/install/portlist.ini there is no service that listens to the port 8080.
I only get this problem when I run my script before running the Tomcat web server, when i run the Tomcat web server before the script then i face no problem.
I am also pasting the output of the lsnrctl command. This shows that Oracle 9i AS is listening to port 8080.
LSNRCTL> stat
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Solaris: Version 9.0.1.3.0 - Production
Start Date 26-NOV-2003 12:18:09
Uptime 0 days 2 hr. 13 min. 16 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /users/ora9ias/orainfra/network/admin/listener.ora
Listener Log File /users/ora9ias/orainfra/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ikon.india.ipolicynet.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=0.0.0.0)(PORT=2482))(PRESENTATION=GIOP)(SESSION=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=2481))(PRESENTATION=GIOP)(SESSION=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=0.0.0.0)(PORT=9090))(PRESENTATION=http://admin)(SESSION=RAW))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=0.0.0.0)(PORT=8080))(PRESENTATION=http://admin)(SESSION=RAW))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "iasdb.ikon.india.ipolicynet.com" has 2 instance(s).
Instance "iasdb", status UNKNOWN, has 1 handler(s) for this service...
Instance "iasdb", status READY, has 3 handler(s) for this service...
The command completed successfully
LSNRCTL>
Please help me in this, as this is very urgent. Our client already uses the Oracle 9i AS 2 (on Solaris) for some other application and I have to use the same machine and also the client wants the Tomcat web server to listen to port 8080 only. He has asked us to change the port of Oracle 9i Service that uses the port 8080.
thanx
Anurag -
The error I am getting is on Visa open.
I found couple of knowledge base (KB) entries that talk about Visa error 1073807346. The best way to find knowledge bases (KB) is to goto ni.com >> Support >> Advanced Search (option 3) >> type in the keywords in the box "1073807346", you will get them.
Also refer, http://www.ni.com/support/labview/visa/default.htm. Hope this helps. -
WLS 5.1 to 6.1 porting issue: RequiresNew & ORA-01002 error
Repost from the EJB group
Environment:
WLS 6.1.2 on WINNT w/SP6a
java: 1.3.1 that ships with WLS 6.1
DB: Oracle 8.1.6 (using TRANSACTION_READ_COMMITTED exclusively)
I'm currently upgrading our application from 5.1 (ejb 1.1) to
6.1 (ejb 2.0). I've also consolidated our 55 separate ejb jars
into a single jar (with all 55 ejbs). Because of 1.1 entity bean
issues, currently all our ejbs are SessionBeans. Everything works
under 5.1 with our test Oracle instance, the 6.1 test environment
is using the same database instance.
I'm seeing several problems.
Here's #1
With the same TCUSecurityDataAccessSessionBean::updateIfNeeded
source code and same database instance. 5.1 updates correctly,
6.1 throws this SQLException. So, I figure its got to be a WLS 6.1 issue or
my configuration. - I alway suspect me ;)
ERROR - ORA-01002: fetch out of sequence
(com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAccessSessionB
ean_ridhfi_Impl::updateIfNeeded)
java.sql.SQLException: ORA-01002: fetch out of sequence
This method should be configured with transaction context of: RequiresNew
Has the 6.1 handling of RequiresNew changed that radically?
I'm looking for suggestions on how to debug this further.
TIA
Gordon
------------- ejb-jar.xml (edited) ------------------------
<ejb-jar>
<small-icon>images/green-cube.gif</small-icon>
<enterprise-beans>
<!-- TCUSecurityDataAccessSession -->
<session>
<small-icon>images/orange-cube.gif</small-icon>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<home>com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAccessSes
sionHome</home>
<remote>com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAccessS
ession</remote>
<ejb-class>com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAcce
ssSessionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<method-permission>
<description></description>
<role-name>****</role-name> <!-- deleted for security -->
<method>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
<!-- TCUSecurityDataAccessSession -->
<container-transaction>
<method>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<method-name>updateIfNeeded</method-name>
</method>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<method-name>peek</method-name>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
------------- weblogic-ejb-jar.xml (uninteresting) ------------------------
------------- config.xml (edited) ------------------------
<JDBCConnectionPool CapacityIncrement="5"
DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="10" MaxCapacity="100" Name="d2Pool"
Password="*****
Properties="user=d2engine;STATEMENT_CACHE_SIZE=200"
Targets="myserver" URL="jdbc:oracle:thin:@*****"/>
<JDBCTxDataSource JNDIName="jdbc/d2Pool" Name="jdbc/d2Pool"
PoolName="d2Pool" Targets="myserver"/>
ORA-01002 fetch out of sequence
Cause: In a host language program, a FETCH call was issued out of sequence.
A successful parse-and-execute call must be issued before a fetch.
This can occur if an attempt was made to FETCH from an active set after
all records have been fetched.
This may be caused by fetching from a SELECT FOR UPDATE cursor after a
commit.
A PL/SQL cursor loop implicitly does fetches and may also cause this error.
Action: Parse and execute a SQL statement before attempting to fetch the
data.Solved.
The 8.1.6 driver wasn't the problem.
It turned out that our ConnectionPool utility class wasn't configured
properly
and when I thought that I was going TxDatasource, I was actually only
getting
a straight Connection. No Tx, so Oracle didn't have one open for the "FOR
UPDATE"
clause. Now if someone could help on my classloader question in the EJB
group ;)
- Gordon
"Slava Imeshev" <[email protected]> wrote in message
news:[email protected]...
Gordon,
Oracle 8.1.6 driver proved to be buggy and unstable.
Can you update your oracle thin driver to the newest
one? It's available from the otn.oracle.com.
Could you also post the questionable code here, especially
in the part related to obtaining connection, executing
stataments, fetching results and obtaining TXs, if any?
Regards,
Slava Imeshev
"Gordon Twaddell" <[email protected]> wrote in message
news:[email protected]...
Sree,
I didn't mention that I'm using the Oracle thin JDBC driver
(8.1.6.1)
and its in the CLASSPATH.
Slava,
I tried the stmt.setFetchSize(). I got the same result.
Gordon
"Sree Bodapati" <[email protected]> wrote in message
news:[email protected]...
Hi Gordon,
One possibility is the environment variable PATH might be pointing to
an
older version of the library files for the WebLogic jDriver forOracle.
Check if the PATH is set to point to the right weblogicoci37.dll (inthe
<WL_HOME for 6.1>\bin\oci817_8) and make sure your oracle_home is setto
point to the right folders as well.
hth
sree
"Gordon Twaddell" <[email protected]> wrote in message
news:[email protected]...
Repost from the EJB group
Environment:
WLS 6.1.2 on WINNT w/SP6a
java: 1.3.1 that ships with WLS 6.1
DB: Oracle 8.1.6 (using TRANSACTION_READ_COMMITTED exclusively)
I'm currently upgrading our application from 5.1 (ejb 1.1) to
6.1 (ejb 2.0). I've also consolidated our 55 separate ejb jars
into a single jar (with all 55 ejbs). Because of 1.1 entity bean
issues, currently all our ejbs are SessionBeans. Everything works
under 5.1 with our test Oracle instance, the 6.1 test environment
is using the same database instance.
I'm seeing several problems.
Here's #1
With the same TCUSecurityDataAccessSessionBean::updateIfNeeded
source code and same database instance. 5.1 updates correctly,
6.1 throws this SQLException. So, I figure its got to be a WLS 6.1
issue
or
my configuration. - I alway suspect me ;)
ERROR - ORA-01002: fetch out of sequence
(com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAccessSessionB
ean_ridhfi_Impl::updateIfNeeded)
java.sql.SQLException: ORA-01002: fetch out of sequence
This method should be configured with transaction context of:RequiresNew
Has the 6.1 handling of RequiresNew changed that radically?
I'm looking for suggestions on how to debug this further.
TIA
Gordon
------------- ejb-jar.xml (edited) ------------------------
<ejb-jar>
<small-icon>images/green-cube.gif</small-icon>
<enterprise-beans>
<!-- TCUSecurityDataAccessSession -->
<session>
<small-icon>images/orange-cube.gif</small-icon>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<home>com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAccessSes
sionHome</home>
<remote>com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAccessS
ession</remote>
<ejb-class>com.eoriginal.engine.core.session.basicAccess.TCUSecurityDataAcce
ssSessionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<method-permission>
<description></description>
<role-name>****</role-name> <!-- deleted for security -->
<method>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
<!-- TCUSecurityDataAccessSession -->
<container-transaction>
<method>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<method-name>updateIfNeeded</method-name>
</method>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>TCUSecurityDataAccessSession</ejb-name>
<method-name>peek</method-name>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
------------- weblogic-ejb-jar.xml(uninteresting) ------------------------
------------- config.xml (edited) ------------------------
<JDBCConnectionPool CapacityIncrement="5"
DriverName="oracle.jdbc.driver.OracleDriver"
InitialCapacity="10" MaxCapacity="100" Name="d2Pool"
Password="*****
Properties="user=d2engine;STATEMENT_CACHE_SIZE=200"
Targets="myserver" URL="jdbc:oracle:thin:@*****"/>
<JDBCTxDataSource JNDIName="jdbc/d2Pool" Name="jdbc/d2Pool"
PoolName="d2Pool" Targets="myserver"/>
ORA-01002 fetch out of sequence
Cause: In a host language program, a FETCH call was issued out ofsequence.
A successful parse-and-execute call must be issued before a fetch.
This can occur if an attempt was made to FETCH from an active set
after
all records have been fetched.
This may be caused by fetching from a SELECT FOR UPDATE cursor
after
a
commit.
A PL/SQL cursor loop implicitly does fetches and may also cause
this
error.
Action: Parse and execute a SQL statement before attempting to fetch
the
data. -
Can't connect my camera using the usb port. Why does an error message appear?
I've connected this camera hundreds of times in the past. But now it says"A USB is attached that is drawing too much current. The hub to which it is attached will be deactivated." What's going on? This is just a little digital point and shoot.
A powered hub is a USB hub with it's own power supply. Google "powered hub". There's plenty to choose from. These don't depend on the computer connection to supply power to the USB devices connected to them. That's the reason for them requiring a separate power supply and of course why they are called "powered hubs".
The fact that your camera works when the printer is disconnected confirms what I have been saying. The machine just cannot supply enough power (I think it's 500mA max) to supply all the devices you want to connect concurrently (or it's right on the ragged edge).
As for seeing the power draw, the info is indeed in the System Profiler*. Select a USB device and look for info labeled "Current Available (mA)" and "Current Required (mA)". It's the current required that I think is the power draw.
* It's also shown in USB Prober in the Developert tools utilities. -
Berkeley DB JDBC Build on Linux/ARM Errors?
Trying to build a version of Berkeley DB 5.3.15 with dbsql and jdnc on a Linux/Arm device.
From the build_unix directory issued the following configure command:
../dist/configure enable-sql enable-jdbc
then
make
The build fails while trying to compile sqlite_jni.c. The last lines of the build look as follows:
native/sqlite_jni.c: In function 'Java_SQLite_Database__1exec__Ljava_lang_String_2LSQLite_Callback_2_3Ljava_lang_String_2':
native/sqlite_jni.c:1622: error: incompatible type for argument 2 of 'sqlite3_vmprintf'
../../lang/sql/generated/sqlite3.h:1986: note: expected 'va_list' but argument is of type 'char *'
native/sqlite_jni.c: In function 'Java_SQLite_Database_vm_1compile_1args':
native/sqlite_jni.c:3282: error: incompatible type for argument 2 of 'sqlite3_vmprintf'
../../lang/sql/generated/sqlite3.h:1986: note: expected 'va_list' but argument is of type 'char *'
make[1]: *** [sqlite_jni.lo] Error 1
make[1]: Leaving directory `/root/db-5.3.15/build_unix/jdbc'
make: *** [jdbc] Error 2
Also tried including --enable-java in the configure script with the same effect.
Any suggestions?
Thanks,
-- Jim CI have done some porting work of Berkeley db4.6.21 on vxworks6.3, and I think my experiences may help:
If you decide to use db-4.5.21, simply open the WorkBench2.5, create a "downloadable kernal module", and then import the db source tree, make sure not to import the files not needed. To see what files to be imported, you can open the db/dist/srcfiles and retrieve the lines with "vx" string, and import only the files listed in the retrieved list.
Then, you can build the project. Note that there are some data type conficts between berkeley db source and the vxworks os, that is the u_int8_t and the like, you will have to remove the definitions in the headers belonging to vxworks. -
MIDP 2.0 Compilation Errors
Hello,
I am trying to compile MIDP2.0 on linux redhat 9.0. But I am seeing the following errors :
/home/test/src/java/linux/midp2.0_01rr/build/linux/../../src/share/classes/com/sun/midp/io/ConnectionBaseAdapter.java:12: cannot resolve symbol
symbol : class GeneralBase
location: package io
import com.sun.cldc.io.GeneralBase;
^
/home/test/src/java/linux/midp2.0_01rr/build/linux/../../src/share/classes/com/sun/midp/io/j2me/https/Protocol.java:23: package com.sun.midp.ssl does not exist
import com.sun.midp.ssl.*;
^
/home/test/src/java/linux/midp2.0_01rr/build/linux/../../src/share/classes/com/sun/midp/io/j2me/https/Protocol.java:182: cannot resolve symbol
symbol : class SSLStreamConnection
location: class com.sun.midp.io.j2me.https.Protocol
private SSLStreamConnection sslConnection;
/home/test/src/java/linux/midp2.0_01rr/build/linux/../../src/share/classes/com/sun/midp/publickeystore/WebPublicKeyStore.java:167: cannot resolve symbol
symbol : class X509Certificate
location: class com.sun.midp.publickeystore.WebPublicKeyStore
cert = new X509Certificate((byte)1, // fixed at version 1
For a total I get about 46 errors.
I am using gcc version 3.2.2
I was able to compile CLDC 1.1 successfully and have a soft link called kvm in the same directory as MIDP.
Would appreciate any help or suggestion.
regardsis MIDP 2.0 atleast backwards
compatible with 1.0? If it is, atleast my MIDlet can
run on new devices that support MIDP 2.0, as long as I
don't use any MIDP 2.0 functionalities.as far as i know, it will work... -
MiDP 1.0 security error
Hello,
I get this strange securityexception when i try to run my midlet on a MIDP 1.0 device.
I found out that the problem was that I was trying to create a new object of another midlet class from my main midlet. like this:
"MidletClass myMidlet = new MidletClass();" <---- generates error on midp 1.0
I have two midlets in my application, that one, and on that is the main midlet that contains the main program.
Does anyone of you know how to solve this problem ???
I mean why would it not allow one to create another midlet object from a midlet ?A straight quote from the API documentation:
MIDlet
protected MIDlet()
Protected constructor for subclasses. The application management software is responsible for creating MIDlets and creation of MIDlets is restricted. MIDlets should not attempt to create other MIDlets.
Throws:
SecurityException - unless the application management software is creating the MIDlet.
shmoove -
Why do I get "Classpath to J2ME Ant extension library is not set" error?
All of my mobile Netbeans projects have worked without problems for several years. Then suddenly I get this error message on all of them:
nbproject\build-impl.xml:55: Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set. For example: location of mobility/modules/org-netbeans-modules-kjava-antext.jar file in the IDE installation directory.
BUILD FAILED (total time: 0 seconds)
I have not changed anything. Why do I suddenly get this error message?Hello,
Welcome to Adobe Forums.
1) Launch Task Manager (Keyboard Shortcut : Ctrl+Shift+Esc)
2) Go to Processes Tab
3) Make sure you have clicked on "Show processes from all users"
4) Kill "iexplore.exe" process
Use offline installer for Adobe Flash Player : Progress bar hangs during download / Unable to connect to server / Unable to download metafile
Thanks,
Vikram -
I keep getting this error:
"Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."
We've uninstalled Adobe Acrobat 8 Standard, rebooted, installed Acrobat 10 Standard. That didn't work so we deleted all the registry keys and entries after uninstalling Acrobat 10 Standard then we installed Adobe Acrobat 10 Professional - still to no avail. Why does this keep happening?? What could possibly be wrong?? The user is in the "unlimited" permission's group so it can't be a permission setting.
Any help would be greatly appreciated - we've devoured the entire web but cannot find a fix...This is a Windows 7 Professional 64-bit operating system. Please let me know if you need any further information.
Thank you!
NickYou are seeing standard OS error.
Try Adobe Forums search.
Some people have luck disabling virus scanner
This is what I found (not sure if you will be able to see it since I am logged in while searching)
http://forums.adobe.com/search.jspa?resultTypes=&dateRange=all&peopleEnabled=true&q=Window s+cannot+access+the+specified+device%2C+path%2C+or+file&containerType=-1&container=-1&cont ainerName=&username=&rankBy=date&numResults=15
If none of the solutions work for you, you can disable auto updates from the Edit\Preferences\Updater menu, but will have to install updates manually. -
J2ME Wireless Toolkit 1.0.3 Question/Error?
Hi!
I was previously J2MEwtk 1.0.1 and just downloaded ver 1.0.3 but found that the latter doesn't generate the JAR file automatically when I build a new app. I don't see additional settings required ... did I miss out anything or is there a bug with ver 1.0.3?
Pls advise. TIA!
Regards
swingingHi! Rob
Thanks for your prompt response. :-)
I think Sun's rationale was to make compilation modular and reduce the time taken for folks who just want to compile and test. The jar-ring is only necessary for deployment. I think this is a good idea actually.
But I don't understand why there's no Package button on button-bar ... there still lots of space on the button-bar! :-p
Rgds
Maybe you are looking for
-
Activating Microsoft Office 2013 Pro Plus? Volume licensing needed?
Hello, I have unique scenario in my company where we need to install office 2013 pro plus on 10 hard drives. Each hard drive has its own windows 7 operating system. Due to security reasons, the setup consists of one computer tower (with no primary ha
-
Display values on new window from backing bean HashMap
Hi, I need to open a new window when user clicks on some link from the current page. New window will display few values which are set once the link is clicked. I have created a bounded task flow with a jspx page added into the task flow. This jspx pa
-
File.browse() window close
Hi, When we use the browse() functionin File the file selection window appears. Is there any way to close that window using code. What I need to accomplish is I want to close the file selection dialog box automatically after waiting a few secon
-
I was using my ipad with about a 75% charge when I sat it down for a minute. Now it will not respond to anything, the hard reset will not work, itunes will not recognize it and to the best I can tell is just dead. The charger works fine as my other
-
I am about to use Oracle XE as a relational database for Mondrian OLAP Server and JPivot as a front end. I managed to install the schema and samples, and everything works fine except XMLA query. I would appreciate if one gets me an insight in Oracle