Issue in starting domain in Glassfish server - java-ee-7

I am trying to start a domain for GlassFish. Changed security properties for felix folder. But it is giving error as
Launching GlassFish on Felix platform
Registered com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime#498dfd69
in service registry.
I am using Windows 7.
Please let me know where I am making mistake.

its working fine now. problem was I gave all permission to felix folder as an administrator but not as a local user.
thanks

Related

Localhost refused to connect - Bitnami does not display any server

I have created a Wordpress website locally using the Bitnami installer. Everything was going well and I have managed to finish designing the website until something happened.
I'm not sure if it is in any way related to the issue but my computer automatically installed a Windows update, since then I cannot access the website that I created locally. It says that,
This site can’t be reached
localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
Again, I'm not sure if this has anything to do with the update, because I have already uninstalled the updated and it's still the same. What's also weird is that my Bitnami managers servers aren't running any servers, and actually there are no servers under it at all.
I am confused and lost as to how this happened and what's the solution for this. I would appreciate any help or pointed anyone can give me. Please see attached Photos.
This is the initial message when I try to access the website
Clicking on the go to application and open my phpadmin doesn't do or open anything
There are no servers
There are no events
Bitnami Engineer here,
If the Bitnami manager doesn't show the services is because they are not installed in the server or they got renamed during the upgrade process. Let's try to reinstall the services again.
First of all, you will need open your installation directory and double-click on the use_wordpress.bat file. That will open the command prompt in Windows
Run the remove command
serviceinstall.bat REMOVE
If the console is closed, open it again and run the install command
serviceinstall.bat INSTALL
Check if the services are now up and running in the Bitnami Manager tool

Weblogic 10.3.5 Admin console Deployment page - Missing status of applications

I have an instance of Weblogic 10.3.5 running with a bunch of apps.
For some reason, the deployments page in the Admin console stopped showing the health (status) of the deployed apps (usually a green check icon). Just looks weird. Any ideas on how I can bring that back?
The apps are not running, possibly because their target machine isn't currently up. Find out what managed server they are targeted to and make sure it's running. If you want them to run on the Admin Server, you can change their targets via configuration.
some times it may happen...
First you have to make sure all the applications are running properly or not....
If any issues in deploying application or deployed application then it may show in this manner....
Exact solution to your problem is Restarting admin node
But it is better to do following steps...
Stop both admin and Managed nodes.
Start the Admin node then managed node.
Check the console...

WindowsIdentity.GetCurrent().Name returns machine name rather than windows user name

I am calling a web service application (.asmx) running in a virtual directory on an IIS 7.5 (for development purposes I only have IIS 5.1 but am hoping for some help anyway). Calling my ws when running from within VS2010 System.Security.Principal.WindowsIdentity.GetCurrent().Name returns domain\windows user but when I call it through the virtual directory I get machine name\ASPNET.
For some reason is not allowed in the web.config on the final environment. The virtual directory has Integrated Windows authentication only.
Can anyone shed some light on how to get the current users windows username under the circumstances described?
Thanks in advance...
./CJ
Was allowed to use impersonation after all... now it all works

Integrating LDAP with Glassfish and FTP

I'm currently faced with the task of integrating a glassfish environment and an FTP-Server with LDAP. This is work for an university, we need to be able to have a number of students(which all have Login-Data via LDAP, though access is only permitted via SSL) run their own applications on a glassfish server, upload them and then restrict their access at a given date.
I set up a Suse Enterprise 10 SP3-Server, configured it, installed a Java6-repository and Glassfish 3.0.1. Does anybody know whether there is a way to connecting Glassfish with LDAP and letting specified users upload specific programms? If upload is not possible I thought about simply setting up a FTP-Server and connecting that via LDAP, can anybody point me to a link on how to do that?
I obviously googled but getting information for Suse Enterprise 10 is actually very hard, wasted about an hour because I wanted Java 6-repos instead of compiling it via source.
thanks for any help in advance
Glassfish rpms can be downloaded from opensuse build service http://software.opensuse.org/search
For Glassfish integration with ldap, this might be of help

Fresh XP +click once +cannot connect

Greetings,
we have to following problem.
Our application is deployed using ClickOnce. Everything is running fine and application is able to connect to the wcf service. The problem occurs when application is installed on FRESH XP machine without .net Framework and Windows Installater (that were selected in ClickOnce prerequities).
Application downloads .NET Framework 3.5SP1 and windows installer but then it cannot connect the the server. Reboot after install does not help.
The strange is that this application has been installed on 10 xp machines and 4 of them can connect to the service without a problem
Are there any dlls referenced in your application? You might want to check them (Under project's Properties\Publish tab\Application Files button) see if you missed to include the needed dlls or files.
alt text http://www.freeimagehosting.net/uploads/e8ff221e20.jpg
We ran into this and were forced to reinstall .net on some machines no idea why though.
This is a shot in the dark but have you tried depends.exe and see if it can profile what is happening.
Also Take a look at this blog and get a crash dump and see if you can use it to at least tell you what is complaining the loudest.
What do you mean when you say 'cannot connect to the server'?
a. The machine cannot connect to the install location and therefore the clickone app is not installed?
b. The app installs (along with the pre-requisites) and starts fine. Then it is unable to connect/communicate with your WCF services.
I presume (b) I just wanted to clarify.
What happens when you ping the machine the services are on from one of the failed install machines? Also what happens when you put the service url into a browser on one of the failed install machines? Can you see the wsdl?
Obviously your deployment package works because it works on those other machines (I assume it IS the same package all machines are installing?), therefore I doubt you are missing any dll's as a ClickOnce app should include all dll's it needs (sometimes you do need to tell ClickOnce explicitly to include).
Last question is, when the app tries to call the service, exactly what exception is it getting back?
I just remembered something which has caught me out in the past with some machines being unable to connect but others can...especially 'new' machines.
Check this file:- C:\WINDOWS\system32\drivers\etc\hosts
Check the contents on a machine that works and one that doesn't. We have some IP to machine name mapping going on that on new machines is not set and so the new machines cannot find the servers.