I'm trying to create a web service using eclipse. for that i have install tomcat server 7.and also i have set the "windows--->preference--->server(run time environment) & web service(Axis2 preference )" correctly.
when I try to create a dynamic web project it gives errors as follows.
Failed while installing Axis2 web services Core 1.1.
Reason:
Failed while installing Axis2 web services Core 1.1.
I can't manage this problem please help.
Lahiru,
When installing Apache Tomcat there are a few recommendations. First you want a fresh install with the latest download from http://tomcat.apache.org/download-70.cgi. I suggest Tomcat 7 as is latest version is backwards compatible.
From there you'll be able to use the .zip file after right-clicking on your Project and "Adding" it to you 'Java Build Path'. From there you will want to access your Server tab go to New->Server then select to 'Download additional adapter Servers' (or something close to that) and install a server adapter for Apache Tomcat. I use Geronimo which works pretty well along with their core version too.
If you're still having problems after reinstalling with a fresh copy try Stopping the Server and "re-publishing" or just "publishing" your instance of Tomcat. Sometimes that does the trick.
Hope this helps.
Related
So I know this has been questioned quite a lot. To be exact for example in these questions:
Run NodeJs server in Android
How to run my node.js project on android?
and
NodeJS on IOS/Android
Every option presented has a problem though:
I want to run it on my normal device so I would like to avoid installing another OS on my Device
Work on JXCore was stopped last month and (maybe as a result) I couldn't get it to compile (see Can't install jxcore-cordova)
The Android Port of NodeJs Anode has not been worked on since 2014 and wasn't really maintained back then anyways
The second answer in the second thread I linked to mentioned there is an official node distribution for Android now but apart from a link to the Browse-Website of the latest dist I couldn't find any info on how to actually use it
I also saw this but it seems like the device has to be connected to a PC (or similar) to run the adb shell commands while I would like to make it as a separate App
With the time that past since these questions have been posted and as the "best option" JXCore seem to be now unusable:
Is there a way to run a node.js application (a server in my case) on an Android device?
if you're wondering why I'd want this: I made a WebApp with a Node.Js server and I now want a version you can launch locally from your phone without requiring an Internet connection. This means the server needs to run on an Android phone.
I just had a jaw-drop moment - Termux allows you to install NodeJS on an Android device!
It seems to work for a basic Websocket Speed Test I had on hand. The http served by it can be accessed both locally and on the network.
There is a medium post that explains the installation process
Basically:
1. Install termux
2. apt install nodejs
3. node it up!
One restriction I've run into - it seems the shared folders don't have the necessary permissions to install modules. It might just be a file permission thing. The private app storage works just fine.
Dory - node.js
Great New Application
No Need to root your Phone and You Can Run your js File From anywere.
node.js runtime(run ES2015/ES6, ES2016 javascript and node.js APIs in android)
API Documents and instant code run from doc
syntax highlighting code editor
npm supports
linux terminal(toybox 0.7.4). node.js REPL and npm command in shell
(add '--no-bin-links' option if you execute npm in /sdcard)
StartOnBoot / LiveReload
native node.js binary and npm are included. no need to be online.
Update instruction to node js 8 (async await)
Download node.js v8.3.0 arm zip file and unzip.
copy 'node' to android's sdcard(/sdcard or /sdcard/path/to/...)
open the shell(check it out in the app's menu)
cd /data/user/0/io.tmpage.dorynode/files/bin (or, just type cd && cd .. && cd files/bin )
rm node
cp /sdcard/node .
(chmod a+x node
(https://play.google.com/store/apps/details?id=io.tempage.dorynode&hl=en)
You can use Node.js for Mobile Apps.
It works on Android devices and simulators, with pre-built binaries for armeabi-v7a, x86, arm64-v8a, x86_64. It also works on iOS, though that's outside the scope of this question.
Like JXcore, it is used to host a Node.js engine in the same process as the app, in a dedicated thread. Unlike JXcore, it is basically pure Node.js, built as a library, with a few portability fixes to run on Android. This means that it's much easier to keep the project up to date with mainline Node.js.
Plugins for Cordova and React Native are also available. The plugins provide a communication layer between the JavaScript side of those frameworks and the Node.js side. They also simplify development by taking care of a few things automatically, like packaging modules and cross-compiling native modules at build time.
Full disclosure: I work for the company that develops Node.js for Mobile Apps.
J2V8 is best solution of your problem. It's run Nodejs application on jvm(java and android).
J2V8 is Java Bindings for V8, But Node.js integration is available in J2V8 (version 4.4.0)
Github : https://github.com/eclipsesource/J2V8
Example : http://eclipsesource.com/blogs/2016/07/20/running-node-js-on-the-jvm/
the tutorial of how to build NodeJS for Android https://github.com/dna2github/dna2oslab/tree/master/android/build
there are several versions v0.12, v4, v6, v7
It is easy to run compiled binary on Android; for example run compiled Nginx: https://github.com/dna2github/dna2mtgol/tree/master/fileShare
You just need to modify code to replace Nginx to NodeJS; it is better if using Android Service to run node js server on the backend.
Node.js Frontend for Android
releases include signed apks
Android 4.4+
open source (GPLv2)
no root
frontend for Node.js for Mobile Apps by Janea Systems
which was announced earlier in this thread by one of its developers
which is a game-changer; great work!
at a high level:
the "exec in same process" tab:
includes a list of Node.js apps that are intended to run for a short period of time while the application remains open, and may only be executed one at a time
the "fork to separate process" tab:
includes a list of Node.js apps that are each executed in a separate foreground service in a distinct process, and are intended to hold long-running daemons (ex: various types of servers)
I want to make android applications by giving users a form and submit on my linux hosted web server.And after taking the details from user i want to create an android app for the user on the linux web server itself.But i dont know how to do the setup for making android application in linux hosted web server.
I have complete setup available in eclipse in my local machine.But is there any way i can make the apps runtime in my linux web server.
I have installed ant and java jdk in linux server but i dont know how android sdk needs to be installed on the server.
Please guide me on this.
Yoy have problemas in concepts, Android application is android application, your app always will be in Android device. If you cant to comunicate with linux, you can use a WebService, Rest API of anothe stuffs like this.
When you want to create an android application you need a Android SDK, IDE and Java.
Java i think you know how to install, install Java JDK.
IDE- Download Android Studio from official website.
Android SDK- Downloand when you have Android Studio.
I have been tasked with developing an Android and iOS application with PhoneGap (http://phonegap.com/)
However, as I read, things start to get really complicated: Some people say Cordova (http://cordova.apache.org/) is now PhoneGap, others say PhoneGap is just a distribution of PhoneGap.I lost 3 days and still can't find a proper way or a guide to install a fully functional PhoneGap plugin either in Eclipse or Netbeans running Ubuntu 12.04 64-bit.
What I tried:
1. Installing Eclipse, installing MDS AppLaud Phonegap Plugin (http://marketplace.eclipse.org/content/applaud-phonegap-android-jslintjshint#.Utf1JPiSTh8). This one actually installed at once, and it actually lets me create a new PhoneGap project in Eclipse, however, the I cannot select any SDK different than 4.4. (?!)
2. Installed NetBeans and after I tried to install phonegap and cordove through nodeJS it failed, again.
My question is:
Which one I should install and how to do it in Ubuntu, using either Eclipse of NetBeans?!
Edit:
OK guys, I just found out how to install nodeJS and PhoneGap on Ubuntu 12.04: http://paste2.org/1OnX6M6F . Still trying to integrate it in some IDE for the real thing, though!
If you want to basically start developing an app, I suggest this for PhoneGap:
These are the steps I used to install PhoneGap on Ubuntu. Take note, this is for PhoneGap version 2.8.1. Personally I was not able to get nodeJS to install the latest. If you need the latest to be installed, check around on google. Referencing This tutorial.
Step 1
Install Java 7 JDK
Step 2
Install ANT
Step 3
Download & Extract PG v2.8.1
Step 4
Download Android SDK
Step 5
Set up environment variables
Step 6
Create base project
./create location/to/put/project package_name project_name
Step 7
Import Project into Eclipse
File->New->Android->Android Project From Existing Code
Browse to where you placed the project and select it
Now you can start developing.
Reminder: This is the way to do it for v2.8.1 of PhoneGap. Different versions(especially 3.*) will be different (nodeJS)
Look at http://docs.phonegap.com. Read the "Overview chapter, then "Platform Guides" and "The Command-Line Interface". Follow the steps and in the end you should be able to build your app. It takes a while but it's worth it.
I havn't integrated cordova/phonegap in my IDE. I just created the app with the command line interface. In netbeans I created a HTML5 project and linked the app-root/www directory into this project. I'm programming with Netbeans and building and running the app with the command line interface. That's all.
In order to have some code completion, I have written an extra class (facade) which encapsulates the phonegap code. It just delegates its calls to the phonegap API. That is especially nice if the phonegap API changes as it only affects my code in that particular facade class.
The last thing I want to share: I found out that the build and run process with the command line interface is pretty slow. Executing cordova prepare android and then running the android project in Eclipse/ADT is a lot faster.
OK, to put it simple:
PhoneGap - The original project developed by volunteers
Cordova - The Apache's version of Phonegap, which has exactly the same documentation and functionality as the original PhoneGap but is integrated in NetBeans 7.4.
I need rtmp service url to store my camera video lively from my android devices.
according to this site
I have referred these following sites to implement live streaming at server side.
Helix server
Wowza server
Adboe Server
These servers are providing limited time span for free trials.but i need free one.
At last i found C++ RTMP Server
After working on this server i got to conclusion that the server code was written in C++. So i have added the C++ plugins to the eclipse to run. But i got the following errors
"Launch Failed. Binary Not Found"
To resolve this error i have installed " MinGW installer", but of no use.
Please refer this site
In this site, we have client code for android to implement live streaming from android device to server. Here the live video will be saved directly on to the server.
Can we generate the service url like "rtmp://live:live#128.122.151.108:1935/live/test.flv" using the above C++ server ?
Please guide me in implementing this.
Any help will be appreciated.
i install the Ubuntu server 12.04 in my system.
and i used these commands:
12.04 amd64/i386
install needed stuff
sudo apt-get install g++ subversion cmake make libssl-dev
fetch the latest repo version
cd /tmp
svn co --username anonymous --password "" https://svn.rtmpd.com/crtmpserver/trunk crtmpserver
cd crtmpserver/builders/cmake/
build it
./run
and now the crtmpserver is working successfully... for other questions refer this crtmpserver
I am trying to follow the below article to integrate SAP module with Android mobile:
https://blogs.sap.com/2012/07/18/developing-an-android-app-consuming-data-from-sap-is-just-a-few-clicks-away/
I have followed each and every step as suggested. Now I am able to create a project using "Proxy Generation".
But not able to create a new project with "Starter Application Project" wizard. Getting error as shown in below image
I am trying to create TestFlight sample application with provided sample credentials.
This error seems to be from Eclipse or System generation error.
On other system it is working fine.
My system setup :
Windows 7
JDK path set to 1.7
ADT 22
Can anybody please help me for this issue.?
Since you say that proxy generation does work, there seems to be a problem in generation of the application classes. We'll need a bit more info, such as the OData service used and complete stacktrace (not so visible from the screenshot...). However, I strongly recommend you to use the new version of the toolkit for Andrdoid in Gateway Productivity Accelerator (more info in this blog: http://scn.sap.com/community/netweaver-gateway/blog/2013/05/10/new-gateway-tool--sap-netweaver-gateway-productivity-accelerator). This issue should be resolved there.
Best Regards,
Gal