Need help on my bluetooth chat application (J2ME)
Hi, I need to create private room and public room services for my application so that private room user can be authenticated before being added to the room. do i need to create each on seperate service records or should be integrated together? How do I register the two services and called when required for connection?
Thanks rada for the reply. Specifically, the private room and the public room are independent of each other i.e. when i start my application, i can choose either of the two to communicate with. I generated a UUID for the public room with which i used to established a server side connection so that others can search for the room server and join.Also on entering the room, i can also search for services through an inquiry process. However, I've been thinking on how i can implement the private chat.The idea I earlier had was on entry the private room, one can search for available service or host a server(bluetoooth) just like the public room, but i want it that before accepting a connection, the connecting party(user) should be authenticated to my services.
My Question is there any class in J2ME that provides such authentication apart from the device authentication with bluetooth link?
If no, can you please share your idea on how i can go about it(perhaps wil persistent storage work in this case).
Thanks
sam.
Similar Messages
-
Need help creating a voice chat application with java
Hi, all:
I'm currently using MSN messenger to talk to my friends online. However, the quality gets pretty low sometimes since MSN is a centralized service. So I was wondering if I know a friend well, and he gives me his IP, would it be better for me to just write a simple java app that captures audio from a microphone and send it over through a socket. Once the byte stream gets there, his side of the app can play it back. Of course, the packets I'm sending and receiving will just be normal TCP/IP packets, but we wouldn't have to go through a MSN messenger server, so would the audio quality be better in this case?Maybe, but there is probibly other software you can use for direct connections. I would try these first.
-
Need help in localizing the Flex Application
Hi,
I need help in localizing my Flex Application.
my Question is: How to make SPANISH as the default language of Flex Application(Progamatically)? By default its taking en_US as the locale but my requirement is to change it to sp_SP(SPANISH)..
Thanks in Advance..
PradeepLocalization tutorial:
http://livedocs.adobe.com/flex/3/html/help.html?content=l10n_3.html
How to change the locale at runtime:
http://cookbooks.adobe.com/post_Change_Locale_at_the_runtime-11143.html -
I need helping using iAds in my application.
I need helping using iAds in my application. I currently am not using any storyboards. I am using Sprite builder for my UI.
I attatched an image ot show all the different file name I have.
Everyone is being used & they all work fully.
The "iAdViewController.h & .m" files are just example codes I looked up and was messing with so that my iAd can work.I wouldn't even be able to use the Mathscript node in an executable?
What I am trying to do is make a user configurable data stream.
They tell me how many bytes are in the stream and what parameters they
want to be put in to it. Currently I have to make vi's that are
called dynamicaly to make the parameters. Then recompile
the code and send it to them. This is somewhat of how the config
file is set up so I know how to make the data.
Data_Type foo
Bytes 30
parameter_name
function
byte# format
sync
foo_sync
29 int
time
foo_time
1,2,3,4 double
If I can't use MathScript to allow the user to make there own functions
is there another way that I might be able to do this so I do not have
to recompile the code atleast? Were I might just be able to make
the new function and send that to them.
Any Idea would be great. -
Need Help regarding a simple mobile application
Hello friends,
I am bit newbee to J2ME technology.
I have basic understanding about MIDLETS.
Friends,i am designing an instant messenger using midlet.
Could anyone send some idea's of how to design a CHAT application.IF some one can give a small code of implementing it could be really helpful....
Looking for your help!!!
Thanks In Advance !!!
Regards,
RAHULYou have been no help but I will post again hoping someone else can reply....
Here is a more exact detailing of what I am trying to do:
I am hosting a text file here:
http://www.geocities.com/biocx/entertainer.txt
And when I open up MMAPI Demo and go to simple player, and then URL and paste this in, it plays the simple rtttl/midi file. It is doing this through RingToneConverter.
Now all I want to do, and this is the part I need help with, is while it is playing, I want the notes to be displayed on screen. Can anyone help me with this! I have tried and every time is gives me a problem saying that the RingToneConverter Class isn't abstract and I cannot print to screen...
If someone could help me with this, it would be greatly appreciated.
Thank you,
Mike -
Need help in copying Hyperion Planning application from Production to UAT
Hi,
We are currently using Hyperion Planning version 9.3.1.
We have Hyperion planning cubes which are used for Hyperion Planning application. Users use Planning web forms.
We need to copy the current PROD application to UAT which are on different servers.
I am new user to Hyperion Planning and I am aware of Hyperion Essbase.
I am aware of process to copy the Planning cube between the PROD and UAT servers.
I need your assistance in completing the Hyperion Planning migration other than Planning cube copy activity as it involves more than cube copying. like Planning forms, etc.
Thanks,
Praveen.Hi John,
Thanks for your suggestions. I have tried to start planning web application from Start menu. The error logs [SystemErr.log] says as below.
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R Can not set database catalog name, skipping set of catalog name: HPSPLN
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R Query Failed: SQL_GET_SYSTEMCFG: null
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R java.sql.SQLException: [Hyperion][SQLServer JDBC Driver][SQLServer]The SELECT permission was denied on the object 'HSP_SYSTEMCFG', database 'master', schema 'dbo'.
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.HspSQLImpl.executeQuery(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.HspSQLImpl.executeQuery(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.JDBCCacheLoader.loadObjects(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.GenericCache.loadCache(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.GenericCache.getCache(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.GenericCache.getUnfilteredCache(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSImpl.loadSystemCfg(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at HspLogOn.Handle(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at HspLogOn.doPost(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:525)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:764)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R java.sql.SQLException: [Hyperion][SQLServer JDBC Driver][SQLServer]The SELECT permission was denied on the object 'HSP_SYSTEMCFG', database 'master', schema 'dbo'.
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BaseExceptions.createException(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BaseExceptions.getException(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.sqlserver.tds.TDSRPCRequest.processReplyToken(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BasePreparedStatement.postImplExecute(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BaseStatement.commonExecute(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BaseStatement.executeQueryInternal(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at hyperion.jdbc.base.BasePreparedStatement.executeQuery(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.HspSQLImpl.executeQuery(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.HspSQLImpl.executeQuery(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.JDBCCacheLoader.loadObjects(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.GenericCache.loadCache(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.GenericCache.getCache(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.GenericCache.getUnfilteredCache(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSImpl.loadSystemCfg(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at HspLogOn.Handle(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at HspLogOn.doPost(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:525)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:764)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R java.lang.RuntimeException: Error loading objects from data source: java.sql.SQLException: [Hyperion][SQLServer JDBC Driver][SQLServer]The SELECT permission was denied on the object 'HSP_SYSTEMCFG', database 'master', schema 'dbo'.
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.GenericCache.loadCache(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.GenericCache.getCache(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.sql.GenericCache.getUnfilteredCache(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSImpl.loadSystemCfg(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at HspLogOn.Handle(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at HspLogOn.doPost(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:525)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:764)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R java.lang.NullPointerException
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSImpl.loadSystemCfg(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at HspLogOn.Handle(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at HspLogOn.doPost(Unknown Source)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:525)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:764)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
[9/5/11 10:46:53:571 GMT+08:00] 00000019 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
[9/5/11 11:23:07:284 GMT+08:00] 00000013 SystemErr R Creating rebind thread to RMI
We have 'HYPPLN' Planning applciation and the related Essbase Cube and not 'HPSPLN'. Verified on to the 'PlanningSystemDB.properties' file and its entried are
SYSTEM_DB_DRIVER=hyperion.jdbc.sqlserver.SQLServerDriver
SYSTEM_DB_URL=jdbc:hyperion:sqlserver://<DBServer>:1440
SYSTEM_DB_USER=hypadm
SYSTEM_DB_PASSWORD=DIFLAIAIANFGBMFO
SYSTEM_DB_CATALOG=PLNSYS2
SYSTEM_DB_TYPE=SQL
INSTANCE=HYPPLNINS
Here too the SYSTEM_DB_CATALOG is having entry as PLNSYS2 and not the HYPPLN which is our Planning application name. Tried verifying on PROD which is running fine and we there too have HYPPLN cube/planning application but at the DB Server, we have Database as PLNSYS again and the DB_CATALOG is having entry as 'PLNSYS' and not the HYPPLN. Not sure if this is ok or not.
Also tried looking at the SELECT Permission issue that is there on the error log.
The SELECT permission was denied on the object 'HSP_SYSTEMCFG', database 'master', schema 'dbo'.
On our Database Server side, i have PLNSYS2 and the tables under this are only few as :
dbo.HSP_ACTION
dbo.HSPSYS_APP_CLUSTER_DTL
dbo.HSPSYS_APPLICATION
dbo.HSPSYS_CLUSTER
dbo.HSPSYS_DATASOURCE
dbo.HSPSYS_PI_INFO
dbo.HSPSYS_PROPERTIES
I do not see HSP_SYSTEMCFG and other mainly discussed table 'HSP_USERS' for SID verifications.
I have writtend the issue in detail and I couldn't find the related solutions on the forums too. Please verify and help me in fixing the issue.
Thanks in advance.
Edited by: 883090 on 04-Sep-2011 20:55 -
Need help on Java in sound application
A good day to everyone here,
I need help on using Java.My project is mainly manipulating WAV sound files with Java. There is some problem.I hope you all can help me. I couldn't find much info about Java in sound manipulating,sample coding or something like that. I need to find the command to
1) Find each sampling point value in a sound file.
2) Find the number of sampling point and the average value of the all the sampling point.
3) Record the sound file in a different bit rate format.
I dont know how to go about it.I really hope you all can help me, or direct me to any resources that may help me. Your help is very much appreciated.
Thank you very much....i found this coding in a website n i not very sure that i understand it.
can anyone tell me if i can find the sample point value of a sound file with this coding (byte[] source is byte array of the sound file).
thanks...for all the help
public byte[] executeAmplitudeTransformationInternal(byte[]
source)
int[] sampleArray = getSampleArray(source);
int[] newSampleArray = executeTransformation(sampleArray);
//convert 16 bit samples back to 8 bit byte[]
return getByteArray(newSampleArray);
public int[] getSampleArray(byte[] eightBitByteArray) {
//create an array 1/2 the size (since every 2
//8bit samples makes 1 16bit sample)
int[] toReturn = new int[eightBitByteArray.length];
int index = 0;
for (int t = 0; t < eightBitByteArray.length; t += 2) {
//read the high bit
int low = (int) eightBitByteArray[t];
//read the low bit
int high = (int) eightBitByteArray[t + 1];
//bit shift the high bit 8 bits to the left and
// "And" the low bit against 255 to drop any
//sign extended data in the top 8 bits.
//refer to the tutorial for more clarification
toReturn[index] = (high << 8) (low & 0x00ff);
index++;
return toReturn;
public byte[] getByteArray(int[] sampleArray) {
//create a new byte[] twice as big as the sample array
//because it takes two 8-bit bytes to represent one
//16-bit sample
byte[] toReturn = new byte[sampleArray.length * 2];
int index = 0;
for (int t = 0; t < sampleArray.length; t++) {
int sample = sampleArray[t];
//this places the low byte in the array.
//the downcasting automatically lops off the high byte
toReturn[index] = (byte) sample;
index++;
//this byte shifts the sample 8 bits to the right
//this puts the old high byte in the position of the low byte.
//this way the high byte remains after the downcasating from
//an int to a byte
toReturn[index] = (byte) (sample >> 8);
index++;
return toReturn;
public int[] executeTransformation(int[] sampleArray) {
//create a clone sample array
int[] newSampleArray = new int[sampleArray.length];
//apply algo to each sample
for (int t = 0; t < sampleArray.length; t++) {
int result = (int) (sampleArray[t] );
//add the sample
newSampleArray[t] = result;
return newSampleArray; -
please i really need help!
I had the same problem on my Mac Pro, iPad, Macbook Pro. Could not load iTunes, App Store or any support community. Called Apple Care and she asked if I had rebooted my router in awhile. I had not. Each of these would load half way and then just stop. She said iTunes and App Store could be stopped as they are different than my Discover or e-Bay accounts, which were fine. So during the 75 min call I pulled the power cord of the Netgear Wi Fi router, let it sit for 2 or 3 min and then replugged the power adapter. In about 4 to 5 min the sites started to load, although not displayed correctly. After quitting and re-starting the apps in question they are working fine again. But this has happened twice now in a 6 hour time period. So give it a try, but also give it a couple of tries.
-
Need help with a java chat software!!! Anyone pls give ideas
I need to implement a chat protocol with sockets for my course!!
As of now i have only got to the simple client server application with sockets and have a user interface with panels.
How could I proceed...
How should i use login names and passwords??
Should i use if else loops to specify :
various headers like
login
pass
send
exit
if you could point out som esite that will be helpful or even a book it would be of great help!!Don't use if/else loops, they have this nasty habit of not existing.
My quarter-pence:
For passwords, use a map which maps name/hashed password. That way, you'll never actually store the password. -
I need help with my project [Navigator application acesible thru the phone]
I am currently working on my project proposal for the project i want to do. I need to develop a navigator appliation that is accesible thru a phone and hsa the following features:
1. Load image in display buffer and deending on wat user inputs, then i can manipulate the image and draw stuff on it like if the user requires the shortest route, then it can be drawn...
2. Provide traffic updates from rss feeds [online]- in this case i need to know how to use the http request class in J2ME wireless toolkit.
3. Incorporate GPS System or if any other otpion is there for me to be able to tell the location of a user dynamically and use that info to map the location on the map image in the display buffer
4. Provide info about places using pop ups depending on what the user inputs
5 general advice on MIDP development esp that its different from wat am used to [desktop programming]...
The biggest challenge is that am new to mobile apps esp MIDP,Am a student in my final year, and the proosal is this coming week and ineed some help [or should i say breakthrough] SOMEBODY HELP ME..!!Sup mismis ,
Its a shame to say this but am so new to this i would bore you to death coz i have little (if any soultions)...but i believe if we work together we can go far...
The gps part was quite as process because either way, i had to go thru a 3rd party to get the service, so wat i said i will do is simulate a gpsi.e have a sub component on the side that simultes a gps (as i believe it return the latiotude and longitude positions of wea u are) then using this info i can trace on which region of the map you fall in depending on what mesh u fall in, is that simple or wat?
The othe rthing is that am using J2ME which am not familiar alot wih. Ive used netbeans but for desktop applications not mobile....
But i also have a question, since the whole app would be better on the mobile fully, how do u include the dbase? -
Need help in creating a web application that runs on a stand alone sys.
I am planning a small java web application complete with database. I need to know if there are any ways to deploy that application on a stand alone system and that if there is any way to make an executable for that application so that the user need not go through the process of deploying the app and starting the server whenever he restarts the system. Can anyone help me in this regard? Thanks in advance.
Hi Alex,
Since I had a Gmail test servlet kicking around, I ran it on the latest V3 nightly build.
On the first run, I encountered the following nested exceptions:
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465
--> java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
--> java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
--> java.security.UnrecoverableKeyException: Password must not be nullThe UnrecoverableKeyException is a manifestation of [https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938|https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938]
I worked around this by adding the following JVM config options to domain.xml
<jvm-options>-Djavax.net.ssl.keyStorePassword=changeit</jvm-options>
<jvm-options>-Djavax.net.ssl.trustStorePassword=changeit</jvm-options> (Note: the default master password is "changeit")
These lines are placed in /domain/configs/config/java-config of domain.xml for the particular server config you're using. There's only one server config in the default domain.xml shipped with V3. Then restart the server.
I retested the code on both port 465 and 587, with and without the above config changes. Without the change, they both fail the same way, and with the change, they both work. Let me know if this helps.
-Peter -
Need Help to Prevent DDOS at application layer to protect Web server ?
Please guide the solutions for DDOS attack. I am facing this attack and after some investigation I found some details what is up against me
Here are some details of the attack which is most similar in my situation.
In considering the ramifications of a slow denial of service attack against particular services, rather than flooding networks, a concept emerged that would allow a single machine to take down another machine's web server with minimal bandwidth and side effects on unrelated services and ports. The ideal situation for many denial of service attacks is where all other services remain intact but the webserver itself is completely inaccessible. Slowloris was born from this concept, and is therefore relatively very stealthy compared to most flooding tools.
Slowloris holds connections open by sending partial HTTP requests. It continues to send subsequent headers at regular intervals to keep the sockets from closing. In this way webservers can be quickly tied up. In particular, servers that have threading will tend to be vulnerable, by virtue of the fact that they attempt to limit the amount of threading they'll allow. Slowloris must wait for all the sockets to become available before it's successful at consuming them, so if it's a high traffic website, it may take a while for the site to free up it's sockets. So while you may be unable to see the website from your vantage point, others may still be able to see it until all sockets are freed by them and consumed by Slowloris. This is because other users of the system must finish their requests before the sockets become available for Slowloris to consume. If others re-initiate their connections in that brief time-period they'll still be able to see the site. So it's a bit of a race condition, but one that Slowloris will eventually always win - and sooner than later.
Slowloris also has a few stealth features built into it. Firstly, it can be changed to send different host headers, if your target is a virtual host and logs are stored seperately per virtual host. But most importantly, while the attack is underway, the log file won't be written until the request is completed. So you can keep a server down for minutes at a time without a single log file entry showing up to warn someone who might watching in that instant. Of course once your attack stops or once the session gets shut down there will be several hundred 400 errors in the web server logs. That's unavoidable as Slowloris sits today, although it may be possible to turn them into 200 OK messages instead by completing a valid request, but Slowloris doesn't yet do that.
Please suggest any solutions with product that can help to prevent this problem with some guidance of the feature of that product to specifically prevent this type of attack. I already a many cisco devices like ASA, IPS, Cisco guard etc. just need some guidance
An early response requested and it will be highly appreciated.Hello Haseen
Any tool will have some sort of trend/chracterstic that can be used to filter or throttle it out. Take skype for an example; even with all its complexity vendors managed to find days to detect it on the network and take corrective actions. However its always a catch-up game, developers continually work to make their applications or protocols more stealthy and the vendors have to keep up with this challenge.
So you would need to understand this trend/chracterstic of the attack, and then filter out using an access control mechanism, IMHO the most appropriate would be a web application firewall (WAF), Cisco used to have one but I think it is EOS soon:
http://www.cisco.com/en/US/products/ps9586/index.html
F5 Networks have their ASM module:
http://www.f5.com/products/big-ip/application-security-manager.html
Other vendors also have some good tools.
Please rate if you find the applications helpful.
Regards
Farrukh -
Need help on Point of Sale application communicate to POS Terminal
Hi Everyone,
I have developed POS application in forms 6i. i need to communicate to POS Terminal for verify payment.
If anyone have a solution how to use ocx/dll for POS terminal please help me in this regards.
my email : [email protected]
Thanks All.
SalmanHi Everyone,
I have developed POS application in forms 6i. i need to communicate to POS Terminal for verify payment.
If anyone have a solution how to use ocx/dll for POS terminal please help me in this regards.
my email : [email protected]
Thanks All.
Salman -
Need help with Resource Mapping from Application Deployment to VC:virtualMachine
Hi,
I've built a number of vCO Workflows and hooked them up to Resource Actions in vRA. However, the Workflows I've built all take a VC:VirtualMachine as the input and therefore,they only "hookup" to VMs in the Machines list in the Items tab in vRA. Ideally, I want these actions to hookup to the Application Deployments in vRA since that is what my users are deploying - the VM that the App rides on is somewhat secondary. Plus, it's cumbersome for them to find the VM that corresponds to the App they want to run the action on.
So, I looked into creating a new Resource Mapping, thinking I could map an Application Deployment to a VC:VirtualMachine so that I could create an Action for the Application. I was able to create a mapping from Application Deployment to VC:VM using the Map to VC:VM existing workflow and I could add that to the Actions menu for the Application Deployment but if I try to run it, it fails. I kind of expected this since I think the Map to VC:VM is expecting an input of IaaS VC:VM to map to vCO VC:VM. I think what I need to do is write a Workflow that will take in the Application Deployment "object" and find the VC:VM inside it but I don't know how to find out the structure of an Application Deployment such that I could parse it and get the VM.
Does this make sense? Am I going about this the right way? Thanks for any help,
TomHi,
I've built a number of vCO Workflows and hooked them up to Resource Actions in vRA. However, the Workflows I've built all take a VC:VirtualMachine as the input and therefore,they only "hookup" to VMs in the Machines list in the Items tab in vRA. Ideally, I want these actions to hookup to the Application Deployments in vRA since that is what my users are deploying - the VM that the App rides on is somewhat secondary. Plus, it's cumbersome for them to find the VM that corresponds to the App they want to run the action on.
So, I looked into creating a new Resource Mapping, thinking I could map an Application Deployment to a VC:VirtualMachine so that I could create an Action for the Application. I was able to create a mapping from Application Deployment to VC:VM using the Map to VC:VM existing workflow and I could add that to the Actions menu for the Application Deployment but if I try to run it, it fails. I kind of expected this since I think the Map to VC:VM is expecting an input of IaaS VC:VM to map to vCO VC:VM. I think what I need to do is write a Workflow that will take in the Application Deployment "object" and find the VC:VM inside it but I don't know how to find out the structure of an Application Deployment such that I could parse it and get the VM.
Does this make sense? Am I going about this the right way? Thanks for any help,
Tom -
Need HELP in JAVA ( client /server application )
hi there ,
I need the following codes in java for my client/server application . which i can use to perform certain function on another computer on LAN. This is part of my semester project . I would really appreciate if any one can help me
->Open/close the CD-ROM once or in intervals (specified in seconds).
->Swap mouse buttons the right mouse button gets the left mouse button's functions and vice versa.
->Start optional application.
->Play optional sound-file.
->Point the mouse to optional coordinates.
->Shutdown the system, logoff the user etc.
->Mouse can be controlled on the target computer with remote mouse.
->Keys (letters) on the keyboard can be disabled.
->Increase and decrease the sound-volume.
->Listen for keystrokes and send them back to you!
I would really appreciate if some1 can help me find these codes in java
thanx
Alamzaib Shafi
[email protected]Dude, if you did your own homework once in a while you'd be able to handle your own semester project. I hope you fail your class and get kicked out of the program. One less idiot with a diploma competing with us hackers for the tech jobs.
You are indeed a most worthy recipient of my unemployed angst.
Maybe you are looking for
-
IMac won't offer display mirroring option when connecting to HDTV with Thunderbolt to HDMI cable
I have an iMac, and am trying to connect to my HDTV to use as a second display (mirror). I am using a cable with a Thunderbolt connector at one end, and an HDMI on the other. I know the cable works because I have used it with my MacBook on other TVs.
-
How do I get flash player download to finish??
Windows 7 64bit starts installation, never leaves step 2 of 3. I have tried online and hard drive installation, same results.
-
TS2755 Why are SMS messages being undelivered?
Why are SMS messages being undelivered?
-
Hi Experts...... Here is my requirement............... We have a report which retrieves the data basing on Company Code. i.e., when u give Comp. Code and Date in selection screen... it retrieves the Org. Units assigned to that comp. code and t
-
Crop photo for just ONE layer in CS6
I have 2 layers. One photo was PLACED on each layer. I turn off the other layer so thet the "eye" icon is no longer seem. I crop photo in the active layer but remaining layer photo get cropped too. What am I doing wrong? I did the tutorial for the ne