Weblogic Lock & Edit issue - weblogic12c

I am trying to edit some components in my weblogic, but after clicking on Lock & Edit button it is not at all allowing me to edit the components. It is keep on loading(for hrs) but not allowing to edit.
I tried with creating multiple domains also but i am facing the same issue.
I am not sure whether I have missed any config.
Can you please help as soon as possible?

This issue seems to be similar to the following thread.
Lock and Edit Button is Weblogic 12C admin console is not responding ,
A thread dump would be needed to understand what "hangs".

Related

Publish to Glassfish server stucks at 15% and all the other progresses are blocked

When I try to run a project (Only this project and others work fine), it always stucks at the publishing(copy and paste point). It can work perfectly fine until one time I(not sure) accidentally click incrementally publish and then stop it forcefully. Then this problem persists. I try to clean the server and also try to empty the domain folder but none of them works. It is like very strange bug.
I don't want to try creating a new domain since I have add JAAS configuration and JNDI in this domain. Or can anyone tell me how to import the configuration into a new domain?
If I wait long time for it to finish, random problem occurs:
The problem is other project can be run in debug and this project also can previously. It is all just out of sudden when I forcefully stop some process in eclipse tho I am not sure whether it is because of.
This is so annoying and can anyone give some constructive advice? Thx a lot!
Anyone encountering similar situation and sharing his/her experience here will be appreciated. It does not have to be exactly same and any lead or hint are welcome, please.
Actually, I think it is definitely an eclipse bug.
Creating a new workspace and importing all the related projects and glassfish servers can solve the problems though I don't know the actual reason.

Eclipse: Native proxy setting goes missing, breaking network connectivity

For no discernible reason, the native proxy provider (see pic) of my Eclipse (Photon 4.8) sometimes goes missing. This results in Eclipse no longer having internet access. I have not found a way to add this provider again except restarting Eclipse.
My main two questions are: Can I add this provider again once it goes missing? What could be the reason why it vanishes in the first place?
At the bottom of the Network Connections dialog, you should see a Restore Defaults button. For most cases, that should suffice.
This problem occurs when using some photon versions. I had the same problem, but I downgrade version and everything was fine. There is a reporting bug in Click bugzilla.
If this problem persists, report your case. Nothing can be done to fix the problem at runtime.

Start an application at system start without login

