Websphere 6.1 console empty - console

After deploying an application, we've lost access to the Integrated Solution Console of Websphere 6.1
Somehow the menu is completely empty. Only the "welcome" link is showing. We have not security enabled
We restarted the server with no luck
Any idea how this can happen and how to solve it?

Make sure isclite.ear (adminconsole ) started successfully with no errors in server systemout.log file . If there are no errors in systemOut.log file , run following command and see if that helps:
/WAS_HOME/profiles/profile_name/bin>iscdeploy.sh/bat -restore
Hope this helps .
Thank you
VTho

We solved it. The problem was that somehow we launched the server with root user and it changed some configuration files. One we launched it again with the right user the problem appeared. We did a recursive chmod to set the correct file permissions and it worked fine again.

Related

Task `IISWebAppManagementOnMachineGroup` encounter issue "The Parameter is incorrect .. exited with code '87'"

hoping that someone can help me with my issue. I've been trying to solve this issue for a week now and still doesn't have a solution.
Here is my issue - I'm encountering the below issue when my pipeline is publishing my application in IIS (Local IIS)
Before, it's working fine and I don't know why this happen now after re-running a new pipeline. I tried to re-install my IIS and removed all MachineKeys. But still got the same error. Also, after re-installing everything, I changed the Owner of all MachineKeys installed on my machine to my account (which is an administrator).
Also, I tried to removed this in the applicationHost.config of the inetsrv as other solution I found on the internet suggestion but still got the same issue.
But then, after searching for other solution - I found out that the command that's running on my pipeline for publishing into IIS somehow causes this issue. The password parameter.
I tried the command below, on running cmd as Administrator and removing the password parameter and it works.
appcmd.exe set site /site.name:"RTP_LoginService" -applicationDefaults.applicationPool:"RTP_LoginServiceAppPool" -[path='/'].[path='/'].physicalPath:"%SystemDrive%\inetpub\wwwroot\RTP_LoginService" -[path='/'].[path='/'].userName: -[path='/'].[path='/'].password:
But still thinking why this become an issue right now as before it's working even though there's a password parameter and I don't have any changes on the Task for publishing in my local IIS as this is a default command by the Task.
Thanks you in advance to anyone who can help me and give light to my issue I'm experiencing.
Giving Credentials of Physical Path for Virtual Machine Directory can also be the trouble for this password excluding issue. Tried to reproduce the issue and got some solution for this as mentioned below.
This problem will also rise because of the corrupted IIS Configuration Key. We need to avoid the key to be corrupted by encrypting the key in applicationhost.config file.
Create another test machine and generate configuration key.
Use that key for checking.
Exporting the key
From the working IIS server we need to export the key.
aspnet_regiis -px "iisConfigurationKey" "Your path for file.xml" -pri
Import config file from created test server
aspnet_regiis -pi "iisConfigurationKey" "Your path for file.xml"
Implement AES encryption algorithm: Replace the AES Provider which is a default encryption method element from applicationHost.config and configProtectedData and restart the server.
I got this working now. So, I fixed this issue by re-installing IIS URL Rewrite as somehow it got uninstalled on my machine. After that, it now working as expected.

Startup Project keeps reverting to IIS Express for debugging

In my solution I basically have two projects, the one I'm coding on, and the startup project, Startup.csproj. I have Startup.csproj configured to use Local IIS for debugging, and I normally just attach to the worker process to debug.
However, at random intervals, the Startup.csproj defaults back to IIS Express for debugging. It does not show as a change in the Startup.csproj project file, and sometimes even still shows Local IIS but fails with a "Cannot list contents of directory" error.
I'm running VS 2017 v15.9.15. What could be causing this annoying little phenomenon?
I thought I am going crazy. I found the settings driving that behavior in the project file. I set the UseIISExpress to 'false' and the other one all the way at the end of the file project UseIIS to 'true' and when reloading still set to use IISExpress.
Turns out there's a <ProjectFile>.csproj.user that will overwrite default settings. Search for the UseIISExpress in this file and set it to false and Voila! problem solved.
Restart your IIS and try as above
and go to the root directory and delete .vs directory if exists.
or
In the Processes window (Debug -> Windows -> Processes), right-click on the name of the process you want to detach, and on the shortcut menu, click Detach Process.:
Another scenario may be that the port that IIS is using for your application is already being used by another running application. Try changing the port and see if it works for you.

