configure scheduler with weblogic server to save some reports in excel format using java - weblogic

I want to configure scheduler with weblogic server to save some reports in excel format using java.
Can anybody help with the code and steps to achieve this as i new to weblogic

Java scheduler is not really WLS specific. There are frameworks such as Quartz that are application server agnostic. You can check out the quartz code sample here or google yourself. You can also use the Timer Service feature in the EJB3 if you prefer.

Related

MobileFirst SQL Adapters requestTimeoutInSeconds

I have WL6.0 project that contains SQL adapter. The adapter has procedure with requestTimeoutInSeconds="240" and I am trying to migrate that project to WL7.1.
As per Adapter timeout and concurrency article on IBM Knowledge Center, I have to use JNDI config instead.
The requestTimeoutInSeconds attribute of and
elements is ignored. Use JNDI configuration instead.
Can any one provide an example how to implement that?
I am working on MobileFirst Studio 7.1 and I imported the project with no errors.
Note that you are developing in MobileFirst Studio, which utilizes the Liberty application server as its underlying server.
Locally such changes are not required, since you're working locally...
This will become important once you start on moving to testing and production environments.
This means that you will need to update the server.xml of your WebSpher full profile/Liberty profile - not the server.xml of the server in MobileFist Studio.
You you can find documentation for this in the Liberty docs, here: http://www.ibm.com/support/knowledgecenter/was_beta_liberty/com.ibm.websphere.wlp.nd.multiplatform.doc/ae/twlp_dep_configuring_ds.html
Note that the setup you need to do differs based on your database type: MySQL, Oracle, DB2, ... You can find examples for each database type in the link above.

Can we use server configuration tool for MFP Foundation on IBM Container(Bluemix)?

Server Configuration Tool needs Database Settings(host,port,username,password,dbname) and AppServer Settings(installation directory,username,password) information. The tool also need to access database directly.
The MFPF docs doesn't provide such kind of information. Is there anyway to user server configuration tool for MFPF on ibm container?
It is not possible to use the Server configuration tool for IBM Containers deployment. The only current way is to use the scripts as provided and instructed, here: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/bluemix/run-foundation-on-bluemix/

IBM Mobilefirst server configuration tool without GUI

I'm trying to install IBM Mobilefirst 7.0 server on production Ubuntu server in Amazon. The server has no GUI. I installed Websphere Application Server and IBM Mobilefirst server using silent installation of IBM Installation Manager and response file created on server with GUI. But now I'm stuck at a point where I have to configure MobileFirst server using server configuration tool. But I'm not able to find out how to do this without GUI since server configuration tool is GUI based. Any pointers or help would be highly appreciated!
You can use ant tasks to proceed with the configuration without the GUI.
Detailed steps for this can be found in the link below.
http://www-01.ibm.com/support/knowledgecenter/SSHS8R_7.0.0/com.ibm.worklight.deploy.doc/devref/t_transporting_apps_and_adapters.html
What I was asking for is way to implement MobileFirst Server administration without using GUI as given in step number 6 in this link: http://www-01.ibm.com/support/knowledgecenter/#!/SSHSCD_6.3.0/com.ibm.worklight.installconfig.doc/install_config/t_ov_server_install.html. Since the server I was working on does not have a GUI, I was stuck at step 6. But I found the way out now and for someone who is looking for this, the way to do is using ant scripts. Steps are listed at this link : http://www-01.ibm.com/support/knowledgecenter/#!/SSHS8R_7.0.0/com.ibm.worklight.installconfig.doc/devref/t_ant_tasks_configure_dbs_wlconsole.html

How do I connect JProfiler on a JBoss 7.x server in Domain mode?

I want to profile a server (JVM) that is part of a JBoss 7.1.3 domain. The Server Integration wizard of JProfiler only modifies standalone.sh, which is of no use in domain mode. Does anyone know how to accomplish this?
For application servers that don't have an integration wizard, use the [Generic] integration wizard. It will give you a VM parameter that has to be added to the java invocation of the application server.

Access SQL database from Android?

I understand that to access a SQL database from Android I need to create a web service that will run on the SQL server and will process requests from the Android application, what I need to know is how to create this web service and how to access it from Android.
If anyone can point me in the right direction then this would be greatly appriciated.
On the client side, use Apache Commons HttpClient to communicate with the web service. It's bundled with the SDK.
Don't forget that you can also use a local DB.
How you create the web service server-side depends on your environment and has nothing to do with Android itself.