We have a new server running and we got some new programs doing import routines. So far so good... But there is one program that is put into autostart folder. So it doesn't run until admin logs in and it stops if we logout.
I'd like to put this one into a seperate session so it may work without any interaction by simply starting it with the task scheduler at startup. Is this the right way to do this? Is it safe if I log in later and log out?
Many thanks!
Edit: The applications shows as a symbol in the task bar if running, it can be configured by this. Anything I must know about this if I change?
Edit: It is not my application, I cannot rewrite it as a service.
I successfully added the application by using task schelduler on startup. Login and logout will not quit the application but no symbol is shown. Please add details to my side questions and I'll mark your answer as the accepted one.
Edit: Ended up using this one. If I have to configure, I stop the application in task manager and start it again by link. After that I quit the application and restart it by task scheduler manual start.
You need to run your program as a Windows Service. One way of doing it is using the sc.exe program:
> sc create <new_service_name> binPath= "c:\myapp\myapp.exe"
You can read about it here.
You need to separate your application in two.
To allow it to run without a user session, you need a windows service. That should handle all the background stuff. You can then register the service and set it to start when the system starts.
To allow it to have a UI, and show up in the notification area, you need a windows application. This will be in autostart as usual, and will communicate with the service - for example, over named pipes.
While it is still (barely) possible to run an UI application without a user session, it's only maintained for backwards compatibility, and already shows a lot of problems. It will likely be removed altogether in the future, because it breaks quite a few contracts. Do not rely on hacks like this.
I also used the task scheduler to create the application at system startup. It should be noted that if you want to use for mining, you have to disable an option in "settings" where it says that if the application lasts more than three days in a row it will end.
It really works wonderfully!
it is a old question but I recently solved in another way...
(before I was using a scheduled-task for startup but this gave me diverse problems with lots software...)
Some programs also for diverse reasons must be run at a user level... or even inside a specific user session...
So the best way I found was to use a tool like Sysinternal/Autoruns to program the auto-logon to a specific user (it is a registry setting)... and in the startup-folder of that user (or any other "autorun/autolaunch" task)... run a script that first locks the screen... and next runs the other intended programs... that will run under that user profile...
so you can choose a standard user or a administrator... or even launch programs from a standard user in adminsitrator mode...
I hope will help...
This "hack" solved me many problems with startup apps...
I could not get the "sc create" command to work. Instead I manually edited the registry using regedit. I added a new key in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services.
I used the following page to figure out required parameters and their values. Note that the names do not map.
https://learn.microsoft.com/en-us/windows-hardware/drivers/install/inf-addservice-directive
Old question, but for anyone that stumbles here. Use srvany to set the program as a custom service.
Note that when you do this with for example dropbox, googledrive, etc., you will need stop the service, then open the program normally to make changes like password, updates, etc.
below is a well enough intro.
https://www.iceflatline.com/2015/12/run-a-windows-application-as-a-service-with-srvany/
Download the tool kit here
https://www.microsoft.com/en-us/download/details.aspx?id=17657
Convert user application to Service and Register it using Regsvr32 or installutil.exe. It will start the service using SYSTEM user account. Which is a high privilege account.
Note : You can`t run any Window based application. Even a Message only window.

Process files crash unexpectedly

I am working on a project in Drools6. I have defined a few custom tasks using workitemhandler. When I create a new process file(*.bpmn file) and model it by adding my custom tasks and other inbuilt blocks, everything works fine in the beginning. But, if the complexity of the .bpmn flow diagram increase i.e, I add about 4-5 custom tasks, create sub-processes, add a few gateways etc, the program crashes and I will not be able to open my flow diagram again. It says there is a parse error.
I have tried reinstalling eclipse, but it still gives me the same error. I have not used exception handling in the java class of my custom tasks. Could this be why my program is crashing.
please guys, if anyone has come across a similar issue, let me know how you resolved it.
Thank you
it seems that for some reason your business process is corrupted and it cannot be opened by the editor. Do you have a previous version of your process? Try opening another process.
You can also try the web designer, which is usually more powerful than the eclipse one.
Regards

Fiddler not displaying sessions

I've got the latest version of fiddler installed on 2 machines (v2.3.0), and on one machine it displays web sessions, and in the other it doesn't.
This is using IE and Firefox on Win7.
I have tried deleting my customrules.js and letting fiddler create a new one.
I know that the broken machine is indeed proxying traffic through fiddler, as I see the fiddler SSL cert when I go to HTTPS sites.
I have set the option at the bottom-left of the window to All Processes, Web Browser and Non-Browser to no avail. I just can't seem to get the sessions to display.
Any hints to where I should look to find out what's going wrong?
Thanks,
Kirk
In rough order of likelihood..
Ensure File->Capture Traffic is checked (obviously).
Ensure it says "All Processes" in the bottom left.
Flick to the "Filters" tab and uncheck Use Filters (I always forget this..)
Same goes for the "AutoResponder" tab.
Click the "Process Filter" button on the toolbar once to make sure it's off.
Go to Help->About Fiddler and compare the port number with IE->Options->Connections->Lan settings->Proxy server->Advanced
If that fails, uncheck the following:
Rules->Hide Image Requests
Rules->Hide HTTPS Connects
Rules->Hide 304s
To eliminate anything in the rules script, go to Rules->Customize Rules and add the following line to the end of OnBeforeResponse():
oSession.oFlags.Remove("ui-hide");
(If that fixes it, something in your rules is setting oSession["ui-hide"])
After these steps its time to think 'applicatin specific'. For example .net won't proxy for "localhost". This page has application specific tips, such as PHP, .net, Java, Win 7 phone,etc..
If all that fails, go to the Fiddler group and post a question, you'll normally get a pretty quick response from Eric Lawrence himself.
simple..
http://www.fiddler2.com/fiddler/help/faq.asp
Set the Status bar filter to "All Processes", check that the Process Filter in the toolbar isn't set, and examine the Filters tab to make sure that no rules are enabled. If you've written or set any Rules (see the menu) check those too.
I ran into this problem as well and as mentioned before it can happen because of the proxy server.
For me the problem was I was using a VPN Proxy Extension, such as Hola or Unblock Youku. So I simply turned them off.
Simply try out this
Help -> Troubleshoot Filters
And also click the 'Filters' tab and either uncheck Use Filters or modify the filter appropriately.
If the other answers don't work, right click on fiddler and select "Run as Administrator".
I just had the same issue and resolved it by ending all Fiddler processes in Task Manager by checking the Show processes from all users. Another user on the machine I use(loaner) still had a Fiddler session going. Ending that session and beginning a new one seems to have fixed the problem for me.
this worked for me but uncheck Troubleshoot not showing any sessions to me
i have no filter no rule
any process checked
all sessions checked