Symfony: Prod environment on webserver produces blank page

my Symfony 3 app works flawless on my local webserver. Since it´s been installed on the remote web server it produces a blank page, even the routing doesn't work. After editing web/app.php $kernel = new AppKernel('prod', false); and set it to true, the application works as expected and does not display any errors.
Why does the application behave different on the local and the remote webserver. Did I miss to configure something on the remote server?
Any suggestions?
Thanks in advance!
Finally I have a solution to solve the problem: after the composer update I have to clear the cache of the prod environment manually by executing rm -fr var/cache/prod/*. For whatever reason does the command php bin/console cache:clear --env=prod quit working immediately after the composer update without throwing any error messages. After removing the cache files manually both the application and the cache:clear command work as expected without modifying web/app.php.
1.check permission to cache and log dirs ( need to be 777 )
2.check (paste here) error in logs/prod.log
Since I couldn´t find out what´s the real cause of this problem I´ve made a fresh install of my application and updated Symfony and all dependencies with composer.
Although I did the same with the old installation, it does the trick this time. My guess is, something went wrong with the composer update before.
Thanks again for your help! If someone has a similar problem I would appreciate if you could post how you solved the problem (or why AppKernel['prod'] = 'true' did work).
I have plausible explanation, what might have been the problem.
I have encountered this problem earlier this year with Symfony3, while developing on Windows but deploying manually (copying project's files) to shared server with Linux.
As you say - blank page in prod environment.
To add to the mystery log files did not show any problems
So i enabled dev environment to check what is wrong
application worked as intended if i added app_dev.php in the URL
I overviewed all the files, more than once, but copy was done correctly.
The answer
After some time I "came across" the file: bootstrap.php.cache in var directory. It "felt suspicious".
As I had exhausted my options i just deleted it to test the result.
That solved it in my case.
Site was running again.
No more blank page!
I guess mixed development environment has its toll.

JBPM console 404- not found error

I am using Jbpm 6.1.0.Final and Wildfly 8.1.0.Final. After doing everything successfully, Jbpm console gives this error-> "404-not found". Please guide me here.
I dont know the exact answer but , I tried finding server.log in my installation folder , clean this file and save.
wildfly-8.1.0.Final/standalone/log/server.log (For my case)
Now its running
Cheers :)
A probable cause for getting 404 is that you tried to open the console page before the server is up and running, Usually when you start the server, it will take less than 5 minutes to be up and running. Solution in this case: Try to open the console page only after the server is up.
Wait a minute or two, it takes a while to load

Glassfish 3.1 says "admingui login.jsp" not found

I start glassfish with ~/.glassfish/bin/asadmin start-domain domain1
Everything works perfect. I enter to http://localhost:8080 to its web server.
But when I enter http://localhost:4848 to web admin console
Server.log says:
...
[#|2011-07-06T20:25:32.411+0300|INFO|oracle-glassfish3.1|javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|_ThreadID=83;_ThreadName=Thread-42;|The Admin Console application is loaded.|#]
[#|2011-07-06T20:25:33.388+0300|SEVERE|oracle-glassfish3.1|org.apache.jasper.servlet.JspServlet|_ThreadID=22;ThreadName=admin-thread-pool-4848(3);|PWC6117: File "%2Fhome%2Fata%2F.glassfish3%2Fglassfish%2Flib%2Finstall%2Fapplications%2F_admingui%2Flogin.jsp" not found|#]
I confirm that there's no login.jsp file at that dir.
I updated the glassfish using the updatetool.
The glassfish instance I installed was by glassfish-3.1-unix.sh intaller from here
Anyone have any ideas?
Thanks
could you try & reinstall (re-run) the installation file (glassfish-3.1-unix.sh).. i have the same setup & things are working fine.
I had the same problem on windows seven, jdk 1.6. I have upgrade my jdk to 1.7. Now everything is fine. Hope that, it can work for you also
#donquixote
As some another helpful tip...
I have glassfish 3.1.2.2 which runs on jdk 1.6 (Linux x64 platf); I start it with eclipse not to deal with asenv.bat; So a workaround for me was (not to reinstall glassfish cause I was interested in standalone app only)... but to use url like a: http://localhost:4848/common/index.jsf which you should input manually to enter admin login page to avoid auto redirection to login.jsp;
p.s. maybe will be helpful for someone as well :)
Good luck

Resources